signature MLTON_WORD =
sig
type t
val bswap: t -> t
val rol: t * word -> t
val ror: t * word -> t
end
-
type t
the type of words. For
MLton.LargeWord
this isLargeWord.word
, forMLton.Word
this isWord.word
, forMLton.Word8
this isWord8.word
, forMLton.Word16
this isWord16.word
, forMLton.Word32
this isWord32.word
, forMLton.Word64
this isWord64.word
. -
bswap w
byte swap.
-
rol (w, w')
rotates left (circular).
-
ror (w, w')
rotates right (circular).