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 v2] New generic cosf


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."


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