Expand description
Implementations of raits for simultaneously finding the quotient and remainder of two numbers, subject to various rounding rules.
These are the traits:
| rounding | by value or reference | by mutable reference (assignment) |
|---|---|---|
| towards $-\infty$ | DivMod | DivAssignMod |
| towards 0 | DivRem | DivAssignRem |
| towards $\infty$ | CeilingDivMod | CeilingDivAssignMod |