1 (* Copyright (C) 2009 Matthew Fluet.
2 * Copyright (C) 2004-2007 Henry Cejtin, Matthew Fluet, Suresh
3 * Jagannathan, and Stephen Weeks.
5 * MLton is released under a BSD-style license.
6 * See the file MLton-LICENSE for details.
9 signature WORD_SIZE_STRUCTS =
15 include WORD_SIZE_STRUCTS
21 val bigIntInfWord: unit -> t
23 val bytes: t -> Bytes.t
25 val cardinality: t -> IntInf.t
27 val compare: t * t -> Relation.t
29 val cpointer: unit -> t
30 val cptrdiff: unit -> t
32 val equals: t * t -> bool
33 val fromBits: Bits.t -> t
34 val isInRange: t * IntInf.t * {signed: bool} -> bool
35 val max: t * {signed: bool} -> IntInf.t
36 val min: t * {signed: bool} -> IntInf.t
37 val memoize: (t -> 'a) -> t -> 'a
39 val objptrHeader: unit -> t
40 datatype prim = W8 | W16 | W32 | W64
43 val roundUpToPrim: t -> t
44 val seqIndex: unit -> t
46 val smallIntInfWord: unit -> t
47 val toString: t -> string