Reviewers: Jakob,

Description:
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=

Please review this at https://codereview.chromium.org/71123003/

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

Affected files (+1, -1 lines):
  M src/math.js


Index: src/math.js
diff --git a/src/math.js b/src/math.js
index 2b9ab504f76d07736761b99e387476a6448ebf49..385b3c2a221832bbe1d15cc268ed7ae2b6ac74e0 100644
--- a/src/math.js
+++ b/src/math.js
@@ -217,7 +217,7 @@ var InitTrigonometricFunctions;
 // 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