Numbers.ZIntegers implementation. *
val zero : tval one : tval m_one : tval compare_to_0 : t -> intval sign : t -> intval hash : t -> intval is_zero : t -> boolval is_one : t -> boolval is_m_one : t -> boolval from_int : int -> tval from_string : string -> tval to_string : t -> stringval pp_print : t Fmt.tval to_machine_int : t -> int optionconvert to machine integer. returns None in case of overflow
val to_float : t -> floatval print : Stdlib.Format.formatter -> t -> unitreturns sqrt truncated with the remainder. It assumes that the argument is positive, otherwise, Invalid_argument is raised.
val testbit : t -> int -> booltestbit z n returns true iff the nth bit of z is set to 1. n is supposed to be positive
val numbits : t -> intreturn the number of bits set to one in the given integer