Module NumTok.Signed
type t= sign * Unsigned.t
val equal : t -> t -> boolval is_zero : t -> boolval of_nat : UnsignedNat.t -> tval of_int : SignedNat.t -> tval to_int : t -> SignedNat.t optionval is_int : t -> boolval sprint : t -> stringval print : t -> Pp.tsprintandprintreturns the number as it was parsed, for printing
val parse_string : string -> t optionParse the string as a signed Coq number, if possible
val of_int_string : string -> tConvert from a string in the syntax of OCaml's int/int64
val of_string : string -> tConvert from a string in the syntax of OCaml's string_of_float
val to_string : t -> stringReturns a string in the syntax of OCaml's float_of_string
val of_bigint : num_class -> Z.t -> tval to_bigint : t -> Z.t optionConvert from and to bigint when the denotation of a bigint
val of_int_frac_and_exponent : SignedNat.t -> UnsignedNat.t option -> SignedNat.t option -> tval to_int_frac_and_exponent : t -> SignedNat.t * UnsignedNat.t option * SignedNat.t optionn, p and q such that the number is n.p*10^q or n.p*2^q pre/postcondition: classify n = classify p, classify q = CDec
val of_bigint_and_exponent : Z.t -> Z.t exp -> tval to_bigint_and_exponent : t -> Z.t * Z.t expn and p such that the number is n*10^p or n*2^p
val classify : t -> num_classval is_bigger_int_than : t -> UnsignedNat.t -> boolTest if an integer whose absolute value is bounded