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

    pub const MAX: f32 = f32::MAX; // 3.40282347E+38f32

👎 Deprecating in a future Rust version:

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

This is supported on non-crate feature `miri-test-libstd` or `test` or `doctest` only.
Expand description

Largest finite `f32` value. Use `f32::MAX` instead.

## Examples

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

    // intended way
    let max = f32::MAX;

Run