This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v3 6/8] float128: Add private _Float128 declarations for libm.
On Tue, 9 May 2017 23:04:13 +0000
Joseph Myers <joseph@codesourcery.com> wrote:
> On Tue, 9 May 2017, Gabriel F. T. Gomes wrote:
> >
> > +#define M_MLIT(c) c ## f128
>
> I'd expect this to cause trouble when building glibc with GCC 6; don't you
> need to use __f128 to allow for that?
The macro M_MLIT, as opposed to M_LIT, is used to concatenate the suffix
to macros such as M_E and M_LOG2E. In our case, we get M_Ef128,
M_LOG2Ef128, etc., which are defined in math/math.h and already take care of
the workarounds for old compilers (through __f128()).