[PATCH v2] New generic cosf
Andreas Schwab
schwab@linux-m68k.org
Thu Dec 7 10:36:00 GMT 2017
On Dez 07 2017, Joseph Myers <joseph@codesourcery.com> wrote:
> On Wed, 6 Dec 2017, Paul Clarke wrote:
>
>> +/* PI/2 with 98 bits of accuracy. */
>> +static const double PI_2_hi = -0x1.921fb544p+0;
>> +static const double PI_2_lo = -0x1.0b4611a626332p-34;
>
> This is actually -PI/2, not PI/2. The comment in s_sinf.c should be fixed
> accordingly.
And the variable should be renamed to reflect that.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Libc-alpha
mailing list