Module Uucp.Num

module Num: sig .. end
Numeric properties.


Hex digits


val is_ascii_hex_digit : Uchar.t -> bool
is_ascii_hex_digit u is true if u has the ASCII_Hex_Digit property.
val is_hex_digit : Uchar.t -> bool
is_ascii_hex_digit u is true if u has the Hex_Digit property.

Numeric type


type numeric_type = [ `De | `Di | `None | `Nu ] 
The type for numeric types.
val pp_numeric_type : Format.formatter -> numeric_type -> unit
pp_numeric_type ppf n prints an unspecified representation of n on ppf.
val numeric_type : Uchar.t -> numeric_type
numeric_type u is u's Numeric_Type property.

Numeric value


type numeric_value = [ `Frac of int * int | `NaN | `Num of int64 ] 
The type for numeric values.
val pp_numeric_value : Format.formatter -> numeric_value -> unit
pp_numeric_value ppf n prints an unspecified representation of n on ppf.
val numeric_value : Uchar.t -> [ `Frac of int * int | `NaN | `Num of int64 ]
numeric_type u is u's Numeric_Value property.