
March 24, 2010
6:36 p.m.
On Wed, Mar 24, 2010 at 11:26 AM, Alexander Belopolsky <alexander.belopolsky@gmail.com> wrote:
I wonder why Python did not follow Java model where Float NaN objects unlike raw float NaNs compare equal to themselves. One reason may be that Python does not have raw floats, but if someone needs IEEE 754 NaNs, one can use numpy scalars or add arithmetics to ctypes numerical types.
Probably because we were blindly following the IEEE standard without understanding it in every detail. -- --Guido van Rossum (python.org/~guido)