Changeset 10510 in webkit for trunk/JavaScriptCore/kjs/value.cpp


Ignore:
Timestamp:
Sep 10, 2005, 11:24:44 AM (20 years ago)
Author:
darin
Message:

Windows changes by Krzysztof Kowalczyk <[email protected]>.

  • kjs/simple_number.h: (KJS::isNegativeZero): Added. Inline function. Has a case for Windows that uses _fpclass and a case for other platforms that uses signbit. (KJS::SimpleNumber::fits): Use inline isNegativeZero instead of macro IS_NEGATIVE_ZERO.
  • kjs/internal.cpp: Remove definition of now-unneeded negZero global.
  • kjs/value.cpp: Touched the file because Xcode didn't know it needed to recompile it.
  • improved test engine
  • tests/mozilla/jsDriver.pl: Sort tests in numeric order instead of using a plain-ASCII sort; now test 33 will be after test 5 in any given set of numbered tests.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/value.cpp

    r10084 r10510  
    4646AllocatedValueImp *ConstantValues::NaN = NULL;
    4747
    48 static const double D16 = 65536;
     48static const double D16 = 65536.0;
    4949static const double D32 = 4294967296.0;
    5050
Note: See TracChangeset for help on using the changeset viewer.