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: Add _Float128 function aliases [committed]


On 09/01/18 16:47, Joseph Myers wrote:
> On Tue, 9 Jan 2018, Szabolcs Nagy wrote:
> 
>> note that this typedef in a public header does not work
>> on compilers that support _Float128 but not >=gcc-7
> 
> It's entirely appropriate to add support for other compilers in 
> bits/floatn.h headers (there are several bits/floatn.h variants in glibc - 
> if it's a matter of "clang version N supports _Float128 on this set of 
> configurations", the headers used by those configurations are the ones 
> appropriate to update), where those compilers have some form of _FloatN / 
> _FloatNx / __float128 support that could reasonably be used with installed 
> glibc headers.
> 

i can provide a workaround in aarch64 target specific
headers, but i think this is should be fixed in
sysdeps/ieee754/ldbl-128/bits/floatn.h

maybe check for __FLT128_MANT_DIG==113 instead of gcc-7?
clang defines this macro too.


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