Crate aurum_numeric [−] [src]
Traits
Biclamp |
A bidirectional variant of |
CheckedAdd |
Checked addition which returns |
CheckedDec |
Checked variant of |
CheckedDiv |
Checked division which returns |
CheckedFrom |
Checked conversion between machine integers which returns None if an overflow or underflow occurs. |
CheckedInc |
Checked variant of |
CheckedInto |
Checked conversion between machine integers which returns None if an overflow or underflow occurs. |
CheckedMul |
Checked multiplication which returns |
CheckedNeg |
Checked negation which returns |
CheckedSub |
Checked subtraction which returns |
Clamp |
Trait for numbers which may be "clamped" within a minimum and maximum value. |
ClampFrom |
Trait for interpolating between clamped ranges of different types. |
ClampInto |
Trait for interpolating between clamped ranges of different types. |
Dec |
Trait for types which may be decremented. |
Inc |
Trait for types which may be incremented. |
Int |
Trait for integer types. |
MachineInt |
Trait implemented by machine scalars. |
One |
Placeholder which will be removed when |
RawFrom |
Trait for raw conversion between machine scalars. |
RawInto |
Trait for raw conversion between machine scalars. |
Real |
Trait for real numbers which can represent values between integers. |
Sqrt |
Gets the square root of a number. |
Trig |
Trigonemetric functions. |
WrappingAdd |
Wrapping addition. |
WrappingDec |
Wrapping variant of |
WrappingDiv |
Wrapping division. |
WrappingInc |
Wrapping variant of |
WrappingMul |
Wrapping multiplication. |
WrappingNeg |
Wrapping negation. |
WrappingRem |
Wrapping remainder. |
WrappingShl |
Wrapping shift left. |
WrappingShr |
Wrapping shift right. |
WrappingSub |
Wrapping subtraction. |
Zero |
Placeholder which will be removed when |