aboutsummaryrefslogtreecommitdiff
path: root/gas/doc
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/doc
parent34588f232a55809ee35013c5a2d4225192aab226 (diff)
downloadfsf-binutils-gdb-1ac57253535242e3484562556cb262184e38d646.zip
fsf-binutils-gdb-1ac57253535242e3484562556cb262184e38d646.tar.gz
fsf-binutils-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/doc')
-rw-r--r--gas/doc/gasp.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/doc/gasp.texi b/gas/doc/gasp.texi
index e5bda63..9358059 100644
--- a/gas/doc/gasp.texi
+++ b/gas/doc/gasp.texi
@@ -943,6 +943,11 @@ character matches those you can specify with @code{.RADIX}: @samp{B} for
base 2, @samp{Q} for base 8, @samp{D} for base 10, and @samp{H} for base
16. (You can write this character in lower case if you prefer.)
+You can write floating point constants using the same syntax recognised
+by GAS @ref{Flonums,,Flonums,as,The GNU Assembler.}. A constraint is
+that these constants will be interpreted as decimal values irrespective
+of the currently selected base.
+
@c FIXME! What are rules for recognizing number in deflt base? Whatever
@c is left over after parsing other things??