diff options
author | Mark Kettenis <kettenis@gnu.org> | 2001-10-28 22:06:27 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2001-10-28 22:06:27 +0000 |
commit | 87ffba60fb7234f505bd18800ca53a62fb7e3b0c (patch) | |
tree | 87ec49cac4a7361db865662086b2427dc05e4838 /README-maintainer-mode | |
parent | 4583280ca5c253f8d32b7c397ab10099c049073c (diff) | |
download | gdb-87ffba60fb7234f505bd18800ca53a62fb7e3b0c.zip gdb-87ffba60fb7234f505bd18800ca53a62fb7e3b0c.tar.gz gdb-87ffba60fb7234f505bd18800ca53a62fb7e3b0c.tar.bz2 |
* doublest.c: Improve comments a bit.
(floatformat_from_length): New function.
(NAN): Define to 0.0 if not already defined.
(extract_floating): Rewrite to use floatformat_from_length. Warn
instead of error if LEN doesn't match a known floating-point type,
and return NaN (or 0.0 if NaN isn't available) in that case.
(store_floating): Likewise, but zero out the target byte-stream if
LEN doesn't match a known floating-point type.
(extract_typed_floating): Reformat a bit.
(store_typed_floating): Reformat a bit. Add comment about zeroing
out padding in the target buffer.
* doublest.h (extract_floating, store_floating): Fix comment about
deprecation of these functions. Add parameter names to prototypes.
Diffstat (limited to 'README-maintainer-mode')
0 files changed, 0 insertions, 0 deletions