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/eval12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ref/fate/eval b/tests/ref/fate/eval
index ef50292..88d7e17 100644
--- a/tests/ref/fate/eval
+++ b/tests/ref/fate/eval
@@ -148,5 +148,17 @@ 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
+
12.700000 == 12.7
0.931323 == 0.931322575
OpenPOWER on IntegriCloud