digitalmars.D.bugs - doc error: expression.html NAN !=
- Don Clugston (7/7) Mar 02 2006 "Equality for floating point types is more complicated. -0 and +0
- Walter Bright (1/1) Mar 02 2006 I'll fix it.
"Equality for floating point types is more complicated. -0 and +0 compare as equal. If either or both operands are NAN, then both the == and != comparisons return false. Otherwise, the bit patterns are compared for equality." The second line should read: If either or both operands are NAN, then == will return false and != will return true.
Mar 02 2006