Expand description
Operations on numbers.
See the documentation for each trait method to see a usage example.
Traitsยง
- AddAssign
Round - Compound addition and assignment with a specified rounding method.
- AddFrom
- Compound addition and assignment to the rhs operand.
- AddFrom
Round - Compound addition and assignment to the rhs operand with a specified rounding method.
- Assign
Round - Assignment with a specified rounding method.
- BitAnd
From - Compound bitwise AND and assignment to the rhs operand.
- BitOr
From - Compound bitwise OR and assignment to the rhs operand.
- BitXor
From - Compound bitwise XOR and assignment to the rhs operand.
- Complete
Round - Completes an incomplete-computation value with a specified precision and rounding method.
- DivAssign
Round - Compound division and assignment with a specified rounding method.
- DivFrom
- Compound division and assignment to the rhs operand.
- DivFrom
Round - Compound division and assignment to the rhs operand with a specified rounding method.
- DivRounding
- Rounding variants of division.
- DivRounding
Assign - Compound assignment and rounding variants of division.
- DivRounding
From - Compound assignment to the rhs operand and rounding variants of division.
- MulAssign
Round - Compound multiplication and assignment with a specified rounding method.
- MulFrom
- Compound multiplication and assignment to the rhs operand.
- MulFrom
Round - Compound multiplication and assignment to the rhs operand with a specified rounding method.
- NegAssign
- Compound negation and assignment.
- NotAssign
- Compound bitwise complement and assignement.
- Pow
- Binary operator for raising a value to a power.
- PowAssign
- Compound power operation and assignment.
- PowAssign
Round - Compound power operation and assignment with a specified rounding method.
- PowFrom
- Compound power operation and assignment to the rhs operand.
- PowFrom
Round - Compound power operation and assignment to the rhs operand with a specified rounding method.
- RemAssign
Round - Compound remainder operation and assignment with a specified rounding method.
- RemFrom
- Compound remainder operation and assignment to the rhs operand.
- RemFrom
Round - Compound remainder operation and assignment to the rhs operand with a specified rounding method.
- RemRounding
- Rounding variants of the remainder operation.
- RemRounding
Assign - Compound assignment and rounding variants of the remainder operation.
- RemRounding
From - Compound assignment to the rhs operand and rounding variants of the remainder operation.
- ShlFrom
- Compound left shift and assignment to the rhs operand.
- ShrFrom
- Compound right shift and assignment to the rhs operand.
- SubAssign
Round - Compound subtraction and assignment with a specified rounding method.
- SubFrom
- Compound subtraction and assignment to the rhs operand.
- SubFrom
Round - Compound subtraction and assignment to the rhs operand with a specified rounding method.