Commits

Armin Rigo  committed dd43ba7

Add comment

  • Participants
  • Parent commits 966942d

Comments (0)

Files changed (1)

File rpython/jit/metainterp/history.py

 
     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...
             return (longlong.extract_bits(self.value) ==
                     longlong.extract_bits(other.value))
         return False