package posix-base

  1. Overview
  2. Docs

Module type Types.ArithmeticSource

Module type for arithmetic numbers. In POSIX world, an arithmetic type can be either a floating point number or an integer (of unknown size).

Sourcetype t
Sourceval is_float : bool
Sourceval to_int64 : t -> int64
Sourceval of_int64 : int64 -> t
Sourceval to_float : t -> float
Sourceval of_float : float -> t