Changeset 27614 in webkit for trunk/JavaScriptCore/wtf/MathExtras.h
- Timestamp:
- Nov 8, 2007, 1:49:20 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/MathExtras.h
r27607 r27614 33 33 #if COMPILER(MSVC) 34 34 35 #include "kjs/operations.h"36 35 #include <xmath.h> 37 36 #include <limits> … … 40 39 #include <float.h> 41 40 #endif 42 43 namespace KJS {44 extern const double NaN;45 }46 41 47 42 #endif … … 85 80 static double posInf = std::numeric_limits<double>::infinity(); 86 81 static double negInf = -std::numeric_limits<double>::infinity(); 82 static double nan = std::numeric_limits<double>::quiet_NaN(); 87 83 88 double result = KJS::NaN;84 double result = nan; 89 85 90 86 if (x == posInf && y == posInf)
Note:
See TracChangeset
for help on using the changeset viewer.