diff options
author | Nick Clifton <nickc@redhat.com> | 2007-10-17 16:45:56 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2007-10-17 16:45:56 +0000 |
commit | 499ac353610f24006acf82c32503d8d15d0f278c (patch) | |
tree | a85388693f1bb562345a7f7a28875fd962bd16f0 /gas/doc | |
parent | 25b07cd9c40077c076d68f9e7d5a113828fbebbf (diff) | |
download | gdb-499ac353610f24006acf82c32503d8d15d0f278c.zip gdb-499ac353610f24006acf82c32503d8d15d0f278c.tar.gz gdb-499ac353610f24006acf82c32503d8d15d0f278c.tar.bz2 |
Remove duplicate definitions of the md_atof() function
Diffstat (limited to 'gas/doc')
-rw-r--r-- | gas/doc/internals.texi | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/gas/doc/internals.texi b/gas/doc/internals.texi index a97ead3..ff1df98 100644 --- a/gas/doc/internals.texi +++ b/gas/doc/internals.texi @@ -1144,17 +1144,25 @@ simple macro. @cindex md_atof This function is called to convert an ASCII string into a floating point value in format used by the CPU. It takes three arguments. The first is @var{type} -which is a byte describing the type of floating point number to be created. -Possible values are @var{'f'} or @var{'s'} for single precision, @var{'d'} or -@var{'r'} for double precision and @var{'x'} or @var{'p'} for extended -precision. Either lower or upper case versions of these letters can be used. +which is a byte describing the type of floating point number to be created. It +is one of the characters defined in the @xref{FLT_CHARS} macro. Possible +values are @var{'f'} or @var{'s'} for single precision, @var{'d'} or @var{'r'} +for double precision and @var{'x'} or @var{'p'} for extended precision. Either +lower or upper case versions of these letters can be used. Note: some targets +do not support all of these types, and some targets may also support other +types not mentioned here. The second parameter is @var{litP} which is a pointer to a byte array where the -converted value should be stored. The third argument is @var{sizeP}, which is -a pointer to a integer that should be filled in with the number of -@var{LITTLENUM}s emitted into the byte array. (@var{LITTLENUM} is defined in -gas/bignum.h). The function should return NULL upon success or an error string -upon failure. +converted value should be stored. The value is converted into LITTLENUMs and +is stored in the target's endian-ness order. (@var{LITTLENUM} is defined in +gas/bignum.h). Single precision values occupy 2 littlenums. Double precision +values occupy 4 littlenums and extended precision values occupy either 5 or 6 +littlenums, depending upon the target. + +The third argument is @var{sizeP}, which is a pointer to a integer that should +be filled in with the number of chars emitted into the byte array. + +The function should return NULL upon success or an error string upon failure. @item TC_LARGEST_EXPONENT_IS_NORMAL @cindex TC_LARGEST_EXPONENT_IS_NORMAL (@var{precision}) |