summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-05-23 13:13:50 +0200
committerAnton Khirnov <anton@khirnov.net>2011-09-19 12:38:34 +0200
commit8cee38a298bb818a400f0dce0efd54d593250eec (patch)
tree656773e37b2d96dbc24ca23040b4231930e5bcb9 /tests
parent9bc393908a6b522c93034b87b8f9f21cb13d7d69 (diff)
eval: implement not() expression
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/fate/eval9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ref/fate/eval b/tests/ref/fate/eval
index 00e5887a9a..0e4844efc5 100644
--- a/tests/ref/fate/eval
+++ b/tests/ref/fate/eval
@@ -139,5 +139,14 @@ Evaluating 'sqrt(1764)'
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
+
12.700000 == 12.7
0.931323 == 0.931322575