diff options
Diffstat (limited to 'tests/ref/fate/eval')
-rw-r--r-- | tests/ref/fate/eval | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/ref/fate/eval b/tests/ref/fate/eval index ef50292..09e310f 100644 --- a/tests/ref/fate/eval +++ b/tests/ref/fate/eval @@ -148,5 +148,26 @@ Evaluating 'not(NAN)' Evaluating 'not(0)' 'not(0)' -> 1.000000 +Evaluating 'pow(0,1.23)' +'pow(0,1.23)' -> 0.000000 + +Evaluating 'pow(PI,1.23)' +'pow(PI,1.23)' -> 4.087844 + +Evaluating 'PI^1.23' +'PI^1.23' -> 4.087844 + +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 |