On this page
Constant std::f64::RADIX
pub const RADIX: u32 = f64::RADIX; // 2u32
👎Deprecating in a future Rust version: replaced by the
RADIX
associated constant on f64
The radix or base of the internal representation of f64
. Use f64::RADIX
instead.
Examples
// deprecated way
let r = std::f64::RADIX;
// intended way
let r = f64::RADIX;
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/f64/constant.RADIX.html