[PATCH v2] New generic cosf

Joseph Myers joseph@codesourcery.com
Thu Dec 7 00:09:00 GMT 2017


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.

This cosf implementation is OK with that change.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list