Precise calculations

Ladvánszky Károly aa at bb.cc
Fri Nov 7 08:17:44 EST 2003


Could anybody help me on how to do precise calculations with Python the way
hand-held calculators do?

A small example to show the impreciseness coming from the floating point
arithmetics:

(100000000000000.4*3)*100 gives 30000000000000124.0

Thanks for any help,

Károly






More information about the Python-list mailing list