32 bit or 64 bit?

ram.rachum at gmail.com ram.rachum at gmail.com
Sun Jun 15 11:22:13 EDT 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