[PATCH] math: Enable some math builtins for clang

Adhemerval Zanella adhemerval.zanella@linaro.org
Tue Mar 26 21:20:00 GMT 2019



On 26/03/2019 17:47, Joseph Myers wrote:
> On Tue, 26 Mar 2019, Adhemerval Zanella wrote:
> 
>> If there is no objection, I will commit this shortly.
> 
> I'd like to confirm you made sure the built-ins *were type-generic* in the 
> relevant versions of clang (not just that they existed there - in GCC, 
> some of the built-ins were added first as type-specific for double, which 
> would have made them inappropriate to use with long double, and then later 
> changed to be type-generic).
> 

My understanding is it only provides the C99 type-generic ones (clang does
not provide __builtin_isnanf or __builtin_isnanl for instance). If I recall
correctly, it has not changed over the releases, but I will double check.



More information about the Libc-alpha mailing list