Change tan function test value.

Apparently there is some disagreement on the tangent of 40 between browser and node. 42 is the answer.
This commit is contained in:
Daniel Stockman
2013-02-18 18:51:54 -08:00
committed by Luke Page
parent 20f787c53f
commit 7116b3b1c5
2 changed files with 2 additions and 2 deletions

View File

@@ -70,7 +70,7 @@
pi: 3.141592653589793;
mod: 2m;
abs: 4%;
tan: 0.8390996311772799;
tan: 0.9004040442978399;
sin: 0.17364817766693033;
cos: 0.8438539587324921;
atan: 0.1rad;

View File

@@ -76,7 +76,7 @@
pi: pi();
mod: mod(13m, 11cm); // could take into account units, doesn't at the moment
abs: abs(-4%);
tan: tan(40deg);
tan: tan(42deg);
sin: sin(10deg);
cos: cos(12);
atan: atan(tan(0.1rad));