Module sgx_tstd::num[][src]

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

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.

Wrapping

Provides intentionally-wrapped arithmetic on T.

TryFromIntError [
Experimental
]

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

Enums

FpCategory

A classification of floating point numbers.