Extensions to Core.Float
.
pretty-print a float using no more than five characters, using abberviations k, m, g, t.
if on_negative
is not set to `Normal
then the resulting is never over four
chars but upon negative number we either:
"<0"
order_of_magnitude_difference a b
by how many orders of magnitude do a
and b
differ?
The return value is non-negative.
examples:
Unsafe modules and functors that still fully expose the representation for extensibility.