On Wed, Mar 24, 2010 at 11:26 AM, Alexander Belopolsky <alexander.belopol...@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) _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com