Module std::numStable
[-] [+]
[src]
Numeric traits and functions for generic mathematics
These are implemented for the primitive numeric types in std::{u8, u16,
u32, u64, uint, i8, i16, i32, i64, int, f32, f64}
.
Modules
strconv |
Structs
ParseFloatError | An error which can be returned when parsing a float. |
ParseIntError | An error which can be returned when parsing an integer. |
Enums
FpCategory | Used for representing the classification of floating point numbers |
Traits
Float | Mathematical operations on primitive floating point numbers. |
FromPrimitive | A generic trait for converting a number to a value. |
FromStrRadix | A generic trait for converting a string with a radix (base) to a value |
Int | A built-in signed or unsigned integer. |
NumCast | An interface for casting between machine scalars. |
SignedInt | A built-in two's complement integer. |
ToPrimitive | A generic trait for converting a value to a number. |
UnsignedInt | A built-in unsigned integer. |
Functions
cast | Cast from one machine scalar to another. |
from_f32 | A utility function that just calls |
from_f64 | A utility function that just calls |
from_i16 | A utility function that just calls |
from_i32 | A utility function that just calls |
from_i64 | A utility function that just calls |
from_i8 | A utility function that just calls |
from_int | A utility function that just calls |
from_str_radix | A utility function that just calls FromStrRadix::from_str_radix. |
from_u16 | A utility function that just calls |
from_u32 | A utility function that just calls |
from_u64 | A utility function that just calls |
from_u8 | A utility function that just calls |
from_uint | A utility function that just calls |