Changeset 199868 in webkit for trunk/Source/JavaScriptCore/runtime/MathCommon.h
- Timestamp:
- Apr 21, 2016, 10:56:36 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/MathCommon.h
r199866 r199868 59 59 { 60 60 // No "weird" numbers (NaN, Denormal, etc). 61 if (!constant || ! isnormal(constant))61 if (!constant || !std::isnormal(constant)) 62 62 return Nullopt; 63 63 … … 76 76 77 77 double reciprocal = ldexp(1, -exponent); 78 ASSERT( isnormal(reciprocal));78 ASSERT(std::isnormal(reciprocal)); 79 79 ASSERT(1. / constant == reciprocal); 80 80 ASSERT(constant == 1. / reciprocal);
Note:
See TracChangeset
for help on using the changeset viewer.