Module num::traitsExperimental
[-]
[+]
[src]
Numeric traits for generic mathematics
Traits
Bounded | Numbers which have upper and lower bounds |
CheckedAdd | Performs addition that returns |
CheckedDiv | Performs division that returns |
CheckedMul | Performs multiplication that returns |
CheckedSub | Performs subtraction that returns |
Num | The base trait for numeric types |
One | Defines a multiplicative identity element for |
Saturating | Saturating math operations |
Signed | Useful functions for signed numbers (i.e. numbers that can be negative). |
Unsigned | A trait for values which cannot be negative |
Zero | Defines an additive identity element for |