Constant std::f64::DIGITS
pub const DIGITS: u32 = f64::DIGITS; // 0x0000_000fu32
???? Deprecating in a future Rust version:
replaced by the DIGITS
associated constant on f64
Approximate number of significant digits in base 10. Use f64::DIGITS
instead.
Examples
// deprecated way let d = std::f64::DIGITS; // intended way let d = f64::DIGITS;
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/f64/constant.DIGITS.html