Next:
Fraction-coercing
, Previous:
Fraction-accessing
, Up:
Fraction
1.81.4 Fraction: arithmetic
* aNumber
Multiply two numbers and answer the result.
+ aNumber
Sum two numbers and answer the result.
- aNumber
Subtract aNumber from the receiver and answer the result.
/ aNumber
Divide the receiver by aNumber and answer the result.
// aNumber
Return the integer quotient of dividing the receiver by aNumber with truncation towards negative infinity.
\\ aNumber
Return the remainder from dividing the receiver by aNumber, (using //).
estimatedLog
Answer an estimate of (self abs floorLog: 10)