Uint63
val maxuint31 : t
val of_int : int -> t
val to_int2 : t -> int * int
val of_int64 : Stdlib.Int64.t -> t
val to_int64 : t -> Stdlib.Int64.t
int_min n m
returns the minimum of n
and m
, m
must be in 0, 2^30-1
.
val to_int_min : t -> int -> int
int_min n m
returns the minimum of n
and m
, m
must be in 0, 2^30-1
.
val of_float : float -> t
val to_float : t -> float
val hash : t -> int
val to_string : t -> string
val compile : t -> string
val zero : t
val one : t
div21 xh xl y
returns q % 2^63, r
s.t. xh * 2^63 + xl = q * y + r
and r < y
. When y
is 0
, returns 0, 0
.