Constant DIGITS

const DIGITS: u32 = 6u32

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

Examples

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

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