package uucp

  1. Overview
  2. Docs

Numeric properties.

Hex digits

val is_ascii_hex_digit : Stdlib.Uchar.t -> bool

is_ascii_hex_digit u is true if u has the ASCII_Hex_Digit property.

val is_hex_digit : Stdlib.Uchar.t -> bool

is_hex_digit u is true if u has the Hex_Digit property.

Numeric type

type numeric_type = [
  1. | `De
  2. | `Di
  3. | `None
  4. | `Nu
]

The type for numeric types.

val pp_numeric_type : Stdlib.Format.formatter -> numeric_type -> unit

pp_numeric_type ppf n prints an unspecified representation of n on ppf.

val numeric_type : Stdlib.Uchar.t -> numeric_type

numeric_type u is u's Numeric_Type property.

Numeric value

type numeric_value = [
  1. | `NaN
  2. | `Nums of [ `Frac of int * int | `Num of int64 ] list
]

The type for numeric values.

val pp_numeric_value : Stdlib.Format.formatter -> numeric_value -> unit

pp_numeric_value ppf n prints an unspecified representation of n on ppf.

val numeric_value : Stdlib.Uchar.t -> numeric_value

numeric_type u is u's Numeric_Value property.

OCaml

Innovation. Community. Security.