Ignore:
Timestamp:
Aug 31, 2006, 3:59:26 PM (19 years ago)
Author:
andersca
Message:

2006-08-31 Anders Carlsson <[email protected]>

Reviewed by Darin.


Add new portability functions to MathExtras.h and add StringExtras.h which is for
string portability functions.


  • JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
  • bindings/c/c_instance.cpp:
  • kjs/date_object.cpp:
  • wtf/MathExtras.h: (copysign): (isfinite):
  • wtf/StringExtras.h: Added. (snprintf): (strncasecmp):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/MathExtras.h

    r15774 r16164  
    4545inline float nextafterf(float x, float y) { return x > y ? x - FLT_EPSILON : x + FLT_EPSILON; }
    4646
     47inline double copysign(double x, double y) { return _copysign(x, y); }
     48inline int isfinite(double x) { return _finite(x); }
     49
    4750#if COMPILER(MSVC)
    4851
Note: See TracChangeset for help on using the changeset viewer.