core::f32 - Rust
Description: API documentation for the Rust `f32` mod in crate `core`.
Keywords: rust, rustlang, rust-lang, f32

# Module core::f32 1.0.0 [−] [src]

This module provides constants which are specific to the implementation of the `f32` floating point data type.

Mathematically significant numbers are provided in the `consts` sub-module.

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`.

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
↑
  Move up in search results
↓
  Move down in search results
↹
  Switch tab
⏎
  Go to active search result
+ / -
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)