binutils-gdb/gas/testsuite/gasp/flonums.out
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

37 lines
573 B
Plaintext

!.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