This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
That sounds reasonable to me. floatformat_to_doublest could contain a check on HAVE_LONG_DOUBLE and call one or the other.
floatformat_from_doublest()
{
#if HAVE_LONG_DOUBLE
return floatformat_from_long_double (...)
#else
return floatformat_from_double (...)
}| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |