Python -- floating point arithmetic

Christian Heimes lists at cheimes.de
Wed Jul 7 09:24:35 EDT 2010


> can anybody tell me how python internal represent a float number??

It's an IEEE 754 double precision float on all hardware platforms that
support IEEE 754 semantics. Python follows the C99 standards for double
and complex numbers.

Christian




More information about the Python-list mailing list