Up

Module Magnitude

Signature

type t =
| One
| Kilo
| Mega
| Giga
| Milli
| Micro
| Nano
val max : t
val magnitude_ignoring_minimum : Core.Std.Float.t -> t
val magnitude : t -> Core.Std.Float.t -> t
val float_hum : decimals:int -> string -> float -> float -> string
val f2s : string -> float -> float -> string
val to_string_nanos : t -> float -> string
val to_string_cycles : t -> float -> string
val to_string_words : t -> float -> string
val to_string_count : t -> float -> string
val to_string_gc : t -> float -> string
val to_string_percentage : 'a -> float -> string
val smaller : t -> t -> t