This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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]

Re: [PATCH] powerpc: Fix the compiler mode used with C++ when -mabi=ieeelongdouble


On Fri, 4 May 2018, Tulio Magno Quites Machado Filho wrote:

> /* Defined to 1 if the corresponding _FloatN type is not binary compatible
>    with the corresponding ISO C type.  */
> #define __HAVE_FLOAT128_UNLIKE_LDBL __HAVE_DISTINCT_FLOAT128 \
> 				    && __LDBL_MANT_DIG__ != 113

Yes, something like that (but the comment should say explicitly this is 
about the types in the current compilation rather than the default types 
for this glibc, and that that's how this is distinguished from 
__HAVE_DISTINCT_FLOAT128 - and the expansion should be in parentheses).

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]