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: [PATCHv2] powerpc: Fix the compiler type used with C++ when -mabi=ieeelongdouble


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

> 2018-05-10  Tulio Magno Quites Machado Filho  <tuliom@linux.ibm.com>
> 
> 	* bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
> 	* math/math.h: Restrict the prototype definition for the functions
> 	issignaling(_Float128) and iszero(_Float128); and template
> 	__iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
> 	__HAVE_FLOAT128_UNLIKE_LDBL.
> 	* sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
> 	&& (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
> 	&& __LDBL_MANT_DIG__ == 113]: Use long double suffix for
> 	__f128() constants; define the type _Float128 as long double;
> 	and reuse long double in __CFLOAT128.

This version is OK.

-- 
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]