Module rug::ops

source ·
Expand description

Operations on numbers.

See the documentation for each trait method to see a usage example.

Traits§

  • Compound addition and assignment with a specified rounding method.
  • Compound addition and assignment to the rhs operand.
  • Compound addition and assignment to the rhs operand with a specified rounding method.
  • Assignment with a specified rounding method.
  • Compound bitwise AND and assignment to the rhs operand.
  • Compound bitwise OR and assignment to the rhs operand.
  • Compound bitwise XOR and assignment to the rhs operand.
  • Completes an incomplete-computation value with a specified precision and rounding method.
  • Compound division and assignment with a specified rounding method.
  • Compound division and assignment to the rhs operand.
  • Compound division and assignment to the rhs operand with a specified rounding method.
  • Rounding variants of division.
  • Compound assignment and rounding variants of division.
  • Compound assignment to the rhs operand and rounding variants of division.
  • Compound multiplication and assignment with a specified rounding method.
  • Compound multiplication and assignment to the rhs operand.
  • Compound multiplication and assignment to the rhs operand with a specified rounding method.
  • Compound negation and assignment.
  • Compound bitwise complement and assignement.
  • Binary operator for raising a value to a power.
  • Compound power operation and assignment.
  • Compound power operation and assignment with a specified rounding method.
  • Compound power operation and assignment to the rhs operand.
  • Compound power operation and assignment to the rhs operand with a specified rounding method.
  • Compound remainder operation and assignment with a specified rounding method.
  • Compound remainder operation and assignment to the rhs operand.
  • Compound remainder operation and assignment to the rhs operand with a specified rounding method.
  • Rounding variants of the remainder operation.
  • Compound assignment and rounding variants of the remainder operation.
  • Compound assignment to the rhs operand and rounding variants of the remainder operation.
  • Compound left shift and assignment to the rhs operand.
  • Compound right shift and assignment to the rhs operand.
  • Compound subtraction and assignment with a specified rounding method.
  • Compound subtraction and assignment to the rhs operand.
  • Compound subtraction and assignment to the rhs operand with a specified rounding method.