Function rug::float::allowed_exp_range

source ·
pub fn allowed_exp_range() -> (i32, i32)
Expand description

Returns the maximum allowed range for the exponent.

§Examples

use rug::float;
let (min, max) = float::allowed_exp_range();
println!("Minimum and maximum exponents are in [{}, {}]", min, max);