RFA: Support infinity, NaN, and denormalized numbers in floatformat.c
Andrew Cagney
cagney@gnu.org
Wed Dec 3 19:09:00 GMT 2003
> That sounds reasonable to me. floatformat_to_doublest could contain a
> check on HAVE_LONG_DOUBLE and call one or the other.
something like
floatformat_from_doublest()
{
#if HAVE_LONG_DOUBLE
return floatformat_from_long_double (...)
#else
return floatformat_from_double (...)
}
Yes, that would keep GDB insulated from liberty's configuration internals.
(Any long term signs of a portable target floating point library (so
that the code can completly avoid host fpu assumptions?). glibc's
floating-point code has been suggested in the past.)
Andrew
More information about the Gcc-patches
mailing list