Description
By definition, NaN is not equal to itself, therefore
if (d == Double.NaN)
will always be false. Changed such instances to
if (Double.isNaN(d))
Attachments
Attachments
Issue Links
- is duplicated by
-
XALANJ-2434 invalid NaN comparisons
- Resolved