Chromium Code Reviews| Index: src/math.js |
| diff --git a/src/math.js b/src/math.js |
| index 529033ebd82ccad43fd949f39cfdfd89d65c519b..8de369e964d59f1bf3ba3a3652fda3da6186b58b 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 = 1800; // Table size. |
| + var samples = 4489; // Table size. Chosen to satisify Sunspider. |
|
Jakob Kummerow
2013/11/14 09:56:07
nit: s/isi/is/
But high-level, I think it's worth
|
| var pi = 3.1415926535897932; |
| var pi_half = pi / 2; |
| var inverse_pi_half = 2 / pi; |