Ignore:
Timestamp:
Apr 4, 2006, 3:08:50 AM (19 years ago)
Author:
eseidel
Message:

2006-04-04 Eric Seidel <[email protected]>

Reviewed by mjs.

  • kjs/number_object.cpp: (NumberProtoFunc::callAsFunction): remove trunc() to fix win32.
File:
1 edited

Legend:

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

    r13676 r13677  
    366366     
    367367      if (x != 0) {
    368           e = static_cast<int>(trunc(log10(x)));
     368          e = static_cast<int>(log10(x));
    369369          double tens = intPow10(e - p + 1);
    370370          double n = floor(x / tens);
Note: See TracChangeset for help on using the changeset viewer.