Module Gil_syntax.Constant

GIL Constants

type t =
  1. | Min_float
    (*

    The smallest float

    *)
  2. | Max_float
    (*

    The largest float

    *)
  3. | MaxSafeInteger
    (*

    2^{53} - 1

    *)
  4. | Epsilon
    (*

    Smallest positive number

    *)
  5. | Random
    (*

    A random number between 0 and 1

    *)
  6. | Pi
    (*

    The number \pi

    *)
  7. | UTCTime
    (*

    Current UTC time

    *)
  8. | LocalTime
    (*

    Current local time

    *)
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val str : t -> string

Printer e^i help