Maths error

Carsten Haese carsten at uniqsys.com
Tue Jan 9 14:40:28 CET 2007


On Tue, 2007-01-09 at 11:38 +0000, Nick Maclaren wrote:
> |> Rory Campbell-Lange wrote:
> |> 
> |> > Is using the decimal module the best way around this? (I'm
> |> > expecting the first sum to match the second). It seem
> |> > anachronistic that decimal takes strings as input, though.
> 
> As Dan Bishop says, probably not.  The introduction to the decimal
> module makes exaggerated claims of accuracy, amounting to propaganda.
> It is numerically no better than binary, and has some advantages
> and some disadvantages.

Please elaborate. Which exaggerated claims are made, and how is decimal
no better than binary?

-Carsten





More information about the Python-list mailing list