Armin Rigo committed 61a9f16

Expand the comment

Comments (0)

Files changed (1)


     def same_constant(self, other):
         if isinstance(other, ConstFloat):
             # careful in this comparison: if self.value and other.value
-            # are both NaN, stored as regular floats, then it will turn
-            # out to be false...
+            # are both NaN, stored as regular floats (i.e. on 64-bit),
+            # then just using "==" would say False: two NaNs are always
+            # different from each other.
             return (longlong.extract_bits(self.value) ==
         return False