NumTok.Signedtype t = sign * Unsigned.tval 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 parse_string : string -> t optionParse the string as a signed Rocq 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 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 is_bigger_int_than : t -> UnsignedNat.t -> boolTest if an integer whose absolute value is bounded