aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite/gasp/flonums.out
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2002-02-13 08:59:26 +0000
committerBen Elliston <bje@au.ibm.com>2002-02-13 08:59:26 +0000
commit1ac57253535242e3484562556cb262184e38d646 (patch)
tree57e9092a38c9e94f2f9a440f8e4f0e4c9983be9c /gas/testsuite/gasp/flonums.out
parent34588f232a55809ee35013c5a2d4225192aab226 (diff)
downloadgdb-1ac57253535242e3484562556cb262184e38d646.zip
gdb-1ac57253535242e3484562556cb262184e38d646.tar.gz
gdb-1ac57253535242e3484562556cb262184e38d646.tar.bz2
2002-02-12 Ben Elliston <bje@redhat.com>
* NEWS: Document floating point number handling in gasp. * gasp.c: Include <assert.h> and "xregex.h". (is_flonum): New function. (chew_flownum): Likewise. (change_base): Consume flonums from the input, where possible. * doc/gasp.texi (Constants): Document floating point numbers. [testsuite/ChangeLog] * gasp/flonums.asm: New test. * gasp/flonums.err: New result. * gasp/flonums.out: Likewise.
Diffstat (limited to 'gas/testsuite/gasp/flonums.out')
-rw-r--r--gas/testsuite/gasp/flonums.out36
1 files changed, 36 insertions, 0 deletions
diff --git a/gas/testsuite/gasp/flonums.out b/gas/testsuite/gasp/flonums.out
new file mode 100644
index 0000000..23bde3d
--- /dev/null
+++ b/gas/testsuite/gasp/flonums.out
@@ -0,0 +1,36 @@
+!.RADIX Q
+! ! test floats now
+ ! test floats now
+! .float -H'C
+ .float -12
+! .float -9.0
+ .float -9.0
+! .float 0.9
+ .float 0.9
+! .float +0.9
+ .float +0.9
+! .float +.9
+ .float +.9
+! .float -00.0009
+ .float -00.0009
+! .float -2.900
+ .float -2.900
+! .float 1.1e+10
+ .float 1.1e+10
+! .float +1.1e+10
+ .float +1.1e+10
+! .float +1.1e-10
+ .float +1.1e-10
+! .float -1.1E+10
+ .float -1.1E+10
+! .float +1.1E+1000
+ .float +1.1E+1000
+! .float +1.1E+0001 10
+ .float +1.1E+0001 8
+! .float 11.11E-10 10
+ .float 11.11E-10 8
+! .float H'C.3
+ .float 12.3
+! .float H'C.H'C
+ .float 12.12
+!.END