Date: Mon, 31 Dec 2018 15:43:06 +0000 (UTC) From: "Pedro F. Giffuni" <pfg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r342651 - in head/lib/msun: ld128 src Message-ID: <201812311543.wBVFh6JT017935@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pfg Date: Mon Dec 31 15:43:06 2018 New Revision: 342651 URL: https://svnweb.freebsd.org/changeset/base/342651 Log: msun: Fix some old typos. Seen in a posting from July 27 by "CM Graff" in musl-libc. Modified: head/lib/msun/ld128/e_powl.c head/lib/msun/src/k_rem_pio2.c Modified: head/lib/msun/ld128/e_powl.c ============================================================================== --- head/lib/msun/ld128/e_powl.c Mon Dec 31 12:07:17 2018 (r342650) +++ head/lib/msun/ld128/e_powl.c Mon Dec 31 15:43:06 2018 (r342651) @@ -32,7 +32,7 @@ * 1. Compute and return log2(x) in two pieces: * log2(x) = w1 + w2, * where w1 has 113-53 = 60 bit trailing zeros. - * 2. Perform y*log2(x) = n+y' by simulating muti-precision + * 2. Perform y*log2(x) = n+y' by simulating multi-precision * arithmetic, where |y'|<=0.5. * 3. Return x**y = 2**n*exp(y'*log2) * Modified: head/lib/msun/src/k_rem_pio2.c ============================================================================== --- head/lib/msun/src/k_rem_pio2.c Mon Dec 31 12:07:17 2018 (r342650) +++ head/lib/msun/src/k_rem_pio2.c Mon Dec 31 15:43:06 2018 (r342651) @@ -52,7 +52,7 @@ __FBSDID("$FreeBSD$"); * 64-bit precision 2 * 113-bit precision 3 * The actual value is the sum of them. Thus for 113-bit - * precison, one may have to do something like: + * precision, one may have to do something like: * * long double t,w,r_head, r_tail; * t = (long double)y[2] + (long double)y[1];
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812311543.wBVFh6JT017935>