JavaScriptCore uses the following redundant ways to get the double NAN: function std::numeric_limits<double>::quiet_NaN() global KJS::NaN macro NAN There's also code that says (isnan || isinf) where it could more efficiently say !isfinite instead. We should clean this up. I'd like to see KJS::NaN and KJS::Inf go away entirely.
*** This bug has been marked as a duplicate of bug 16777 ***