1.0.0[][src]Constant core::f64::DIGITS

pub const DIGITS: u32 = f64::DIGITS; // 15u32

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;
Run