]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - runtime/Uint16WithFraction.h
JavaScriptCore-7600.1.4.11.8.tar.gz
[apple/javascriptcore.git] / runtime / Uint16WithFraction.h
index 0e5c5f91cd1cf5ed93dc6a03053f8e8bc69764a5..9a30100ebf6b7bdbca4d4d605b71a0e82d3c3eb9 100644 (file)
@@ -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) {