On this page
Constant std::f32::RADIX
pub const RADIX: u32 = f32::RADIX; // 2u32
👎Deprecating in a future Rust version: replaced by the
RADIX
associated constant on f32
The radix or base of the internal representation of f32
. Use f32::RADIX
instead.
Examples
// deprecated way
let r = std::f32::RADIX;
// intended way
let r = f32::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/f32/constant.RADIX.html