Constant kvarn::prelude::utils::prelude::compact_str::core::f64::DIGITS

1.0.0 · source ·
pub const DIGITS: u32 = f64::DIGITS; // 15u32
👎Deprecating in a future Rust version: replaced by the <code>DIGITS</code> associated constant on <code>f64</code>
Available on non-crate feature miri-test-libstd only.
Expand description

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;