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 0/6] Generate Complex functions from a common template.


On Thu, 30 Jun 2016, Paul E. Murphy wrote:

> > In such cases, the right thing to do is to have preliminary patches that 
> > only address the drift, so that the comparison is clean in the subsequent 
> > stages.
> 
> I believe there are only 4 such cases, and are very limited.
> Spurious usage of glibc_likely in two cases, and two cases
> of testing for FE_INVALID macro before trying to raise it.
> 
> The behavior is exclusive to s_ccosh*.c and s_csinh*.c.
> 
> The diff isn't much obfuscated by either.  If you can
> tell me which is the desired behavior, I can propose
> and submit those patches independently.

Remove the #ifdef FE_INVALID.  Architectures not defining FE_* exceptions 
also have math_private.h defining feraiseexcept to do nothing.

Do not use __glibc_likely on rcls == FP_INFINITE.

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