Bug 19272

Summary: Clean up NAN in JavaScriptCore?
Product: WebKit Reporter: Darin Adler <darin>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Minor CC: barraclough, darin, ggaren, sam
Priority: P3    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   

Description Darin Adler 2008-05-27 11:51:16 PDT
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.
Comment 1 Gavin Barraclough 2011-06-10 18:25:28 PDT

*** This bug has been marked as a duplicate of bug 16777 ***