Revision: 17685
Author:   [email protected]
Date:     Wed Nov 13 10:44:28 2013 UTC
Log:      Change table size for trigonometric functions.

Sunspider verifies floating point results to the last bit, so this is to
make sure that we return the expected result.

[email protected]
BUG=

Review URL: https://codereview.chromium.org/71123003
http://code.google.com/p/v8/source/detail?r=17685

Modified:
 /branches/bleeding_edge/src/math.js

=======================================
--- /branches/bleeding_edge/src/math.js Tue Nov 12 14:43:18 2013 UTC
+++ /branches/bleeding_edge/src/math.js Wed Nov 13 10:44:28 2013 UTC
@@ -217,7 +217,7 @@
 // Also define the initialization function that populates the lookup table
 // and then wires up the function definitions.
 function SetupTrigonometricFunctions() {
-  var samples = 2048;  // Table size.
+  var samples = 1800;  // Table size.
   var pi = 3.1415926535897932;
   var pi_half = pi / 2;
   var inverse_pi_half = 1 / pi_half;

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to