[Webkit-unassigned] [Bug 19272] New: Clean up NAN in JavaScriptCore?

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 27 11:51:16 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=19272

           Summary: Clean up NAN in JavaScriptCore?
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Minor
          Priority: P3
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: darin at apple.com
                CC: sam at webkit.org, ggaren at apple.com


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.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list