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 4/4] Use copysign instead of ternary for some sin/cos input ranges


On Wednesday 28 September 2016 05:59 AM, Manfred wrote:
> The ternary uses m, __copysign uses x. It could be correct (I didn't
> check the full context), but just in case...

m essentially tracks the sign bit of x, so both checks are equivalent.

Siddhesh


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