Constant core::f64::MANTISSA_DIGITS 1.0.0[−][src]
pub const MANTISSA_DIGITS: u32 = f64::MANTISSA_DIGITS; // 0x0000_0035u32
👎 Deprecating in a future Rust version:
replaced by the MANTISSA_DIGITS
associated constant on f64
Expand description
Number of significant digits in base 2.
Use f64::MANTISSA_DIGITS
instead.
Examples
// deprecated way
let d = std::f64::MANTISSA_DIGITS;
// intended way
let d = f64::MANTISSA_DIGITS;
Run