[PATCH 2/4] Check n instead of k1 to decide on sign of sin/cos result

Siddhesh Poyarekar siddhesh@sourceware.org
Wed Oct 5 19:08:00 GMT 2016


On Friday 30 September 2016 06:07 AM, Carlos O'Donell wrote:
> I like where you are going with this.
> 
> The simplest solution I think is:
> 
> * Make K a bool (C99 bool type), which should resolve the issue.
>   The compiler will always only use 0 or 1 and the result works.

Ack, I made that a separate patch and pushed it (see other [committed]
email)

> * Update with the description above.

Done and pushed.

Thanks,
Siddhesh



More information about the Libc-alpha mailing list