Next: Comparing Rationals, Previous: Rational Conversions, Up: Rational Number Functions [Index]
Set sum to addend1 + addend2.
Set difference to minuend - subtrahend.
Set product to multiplier times multiplicand.
Set rop to op1 times 2 raised to op2.
Set quotient to dividend/divisor.
Set rop to op1 divided by 2 raised to op2.
Set negated_operand to -operand.
Set rop to the absolute value of op.
Set inverted_number to 1/number. If the new denominator is zero, this routine will divide by zero.