aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ref/fate
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-02-21 20:47:18 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-02-22 23:09:47 +0100
commit43b1943a55b4b9de962761db38d5ecc3c8eef45a (patch)
tree2baf01cc4f4ba36395767163dcd60c2a59a55c0b /tests/ref/fate
parentf16c950f32da04e5353df6cfb6c9855d213caf84 (diff)
downloadffmpeg-43b1943a55b4b9de962761db38d5ecc3c8eef45a.tar.gz
eval: Add taylor series evaluation support.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests/ref/fate')
-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 09e310f25d..e5e796c5c7 100644
--- a/tests/ref/fate/eval
+++ b/tests/ref/fate/eval
@@ -169,5 +169,11 @@ Evaluating 'ifnot(0, 23)'
Evaluating 'ifnot(1, NaN) + if(0, 1)'
'ifnot(1, NaN) + if(0, 1)' -> 0.000000
+Evaluating 'taylor(1, 1)'
+'taylor(1, 1)' -> 2.718282
+
+Evaluating 'taylor(eq(mod(ld(0),4),1)-eq(mod(ld(0),4),3), PI/2)'
+'taylor(eq(mod(ld(0),4),1)-eq(mod(ld(0),4),3), PI/2)' -> 1.000000
+
12.700000 == 12.7
0.931323 == 0.931322575