W3cubDocs

/Rust

Constant std::f32::RADIX

pub const RADIX: u32 = f32::RADIX; // 2u32

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