summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-10-21 10:40:22 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-10-21 10:40:22 -0400
commit007027d1bb5b084352a1fc9e4e4178ee8e9821fe (patch)
treed74ba8993884143248dc1c3e9bb69d44d597d212 /tests
parent29a7ea8ff27061917f6e5352f9d1eb8ccad7c680 (diff)
num_float
Diffstat (limited to 'tests')
-rw-r--r--tests/num.ur4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/num.ur b/tests/num.ur
index 6dab5ac3..015f227c 100644
--- a/tests/num.ur
+++ b/tests/num.ur
@@ -1,3 +1,5 @@
fun main () : transaction page = return <xml><body>
- {txt _ (-1)}, {txt _ (1 + 1)}, {txt _ (9 - 3)}, {txt _ (9 * 3)}, {txt _ (9 / 3)}, {txt _ (9 % 3)}
+ {txt _ (-1)}, {txt _ (1 + 1)}, {txt _ (9 - 3)}, {txt _ (9 * 3)}, {txt _ (9 / 3)}, {txt _ (9 % 3)}<br/>
+ {txt _ (-1.1)}, {txt _ (1.0 + 1.1)}, {txt _ (9.1 - 3.0)}, {txt _ (9.1 * 3.0)},
+ {txt _ (9.1 / 3.0)}, {txt _ (9.1 % 3.0)}<br/>
</body></xml>