]> granicus.if.org Git - python/commit
"Fix" (for certain configurations of the planets, including
authorMichael W. Hudson <mwh@python.net>
Thu, 19 Feb 2004 19:35:22 +0000 (19:35 +0000)
committerMichael W. Hudson <mwh@python.net>
Thu, 19 Feb 2004 19:35:22 +0000 (19:35 +0000)
commitd3b33b5f6f6f1b09c1ec7832329c8307edcb82cf
tree4c5d78f77d1f89ed0441f526a52c749169665cf5
parentbbca8da3ca5191d68c4cd8777b8ba8632c0cff44
"Fix" (for certain configurations of the planets, including
recent gcc on Linux/x86)

[ 899109 ] 1==float('nan')

by implementing rich comparisons for floats.

Seems to make comparisons involving NaNs somewhat less surprising
when the underlying C compiler actually implements C99 semantics.
Misc/NEWS
Objects/floatobject.c