W3cubDocs

/Rust

Constant std::f64::MAX_EXP

pub const MAX_EXP: i32 = f64::MAX_EXP; // 1_024i32

Maximum possible power of 2 exponent. Use f64::MAX_EXP instead.

Examples

// deprecated way
let max = std::f64::MAX_EXP;

// intended way
let max = f64::MAX_EXP;

© 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.MAX_EXP.html