Ignore:
Timestamp:
Apr 21, 2016, 10:56:36 PM (9 years ago)
Author:
[email protected]
Message:

[JSC] Fix build break since r199866. Unreviewed.
https://bugs.webkit.org/show_bug.cgi?id=156892

  • runtime/MathCommon.h: Add namespace std to isnormal invoking.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/MathCommon.h

    r199866 r199868  
    5959{
    6060    // No "weird" numbers (NaN, Denormal, etc).
    61     if (!constant || !isnormal(constant))
     61    if (!constant || !std::isnormal(constant))
    6262        return Nullopt;
    6363
     
    7676
    7777    double reciprocal = ldexp(1, -exponent);
    78     ASSERT(isnormal(reciprocal));
     78    ASSERT(std::isnormal(reciprocal));
    7979    ASSERT(1. / constant == reciprocal);
    8080    ASSERT(constant == 1. / reciprocal);
Note: See TracChangeset for help on using the changeset viewer.