Expand description
Multi-precision floating-point numbers with correct rounding.
This module provides support for floating-point numbers of type
Float
.
Structs§
- Used to get a reference to a
Float
. - A small float that does not require any memory allocation.
- A float that supports total ordering and hashing.
- An error which can be returned when parsing a
Float
. - SmallFloatDeprecatedA small float that did not require any memory allocation until version 1.23.0.
Enums§
- The available floating-point constants.
- Specifies which cache to free.
- The rounding methods for floating-point values.
- Special floating-point values.
Traits§
- Types implementing this trait can be converted to
MiniFloat
. - ToSmallDeprecatedTypes implementing this trait can be converted to
SmallFloat
.
Functions§
- Returns the maximum allowed range for the exponent.
- Returns the maximum value for the exponent.
- Returns the minimum value for the exponent.
- Frees various caches and memory pools that are used internally.
- Returns the maximum value for the precision.
- Returns the minimum value for the precision.