Module rug::float[][src]

Expand description

Multi-precision floating-point numbers with correct rounding.

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

Structs

A float that supports total ordering and hashing.

An error which can be returned when parsing a Float.

A small float that does not require any memory allocation.

Enums

The available floating-point constants.

Specifies which cache to free.

The rounding methods for floating-point values.

Special floating-point values.

Traits

Types implementing this trait can be converted to SmallFloat.

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.