MAX_EXP in core::f32 - Rust
Description: Maximum possible power of 2 exponent. Use [`f32::MAX_EXP`] instead.
Keywords: rust, rustlang, rust-lang, MAX_EXP

# Constant core::f32::MAX_EXP
1.0.0[−][src]

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

👎 Deprecating in a future Rust version:

replaced by the `MAX_EXP` associated constant on `f32`

Expand description

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;

Run