X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/6fe7ccc865dc7d7541b93c5bcaf6368d2c98a174..cb9aa2694aba0ae4f946ed34b8e0f6c99c1cfe44:/runtime/Uint16WithFraction.h diff --git a/runtime/Uint16WithFraction.h b/runtime/Uint16WithFraction.h index 0e5c5f9..9a30100 100644 --- a/runtime/Uint16WithFraction.h +++ b/runtime/Uint16WithFraction.h @@ -41,7 +41,7 @@ class Uint16WithFraction { public: explicit Uint16WithFraction(double number, uint16_t divideByExponent = 0) { - ASSERT(number && isfinite(number) && !signbit(number)); + ASSERT(number && std::isfinite(number) && !std::signbit(number)); // Check for values out of uint16_t range. if (number >= oneGreaterThanMaxUInt16) {