Crate decorum [] [src]

Constrained, ordered, hashable floating point values.

Traits

Infinite

A value that can be infinite.

Nan

A value that can be NaN.

Primitive
Real

Functions

hash_float

Hashes a raw floating point value.

hash_float_array

Hashes an array of raw floating point values.

hash_float_slice

Hashes a slice of raw floating point values.

Type Definitions

Finite

A floating point value that cannot be NaN, INF, or -INF.

N32
N64
NotNan

A floating point value that cannot be NaN.

Ordered

A floating point value that can be NaN, INF, negative zero, etc., but is ordered and normalized.

R32
R64