[Webkit-unassigned] [Bug 16777] eliminate JSC::NaN and JSC::Inf

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 10 18:25:55 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=16777


Gavin Barraclough <barraclough at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |barraclough at apple.com




--- Comment #5 from Gavin Barraclough <barraclough at apple.com>  2011-06-10 18:25:55 PST ---
>From 19272:

>From Darin Adler 2008-05-27 11:51:16 PST (-) [reply]
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: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list