Anonymous user
Arithmetic/Rational: Difference between revisions
m
→Icon and Unicon: header simplification
m (→{{header|C++}}) |
m (→Icon and Unicon: header simplification) |
||
Line 596:
For a sample implementation of <code>Ratio</code>, see [http://www.haskell.org/onlinereport/ratio.html the Haskell 98 Report].
==
The IPL provides support for rational arithmetic
* The data type is called 'rational' not 'frac'.
Line 737:
gcd(i, j) # returns greatest common divisor of i and j</lang>
▲==={{header|Unicon}}===
=={{header|J}}==
|