Changeset 37498 in webkit for trunk/JavaScriptCore/wtf/MathExtras.h
- Timestamp:
- Oct 10, 2008, 7:53:03 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/MathExtras.h
r35234 r37498 67 67 #endif 68 68 69 #if PLATFORM(DARWIN) 70 71 // Work around a bug in the Mac OS X libc where ceil(-0.1) return +0. 72 inline double wtf_ceil(double x) { return copysign(ceil(x), x); } 73 74 #define ceil(x) wtf_ceil(x) 75 76 #endif 77 69 78 #if PLATFORM(SOLARIS) 70 79
Note:
See TracChangeset
for help on using the changeset viewer.