Is there min_value() or max_value() methods for f32 and f64 type?

I know the methods existing for integers.
Floating point numbers use scientific annotation can be very large, large enough to be unirrelevant. But there should be a limit, right? How to check that limit?
If there is none, can any body tell me, xxxEyyy, how many digits are used to annotate xxx and how many digits are used to annotate yyy in f32 or f64 data respectively, and how many to annotate the sign? Thanks.

You are looking for the words "mantissa" (xxx) and "exponent" (yyy). These properties are provided as associated constants, not as methods. For example, f64::MAX.

1 Like

Thanks.