|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Fraction
ATFraction is the public interface to a native AmbientTalk fraction (a floating point value).
| Method Summary | |
|---|---|
Fraction |
abs()
Returns the absolute value of a fraction. |
Fraction |
dec()
Returns the fraction minus 1. |
Fraction |
inc()
Returns the fraction plus 1. |
| Methods inherited from interface edu.vub.at.objects.Numeric |
|---|
/, =, >=, >, <=>, <=, <, -, !=, +, *, addFraction, addNumber, ceiling, cos, divideFraction, divideNumber, expt, floor, gequalsFraction, gequalsNumber, log, round, sin, sqrt, subtractFraction, subtractNumber, tan, timesFraction, timesNumber, toText |
| Methods inherited from interface edu.vub.at.objects.AbstractGrammar |
|---|
freeVariables |
| Methods inherited from interface edu.vub.at.objects.Object |
|---|
super |
| Method Detail |
|---|
Fraction inc()
Fraction dec()
Fraction abs()
More specifically:
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||