module Big_int_Z:sig..end
Big_int interface for Z module.
This modules provides an interface compatible with Big_int, but using
Z functions internally.
This file is part of the Zarith library http://forge.ocamlcore.org/projects/zarith . It is distributed under LGPL 2 licensing, with static linking exception. See the LICENSE file included in the distribution.
Copyright (c) 2010-2011 Antoine Miné, Abstraction project.
Abstraction is part of the LIENS (Laboratoire d'Informatique de l'ENS),
a joint laboratory by:
CNRS (Centre national de la recherche scientifique, France),
ENS (École normale supérieure, Paris, France),
INRIA Rocquencourt (Institut national de recherche en informatique, France).
typebig_int =Z.t
val zero_big_int : Z.tval unit_big_int : Z.tval minus_big_int : Z.t -> Z.tval abs_big_int : Z.t -> Z.tval add_big_int : Z.t -> Z.t -> Z.tval succ_big_int : Z.t -> Z.tval add_int_big_int : int -> Z.t -> Z.tval sub_big_int : Z.t -> Z.t -> Z.tval pred_big_int : Z.t -> Z.tval mult_big_int : Z.t -> Z.t -> Z.tval mult_int_big_int : int -> Z.t -> Z.tval square_big_int : Z.t -> Z.tval sqrt_big_int : Z.t -> Z.tval quomod_big_int : Z.t -> Z.t -> Z.t * Z.tval div_big_int : Z.t -> Z.t -> Z.tval mod_big_int : Z.t -> Z.t -> Z.tval gcd_big_int : Z.t -> Z.t -> Z.tval power : Z.t -> int -> Z.tval power_big : Z.t -> Z.t -> Z.tval power_int_positive_int : int -> int -> Z.tval power_big_int_positive_int : Z.t -> int -> Z.tval power_int_positive_big_int : int -> Z.t -> Z.tval power_big_int_positive_big_int : Z.t -> Z.t -> Z.tval sign_big_int : Z.t -> intval compare_big_int : Z.t -> Z.t -> intval eq_big_int : Z.t -> Z.t -> boolval le_big_int : Z.t -> Z.t -> boolval ge_big_int : Z.t -> Z.t -> boolval lt_big_int : Z.t -> Z.t -> boolval gt_big_int : Z.t -> Z.t -> boolval max_big_int : Z.t -> Z.t -> Z.tval min_big_int : Z.t -> Z.t -> Z.tval num_digits_big_int : Z.t -> intval string_of_big_int : Z.t -> stringval big_int_of_string : string -> Z.tval big_int_of_int : int -> Z.tval is_int_big_int : Z.t -> boolval int_of_big_int : Z.t -> intval big_int_of_int32 : int32 -> Z.tval big_int_of_nativeint : nativeint -> Z.tval big_int_of_int64 : int64 -> Z.tval int32_of_big_int : Z.t -> int32val nativeint_of_big_int : Z.t -> nativeintval int64_of_big_int : Z.t -> int64val float_of_big_int : Z.t -> floatval and_big_int : Z.t -> Z.t -> Z.tval or_big_int : Z.t -> Z.t -> Z.tval xor_big_int : Z.t -> Z.t -> Z.tval shift_left_big_int : Z.t -> int -> Z.tval shift_right_big_int : Z.t -> int -> Z.tval shift_right_towards_zero_big_int : Z.t -> int -> Z.tval extract_big_int : Z.t -> int -> int -> Z.t