Re: [PATCH] Typo in libm code

From: Brooks Davis <brooks_at_freebsd.org>
Date: Thu, 7 Nov 2019 19:32:49 +0000
On Thu, Nov 07, 2019 at 10:45:43AM -0800, Steve Kargl wrote:
> This patch
> 
> https://cvsweb.openbsd.org/src/lib/libm/src/ld80/k_sincosl.h?sortby=date
> 
> is applicable to FreeBSD.
> 
> Index: src/k_sincosl.h
> ===================================================================
> --- src/k_sincosl.h	(revision 353571)
> +++ src/k_sincosl.h	(working copy)
> _at__at_ -28,8 +28,8 _at__at_
>  #define	C1	((long double)C1hi + C1lo)
>  #else
>  static const long double
> -C1 =  0.0416666666666666666136L;	/*  0xaaaaaaaaaaaaaa9b.0p-68 */
> -S1 = -0.166666666666666666671L,		/* -0xaaaaaaaaaaaaaaab.0p-66 */
> +C1 =  0.0416666666666666666136L,	/*  0xaaaaaaaaaaaaaa9b.0p-68 */
> +S1 = -0.166666666666666666671L;		/* -0xaaaaaaaaaaaaaaab.0p-66 */
>  #endif
>  
>  static const double

Committed in r354467.

-- Brooks

Received on Thu Nov 07 2019 - 18:32:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:22 UTC