Module Intervals.V
A module for manipulating integer Values.
The type of arbitrary-precision integers with custom operations. ℂDuce integers use Big_int.big_int from the num library internaly, Most functions in this module are wrappers around those in Big_int.
val print : Stdlib.Format.formatter -> t -> unitprint fmt iprintsito the given formatter.
val mk : string -> tmk screates an integer from its string decimal representation. The string can be prefixed with an optional+or-.
val from_int : int -> tfrom_int icreates an integer from an OCamlint.
val from_bigint : Big_int.big_int -> tfrom_bigint icreates an integer fromBig_int.big_int, from the OCamlnumlibrary.
val to_string : t -> stringval is_int : t -> boolval get_int : t -> intval get_bigint : t -> Big_int.big_intval is_zero : t -> boolval add : t -> t -> tval mult : t -> t -> tval sub : t -> t -> tval div : t -> t -> tval modulo : t -> t -> tval succ : t -> tval pred : t -> tval negat : t -> tval lt : t -> t -> boolval gt : t -> t -> boolval zero : tval one : tval minus_one : tval from_int32 : Stdlib.Int32.t -> tval from_int64 : Stdlib.Int64.t -> tval to_int32 : t -> Stdlib.Int32.tval to_int64 : t -> Stdlib.Int64.t