Expand description
Precision bound computation for bounded floating-point values.
This module implements the core algorithm for determining the minimum number of bits needed to represent bounded floating-point values within a given precision tolerance.
Structs§
- Precision
Bound - Precision bound calculator for floating-point values.
Constants§
- PRECISION_
MAP - Precomputed decimal lengths for common precision values.
Functions§
- get_
decimal_ length - Get the decimal length for a given precision.
- get_
precision_ bound - Get the precision bound value for a given number of decimal places.