Expand description
Floating point rounding mode utility library TODO: Remove this custom implementation and the “libc” dependency when floating-point rounding mode manipulation functions become available in Rust.
Traits§
- Float
Bits - A trait to manipulate floating-point types with bitwise operations. Provides functions to convert a floating-point value to/from its bitwise representation as well as utility methods to handle special values.
Functions§
- alter_
fp_ rounding_ mode - next_
down - Returns the next representable floating-point value smaller than the input value.
- next_up
- Returns the next representable floating-point value greater than the input value.