diff options
Diffstat (limited to 'tests/ref/fate/eval')
-rw-r--r-- | tests/ref/fate/eval | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ref/fate/eval b/tests/ref/fate/eval index 88d7e17bee..09e310f25d 100644 --- a/tests/ref/fate/eval +++ b/tests/ref/fate/eval @@ -160,5 +160,14 @@ Evaluating 'PI^1.23' Evaluating 'pow(-1,1.23)' 'pow(-1,1.23)' -> nan +Evaluating 'if(1, 2)' +'if(1, 2)' -> 2.000000 + +Evaluating 'ifnot(0, 23)' +'ifnot(0, 23)' -> 23.000000 + +Evaluating 'ifnot(1, NaN) + if(0, 1)' +'ifnot(1, NaN) + if(0, 1)' -> 0.000000 + 12.700000 == 12.7 0.931323 == 0.931322575 |