Rational Numbers
Nick Maclaren
nmm1 at cus.cam.ac.uk
Fri Jan 12 12:15:56 EST 2007
In article <mailman.2650.1168618607.32031.python-list at python.org>,
Facundo Batista <facundo at taniquetil.com.ar> writes:
|> Noud Aldenhoven wrote:
|>
|> > There are a (small) couple of other issues where rational numbers could be
|> > handy. That's because rational numbers are exact, irrational numbers (in
|> > python) aren't. But these issues are probably too mathematical to be used in
|>
|> For the sake of me being less ignorant, could you please point me a
|> language where irrational numbers are exact?
Some of the algebraic languages. (2/3)^(1/5) is held as such and
manipulated appropriately.
Yes, I know that's "cheating" :-)
Regards,
Nick Maclaren.
More information about the Python-list
mailing list