Reviewers: floitschv8_gmail.com,

Description:
Fix http://code.google.com/p/chromium/issues/detail?id=72555 incorrect
value for Math.LOG10E

Please review this at http://codereview.chromium.org/6489027/

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/math.js


Index: src/math.js
===================================================================
--- src/math.js (revision 6701)
+++ src/math.js (working copy)
@@ -201,7 +201,7 @@
   %OptimizeObjectForAddingMultipleProperties($Math, 8);
   %SetProperty($Math,
                "E",
-               2.7182818284590452354,
+               2.718281828459045,
                DONT_ENUM |  DONT_DELETE | READ_ONLY);
   // ECMA-262, section 15.8.1.2.
   %SetProperty($Math,
@@ -220,11 +220,11 @@
                DONT_ENUM |  DONT_DELETE | READ_ONLY);
   %SetProperty($Math,
                "LOG10E",
-               0.43429448190325176,
+               0.4342944819032518,
                DONT_ENUM |  DONT_DELETE | READ_ONLY);
   %SetProperty($Math,
                "PI",
-               3.1415926535897932,
+               3.141592653589793,
                DONT_ENUM |  DONT_DELETE | READ_ONLY);
   %SetProperty($Math,
                "SQRT1_2",


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to