Kappa_data_structures.Nbr
Kappa numbers (either float, int or int64) and operations on them
val to_float : t -> float option
None
when infinity or Not a Number
val to_int : t -> int
val zero : t
val is_zero : t -> bool
val one : t
val is_strictly_positive : t -> bool
val print : Stdlib.Format.formatter -> t -> unit
val pretty_print : Stdlib.Format.formatter -> t -> unit
Floats are compactly printed
val print_option : Stdlib.Format.formatter -> t -> unit
Prints nothing in case of infinity or Not a Number
val to_string : t -> string
val of_string : string -> t
val to_yojson : t -> Yojson.Basic.t
val of_yojson : Yojson.Basic.t -> t
val of_un_alg_op : Operator.un_alg_op -> t -> t
val of_bin_alg_op : Operator.bin_alg_op -> t -> t -> t
val of_compare_op : Operator.compare_op -> t -> t -> bool