Constant core::f32::RADIX

1.0.0 · source · []
pub const RADIX: u32 = f32::RADIX; // 0x0000_0002u32
👎 Deprecating in a future Rust version:

replaced by the RADIX associated constant on f32

Expand description

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;
Run