Module rug::float

source ·
Expand description

Multi-precision floating-point numbers with correct rounding.

This module provides support for floating-point numbers of type Float.

Structs

Enums

  • The available floating-point constants.
  • Specifies which cache to free.
  • The rounding methods for floating-point values.
  • Special floating-point values.

Traits

Functions

  • Returns the maximum allowed range for the exponent.
  • Returns the maximum value for the exponent.
  • Returns the minimum value for the exponent.
  • Frees various caches and memory pools that are used internally.
  • Returns the maximum value for the precision.
  • Returns the minimum value for the precision.