interface Float
pub interface Float :: [Signed]
Conforms to Signed.
The two float types, with what describes the type as members.
Its constants, its bits, its order, NaN and the infinities are members; what one computes
with a number lives in std.math.
Methods
static fn fromBits(b: uint64): Self
Returns the value a bit pattern names: a float its 64 bits, a float32 the low 32.
fn isNan(): bool
Returns whether this is NaN, the one value unequal to itself.
fn isInfinite(): bool
Returns whether this is an infinity, of either sign.
fn isFinite(): bool
Returns whether this is neither NaN nor an infinity.
fn totalCompare(o: Self): Ordering
Compares in IEEE 754's total order, for sorting.
The order is -NaN, -infinity, the negatives, -0.0, 0.0, the positives, infinity, NaN; every value has its one place.
fn toBits(): uint64
The bit pattern: a float its 64 bits, a float32 its 32 in the low ones.