Expand description
Number utilities for enforcing deserialization constraints and computing relative errors.
Structs§
- NonNegative
Finite - A finite floating-point value that is greater than or equal to zero.
Enums§
- Invalid
NonNegative Finite - Error returned when attempting to construct a
NonNegativeFinite. - Relative
Change Error - Error returned when attempting to compute a relative change.
Functions§
- relative_
change - Compute the relative change from
beforetoafter.