old-cross-binutils/gas/testsuite/gasp/flonums.asm
Ben Elliston 1ac5725353 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.
2002-02-13 08:59:26 +00:00

19 lines
287 B
NASM

.RADIX Q
! test floats now
.float -H'C
.float -9.0
.float 0.9
.float +0.9
.float +.9
.float -00.0009
.float -2.900
.float 1.1e+10
.float +1.1e+10
.float +1.1e-10
.float -1.1E+10
.float +1.1E+1000
.float +1.1E+0001 10
.float 11.11E-10 10
.float H'C.3
.float H'C.H'C
.END