This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] fix decimal float macro in <float.h>
- From: Ben Elliston <bje at au1 dot ibm dot com>
- To: janis187 at us dot ibm dot com
- Cc: gcc-patches at gcc dot gnu dot org, eberlein at us dot ibm dot com
- Date: Fri, 12 Sep 2008 08:21:37 +1000
- Subject: Re: [PATCH] fix decimal float macro in <float.h>
- References: <1221169760.5943.17.camel@janis-laptop>
> N1241, the latest version of ISO/IEC TR 24732 for decimal floating point
> support in C, specifies that <float.h> define DEC_EVAL_METHOD when
> __STDC_WANT_DEC_FP__ is defined. An earlier version of the draft TR
> used DECFLT_EVAL_METHOD instead of DEC_EVAL_METHOD. The compiler was
> fixed to use a variant of the new name, but the corresponding fix was
> not made to float.h. This patch allows float.h to define the correct
> macro, based on the correct predefined macro defined by the compiler.
Yes, thanks.
Ben