W3cubDocs

/Rust

Constant std::f64::RADIX

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

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