4 ms·
Your == expression has distinct operands which are the results of different evaluations. The problem is that a NaN is not equal to itself: double nan = /*
by kazinator 12y ago
Your == expression has distinct operands which are the results of different evaluations.
The problem is that a NaN is not equal to itself:
double nan = /* NaN-producing expression */
if (nan == nan) {
/* dead code */
}