W3cubDocs

/Rust

Constant std::f32::MAX_EXP

pub const MAX_EXP: i32 = f32::MAX_EXP; // 128i32

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

Examples

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

// intended way
let max = f32::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/f32/constant.MAX_EXP.html