[−]Module astral::math::num  
Additional functionality for numerics.
This module provides traits that are useful when doing numerical work. See the individual documentation for each piece for more information.
Traits
| AsPrimitive | A generic interface for casting between machine scalars with the
  | 
| Bounded | Numbers which have upper and lower bounds  | 
| NonZero | Functions for primitive type, which has a non-zero correspondant.  | 
| Num | The base trait for numeric types, covering   | 
| NumCast | An interface for casting between machine scalars.  | 
| NumOps | The trait for types implementing basic numeric operations  | 
| One | Defines a multiplicative identity element for   | 
| PrimInt | |
| PrimUnsignedInt | Functions for primitive unsigned integral types.  | 
| 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  | 
| WrappingAdd | Performs addition that wraps around on overflow.  | 
| WrappingMul | Performs multiplication that wraps around on overflow.  | 
| WrappingShl | Performs a left shift that does not panic.  | 
| WrappingShr | Performs a right shift that does not panic.  | 
| WrappingSub | Performs subtraction that wraps around on overflow.  | 
| Zero | Defines an additive identity element for   |