W3cubDocs

/Rust

Constant std::f64::MAX_10_EXP

pub const MAX_10_EXP: i32 = f64::MAX_10_EXP; // 308i32

Maximum possible power of 10 exponent. Use f64::MAX_10_EXP instead.

Examples

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

// intended way
let max = f64::MAX_10_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_10_EXP.html