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
This commit is contained in:
parent
6822e027b3
commit
7206330260
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user