On Fri, 12 Jan 2007 17:15:56 +0000, Nick Maclaren wrote: > In article <[EMAIL PROTECTED]>, > Facundo Batista <[EMAIL PROTECTED]> 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" :-)
I see your smiley, and I still don't understand. Why on earth would you call it cheating for a language to have a data type that is suitable for the data being used? Maybe it's a form of humour I don't get -- like pointing at a car and saying "Look, a cow!". -- Steven. -- http://mail.python.org/mailman/listinfo/python-list