Function prec_max
Source pub const fn prec_max() -> u32
Expand description
Returns the maximum value for the precision.
If the maximum precision does not fit in a u32
,
u32::MAX
is returned.
ยงExamples
use rug::float;
println!("Maximum precision is {}", float::prec_max());