summaryrefslogtreecommitdiffstats
path: root/tests/ref/fate/eval
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ref/fate/eval')
-rw-r--r--tests/ref/fate/eval27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/ref/fate/eval b/tests/ref/fate/eval
index ad01891..3bc35db 100644
--- a/tests/ref/fate/eval
+++ b/tests/ref/fate/eval
@@ -133,5 +133,32 @@ Evaluating 'ceil(123.123)'
Evaluating 'ceil(-123.123)'
'ceil(-123.123)' -> -123.000000
+Evaluating 'sqrt(1764)'
+'sqrt(1764)' -> 42.000000
+
+Evaluating 'sqrt(-1)'
+'sqrt(-1)' -> nan
+
+Evaluating 'not(1)'
+'not(1)' -> 0.000000
+
+Evaluating 'not(NAN)'
+'not(NAN)' -> 0.000000
+
+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
+
12.700000 == 12.7
0.931323 == 0.931322575
OpenPOWER on IntegriCloud