This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: Support infinity, NaN, and denormalized numbers in floatformat.c
- From: DJ Delorie <dj at redhat dot com>
- To: ian at wasabisystems dot com
- Cc: gcc-patches at gcc dot gnu dot org, gdb-patches at sources dot redhat dot com
- Date: Wed, 3 Dec 2003 13:33:43 -0500
- Subject: Re: RFA: Support infinity, NaN, and denormalized numbers in floatformat.c
- References: <20031203181245.3896.qmail@gossamer.airs.com>
> 2003-12-03 Ian Lance Taylor <ian@wasabisystems.com>
>
> * floatformat.c: Include "config.h" and <string.h> if available.
> (INFINITY, NAN): Define if not defined by <math.h>.
> (floatformat_to_double): Handle NaN, infinity, and denormalized
> numbers.
> (floatformat_from_double): Likewise.
> (ieee_test): In debugging code, use little endian rather than big
> endian. Correct tests to handle NaN and to check correct sign of
> zero. Omit m68k extended test.
> (main): Add more debugging cases.
Ok.