| Standard ML Basis Library |
Int31Imp, IntImp, Int, SysInt, TimeImp.Int, InternalTimer.Int, Int31,
IEEEReal.Int, PositionImp, Position, BinIOFn.Pos, Int32Imp, Int32, FixedIntImp,
FixedInt, TimeImp.Int32, InternalTimer.Int32
signature INTEGER =
sig
eqtype int
val precision : Int.int option
val minInt : int option
val maxInt : int option
val toLarge : int -> LargeInt.int
val fromLarge : LargeInt.int -> int
val toInt : int -> Int.int
val fromInt : Int.int -> int
val ~ : int -> int
val * : int * int -> int
val div : int * int -> int
val mod : int * int -> int
val quot : int * int -> int
val rem : int * int -> int
val + : int * int -> int
val - : int * int -> int
val abs : int -> int
val min : int * int -> int
val max : int * int -> int
val sign : int -> Int.int
val sameSign : int * int -> bool
val > : int * int -> bool
val >= : int * int -> bool
val < : int * int -> bool
val <= : int * int -> bool
val compare : int * int -> order
val toString : int -> string
val fromString : string -> int option
val scan
: StringCvt.radix ->
(char, 'a) StringCvt.reader -> (int, 'a) StringCvt.reader
val fmt : StringCvt.radix -> int -> string
end
Type detail |
---|
eqtype int
Value detail |
---|
val precision : Int.int option
val toLarge : int -> LargeInt.int
val fromLarge : LargeInt.int -> int
val sameSign : int * int -> bool
val compare : int * int -> order
val fromString : string -> int option
val scan
: StringCvt.radix ->
(char, 'a) StringCvt.reader -> (int, 'a) StringCvt.reader
val fmt : StringCvt.radix -> int -> string
| Standard ML Basis Library |
This document may be distributed freely over the internet as long as the copyright notice and license terms below are prominently displayed within every machine-readable copy.
Copyright © 2003 AT&T and Lucent Technologies. All rights reserved.
Permission is granted for internet users to make one paper copy for their
own personal use. Further hardcopy reproduction is strictly prohibited.
Permission to distribute the HTML document electronically on any medium
other than the internet must be requested from the copyright holders by
contacting the editors.
Printed versions of the SML Basis Manual are available from Cambridge
University Press.
To order, please visit
www.cup.org (North America) or
www.cup.cam.ac.uk (outside North America). |