Arithmetic/Rational: Difference between revisions

Content added Content deleted
m (added a link to Bernouilli numbers)
Line 2,472: Line 2,472:
=={{header|Phix}}==
=={{header|Phix}}==
{{Trans|Tcl}}
{{Trans|Tcl}}
Phix does not support operator overloading (I am strongly opposed to such nonsense), nor does it have a fraction library, but it might look a bit like this:
Phix does not support operator overloading (I am strongly opposed to such nonsense), nor does it have a fraction library, but it might look a bit like this.<br>
See also [[Bernoulli_numbers#Phix|Bernoulli_numbers]] for a couple of these routines adapted to use bigatoms.
<lang Phix>without warning -- (several unused routines in this code)
<lang Phix>without warning -- (several unused routines in this code)