summaryrefslogtreecommitdiff
path: root/tests/ref/fate/eval
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-02-21 22:30:35 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-02-27 00:00:55 +0100
commit59affed23c3a30b85c006c45f9e5d3aa8ce50741 (patch)
tree67175bea0de833a2d1055b0041438e9d72e3024e /tests/ref/fate/eval
parent8c5ee45d13b7a0d14ff75b7db72d5400b7750571 (diff)
eval: add root() to solve f(x)=0
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests/ref/fate/eval')
-rw-r--r--tests/ref/fate/eval6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ref/fate/eval b/tests/ref/fate/eval
index ed0d8bc124..67b107a930 100644
--- a/tests/ref/fate/eval
+++ b/tests/ref/fate/eval
@@ -175,5 +175,11 @@ Evaluating 'taylor(1, 1)'
Evaluating 'taylor(eq(mod(ld(1),4),1)-eq(mod(ld(1),4),3), PI/2, 1)'
'taylor(eq(mod(ld(1),4),1)-eq(mod(ld(1),4),3), PI/2, 1)' -> 1.000000
+Evaluating 'root(sin(ld(0))-1, 2)'
+'root(sin(ld(0))-1, 2)' -> 1.570796
+
+Evaluating 'root(sin(ld(0))+6+sin(ld(0)/12)-log(ld(0)), 100)'
+'root(sin(ld(0))+6+sin(ld(0)/12)-log(ld(0)), 100)' -> 60.965601
+
12.700000 == 12.7
0.931323 == 0.931322575