Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2019 10:45:43 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        freebsd-hackers@freebsd.org, freebsd-current@freebsd.org
Subject:   [PATCH] Typo in libm code
Message-ID:  <20191107184543.GA12924@troutmask.apl.washington.edu>

next in thread | raw e-mail | index | archive | help
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

-- 
Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191107184543.GA12924>