pub const MAX: f32 = f32::MAX; // 3.40282347E+38f32
Largest finite f32
value. Use f32::MAX
instead.
// deprecated way let max = std::f32::MAX; // intended way let max = f32::MAX;
© 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.html