Libabsolute.Q
Rational arithmetic module
val zero : t
val one : t
val two : t
val minus_one : t
val ceil : t -> int
val floor : t -> int
val to_int : t -> int option
Conversions
val to_float : t -> float
val of_int : int -> t
val of_float : float -> t
val pp_print_size_of_0_suffix : t -> string
Mpqf human understandable printing when denominator is a power of ten
val pp_print : Stdlib.Format.formatter -> t -> unit
Mpqf light printing when convertible to a float
val print : Stdlib.Format.formatter -> t -> unit
val to_string : t -> string