diff options
author | Martin Storsjö <martin@martin.st> | 2012-07-01 17:11:23 +0400 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-07-04 16:10:56 +0400 |
commit | 143f1e92034429e0b87a24bca0f98da81f17d38a (patch) | |
tree | 814de5e5ffbf6b10f58f3343e0e0f03e99966518 /tests | |
parent | 25accf93ad7b0ad3e2a17718e689c05fbc5b5698 (diff) |
eval: Add the isinf() function and tests for it
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ref/fate/eval | 12 |
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 |