[PATCH] Typo in libm code

Brooks Davis brooks at freebsd.org
Thu Nov 7 19:32:56 UTC 2019


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)
> @@ -28,8 +28,8 @@
>  #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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20191107/2ac0eccd/attachment.sig>


More information about the freebsd-hackers mailing list