Constant std::f32::DIGITS1.0.0[][src]

pub const DIGITS: u32 = f32::DIGITS; // 0_x00_000_006u32
👎 Deprecating in a future Rust version:

replaced by the DIGITS associated constant on f32

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

Examples

// deprecated way
let d = std::f32::DIGITS;

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