Does python suck or I am just stupid?
Gareth McCaughan
Gareth.McCaughan at pobox.com
Sun Feb 23 16:51:51 EST 2003
News M Claveau /Hamster-P wrote (replying to me):
> >>> Unfortunately, there's no way to make computer arithmetic work exactly
> >>> the way everyone expects
>
> and BCD ?
What about it? Working in decimal is not enough, on its own,
to make everyone happy. If you work in limited precision,
there will *always* be nasty numerical gotchas. If you work
in unlimited precision, then you're doing full rational
arithmetic rather than decimal as such, and there will be
nasty performance gotchas instead. Not to mention that some
people may be freaked out by getting answers expressed in
rational form...
--
Gareth McCaughan Gareth.McCaughan at pobox.com
.sig under construc
More information about the Python-list
mailing list