1.0.0[][src]Module sp_std::num

Additional functionality for numerics.

This module provides some extra types that are useful when doing numerical work. See the individual documentation for each piece for more information.

Structs

NonZeroI8

An integer that is known not to equal zero.

NonZeroI16

An integer that is known not to equal zero.

NonZeroI32

An integer that is known not to equal zero.

NonZeroI64

An integer that is known not to equal zero.

NonZeroI128

An integer that is known not to equal zero.

NonZeroIsize

An integer that is known not to equal zero.

NonZeroU8

An integer that is known not to equal zero.

NonZeroU16

An integer that is known not to equal zero.

NonZeroU32

An integer that is known not to equal zero.

NonZeroU64

An integer that is known not to equal zero.

NonZeroU128

An integer that is known not to equal zero.

NonZeroUsize

An integer that is known not to equal zero.

ParseFloatError

An error which can be returned when parsing a float.

ParseIntError

An error which can be returned when parsing an integer.

TryFromIntError

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

Wrapping

Provides intentionally-wrapped arithmetic on T.

Enums

IntErrorKindExperimental

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

FpCategory

A classification of floating point numbers.