summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-10-16 10:31:16 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-10-16 10:31:16 -0700
commit61872221ad337568eb654200997f92e41f3f27ba (patch)
treee8072c8bc9dc3769f9946f72f977fcd4a12cb2a0
parentb2f6fef421db2c5f7f0dbc5b36e1a546875af7d6 (diff)
downloadnasm-61872221ad337568eb654200997f92e41f3f27ba.tar.gz
nasm-61872221ad337568eb654200997f92e41f3f27ba.tar.bz2
nasm-61872221ad337568eb654200997f92e41f3f27ba.zip
Add 1.5 as a test case: representative of an exact fraction
1.5 is an exactly representable fraction, useful for test.
-rw-r--r--test/float.asm15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/float.asm b/test/float.asm
index bcb2ec2..759b61c 100644
--- a/test/float.asm
+++ b/test/float.asm
@@ -6,6 +6,9 @@
dw 1.0
dw +1.0
dw -1.0
+ dw 1.5
+ dw +1.5
+ dw -1.5
dw 0.0
dw +0.0
dw -0.0
@@ -32,6 +35,9 @@
dd 1.0
dd +1.0
dd -1.0
+ dd 1.5
+ dd +1.5
+ dd -1.5
dd 0.0
dd +0.0
dd -0.0
@@ -58,6 +64,9 @@
dq 1.0
dq +1.0
dq -1.0
+ dq 1.5
+ dq +1.5
+ dq -1.5
dq 0.0
dq +0.0
dq -0.0
@@ -84,6 +93,9 @@
dt 1.0
dt +1.0
dt -1.0
+ dt 1.5
+ dt +1.5
+ dt -1.5
dt 0.0
dt +0.0
dt -0.0
@@ -110,6 +122,9 @@
do 1.0
do +1.0
do -1.0
+ do 1.5
+ do +1.5
+ do -1.5
do 0.0
do +0.0
do -0.0