aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ref/fate/eval
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-07-01 16:11:23 +0300
committerMartin Storsjö <martin@martin.st>2012-07-04 15:10:56 +0300
commit143f1e92034429e0b87a24bca0f98da81f17d38a (patch)
tree814de5e5ffbf6b10f58f3343e0e0f03e99966518 /tests/ref/fate/eval
parent25accf93ad7b0ad3e2a17718e689c05fbc5b5698 (diff)
downloadffmpeg-143f1e92034429e0b87a24bca0f98da81f17d38a.tar.gz
eval: Add the isinf() function and tests for it
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'tests/ref/fate/eval')
-rw-r--r--tests/ref/fate/eval12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ref/fate/eval b/tests/ref/fate/eval
index ef50292024..b6ca0fa383 100644
--- a/tests/ref/fate/eval
+++ b/tests/ref/fate/eval
@@ -112,6 +112,18 @@ Evaluating 'isnan(1)'
Evaluating 'isnan(NAN)'
'isnan(NAN)' -> 1.000000
+Evaluating 'isnan(INF)'
+'isnan(INF)' -> 0.000000
+
+Evaluating 'isinf(1)'
+'isinf(1)' -> 0.000000
+
+Evaluating 'isinf(NAN)'
+'isinf(NAN)' -> 0.000000
+
+Evaluating 'isinf(INF)'
+'isinf(INF)' -> 1.000000
+
Evaluating 'floor(NAN)'
'floor(NAN)' -> nan