Floating point (in)accuracy?

Martin von Loewis loewis at informatik.hu-berlin.de
Thu Apr 26 13:36:38 EDT 2001


grante at visi.com (Grant Edwards) writes:

> I presume that on typical platforms, it can't be guaranteed
> that float(repr(x)) == x.

Why not? This is specifically one of the rationales for the change.

Regards,
Martin



More information about the Python-list mailing list