rat Type
Rational numbers rat(n,d) are constructed by two integers, the nominator n and the denominator d. We interprete numbers rat(0,d) as zero (where d!=0), and rat(n,0) as infinity.
Constructors
Constructor | Description |
|
Instance members
Instance member | Description |
Full Usage:
this.d
Returns: int
|
|
Full Usage:
this.n
Returns: int
|
|
Static members
Static member | Description |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|