Expand description
Standard definitions of NoisyFloat.
Definitions in this module all use debug_assert!
to check for valid values, so there is no overhead
when running in an optimized build.
Functions§
- n32
- Shorthand for
N32::new(value). - n64
- Shorthand for
N64::new(value). - r32
- Shorthand for
R32::new(value). - r64
- Shorthand for
R64::new(value).
Type Aliases§
- N32
- A floating point number behaving like
f32that does not allow NaN. - N64
- A floating point number behaving like
f64that does not allow NaN. - R32
- A floating point number behaving like
f32that does not allow NaN or +/- Infinity. - R64
- A floating point number behaving like
f64that does not allow NaN or +/- Infinity.