Constant DIGITS

const DIGITS: u32 = 15u32

Approximate number of significant digits in base 10. Use f64::DIGITS instead.

Examples

// deprecated way
# #[allow(deprecated, deprecated_in_future)]
let d = std::f64::DIGITS;

// intended way
let d = f64::DIGITS;