How about adding rational fraction to Python?
Jeff Schwab
jeff at schwabcenter.com
Tue Feb 26 17:10:45 EST 2008
Paul Rubin wrote:
> "D'Arcy J.M. Cain" <darcy at druid.net> writes:
>>> http://en.wikipedia.org/wiki/Natural_number
>> Recheck the context. I was talking about the natural result, not
>> natural numbers.
>
> The natural result of doing arithmetic with natural numbers is more
> natural numbers.
Back when I was just a wee little developer, I was taught that division
over the natural number was *not* a closed operation. (I still like
integer division, and I'm OK with the fact that it truncates.)
More information about the Python-list
mailing list