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] Move M_DECL_FUNC_R* to math-type-macros.h


Joseph Myers <joseph@codesourcery.com> writes:

> On Fri, 11 May 2018, Tulio Magno Quites Machado Filho wrote:
>
>> There is also gamma_r.  Let me try to explain...
>
> There's no gamma_r public API at all.  __gamma_r_finite is a bad ABI 
> (__tgamma_finite would have been better, there's absolutely no need to 
> handle the sign separately for tgamma) that unfortunately we're stuck 
> with, but it's not type-generic because no wrapper is involved.

Ack.

> the right way is (a) to make ldbl-128ibm use 
> libm_alias_ldouble (or similar) and (b) redefine that in the relevant case 
> to define the additional aliases.

We're doing this.

> (In any case, no new *ibm128_finite 
> symbols should be added, because exported implementation-namespace libm 
> functions are always once-per-format so you shouldn't need to add any more 
> other than for obsolescent functions provided for long double but not 
> float128.)

In this case, how would users continue to use IBM long double finite functions?

-- 
Tulio Magno


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