Module core::num

1.0.0 · source · []
Expand description

Numeric traits and functions for the built-in numeric types.

Structs

SaturatingExperimental

Provides intentionally-saturating arithmetic on T.

An integer that is known not to equal zero.

An integer that is known not to equal zero.

An integer that is known not to equal zero.

An integer that is known not to equal zero.

An integer that is known not to equal zero.

An integer that is known not to equal zero.

An integer that is known not to equal zero.

An integer that is known not to equal zero.

An integer that is known not to equal zero.

An integer that is known not to equal zero.

An integer that is known not to equal zero.

An integer that is known not to equal zero.

An error which can be returned when parsing an integer.

The error type returned when a checked integral type conversion fails.

Provides intentionally-wrapped arithmetic on T.

Enums

A classification of floating point numbers.

Enum to store the various types of errors that can cause parsing an integer to fail.