| Index: src/math.js
|
| diff --git a/src/math.js b/src/math.js
|
| index 529033ebd82ccad43fd949f39cfdfd89d65c519b..e1798fa599ac7594d28fbfe96516607a27e26f77 100644
|
| --- a/src/math.js
|
| +++ b/src/math.js
|
| @@ -217,7 +217,9 @@ 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.
|
| + // TODO(yangguo): The following table size has been chosen to satisfy
|
| + // Sunspider's brittle result verification. Reconsider relevance.
|
| + var samples = 4489;
|
| var pi = 3.1415926535897932;
|
| var pi_half = pi / 2;
|
| var inverse_pi_half = 2 / pi;
|
|
|