W3cubDocs

/Rust

Module std::f32

The 32-bit floating point type.

See also the f32 primitive type.

Modules

consts

Basic mathematical constants.

Constants

DIGITS

Approximate number of significant digits in base 10.

EPSILON

Difference between 1.0 and the next largest representable number.

INFINITY

Infinity (∞).

MANTISSA_DIGITS

Number of significant digits in base 2.

MAX

Largest finite f32 value.

MAX_10_EXP

Maximum possible power of 10 exponent.

MAX_EXP

Maximum possible power of 2 exponent.

MIN

Smallest finite f32 value.

MIN_10_EXP

Minimum possible normal power of 10 exponent.

MIN_EXP

One greater than the minimum possible normal power of 2 exponent.

MIN_POSITIVE

Smallest positive normal f32 value.

NAN

Not a Number (NaN).

NEG_INFINITY

Negative infinity (-∞).

RADIX

The radix or base of the internal representation of f32.

© 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/index.html