[PATCH] Making double precision constants work with -fsingle-precision-constant
Gabriel Dos Reis
gdr@integrable-solutions.net
Fri Dec 9 22:21:00 GMT 2005
"Carlos O'Donell" <carlos@codesourcery.com> writes:
| +#if __DBL_HAS_DENORM__
| + static const float_denorm_style has_denorm = denorm_present;
| +#else
| + static const float_denorm_style has_denorm = denorm_absent;
| +#endif
Could you rewrite that as
static const float_denorm_style has_denorm = __DBL_HAS_DENORM__
? denorm_present
: denorm_absent;
libstdc++ part is OK with that change.
Thanks,
-- Gaby
More information about the Gcc-patches
mailing list