32 bit or 64 bit?

ram.rachum at gmail.com ram.rachum at gmail.com
Sun Jun 15 17:22:13 CEST 2008


On Jun 15, 5:05 pm, Christian Heimes <li... at cheimes.de> wrote:
> ram.rac... at gmail.com wrote:
> > Does it mean that even now it does arithmetic in 64 bit?
> > I'm not getting enough precision. Is there any way to increase it?
>
> Buy a good book about numerics or take a course. ;)
>
> Seriously, computers and IEEE 754 floating point numbers have a lot of
> pit falls. If you chose the wrong algorithm you *will* get wrong
> results. With floats a*b*c and a*c*b can give you a different result.
>
> The decimal module is not an option if you need speed.

I do need speed. Is there an option?



More information about the Python-list mailing list