root at rainerdeyke.com
Sun Jul 22 23:56:09 EDT 2001
"Tim Peters" <tim.one at home.com> wrote in message
news:mailman.995848124.9087.python-list at python.org...
> [David Eppstein]
> > My intuition is that the users who will be surprised that 1/2 = 0 are
> > the same ones who would be bitten by roundoff-error bugs if 1/2 = 0.5.
> Anyone using floats will get bitten eventually; ditto anyone using
> rationals, for that matter. This is a "lesser of evils" thing more than a
> "good vs evil" thing.
"Good" would be a language without built-in support for non-integer numbers,
and therefore no source of confusion. Those who really need them could use
an extension module.
Rainer Deyke (root at rainerdeyke.com)
Shareware computer games - http://rainerdeyke.com
"In ihren Reihen zu stehen heisst unter Feinden zu kaempfen" - Abigor
More information about the Python-list