Commit 72063302 authored by yangguo@chromium.org's avatar yangguo@chromium.org

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.

R=jkummerow@chromium.org
BUG=

Review URL: https://codereview.chromium.org/71123003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17685 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 6822e027
...@@ -217,7 +217,7 @@ var InitTrigonometricFunctions; ...@@ -217,7 +217,7 @@ var InitTrigonometricFunctions;
// Also define the initialization function that populates the lookup table // Also define the initialization function that populates the lookup table
// and then wires up the function definitions. // and then wires up the function definitions.
function SetupTrigonometricFunctions() { function SetupTrigonometricFunctions() {
var samples = 2048; // Table size. var samples = 1800; // Table size.
var pi = 3.1415926535897932; var pi = 3.1415926535897932;
var pi_half = pi / 2; var pi_half = pi / 2;
var inverse_pi_half = 1 / pi_half; var inverse_pi_half = 1 / pi_half;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment