core::f32

Constant RADIX

1.0.0 · source
pub const RADIX: u32 = f32::RADIX; // 2u32
👎Deprecating in a future 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;