Speaking of rounding errors...

Christopher T King squirrel at WPI.EDU
Tue Jul 6 14:14:51 EDT 2004


On Fri, 2 Jul 2004, Erik Max Francis wrote:

> Probably because the conventional meaning of "rounding" is usually only
> applied to nonnegative numbers, and most people don't care what happens
> with negative numbers.  When they _do_ care, they're likely to specify
> the exact rounding behavior they want to remove all doubt, and not use
> the round function.

Perhaps we should all just switch to balanced ternary, giving us two 
possible representations of 1/2 (one rounding up, one rounding down) ;)




More information about the Python-list mailing list