From nobody Sat Sep 03 17:14:29 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MKhGZ1cGCz4bwwc; Sat, 3 Sep 2022 17:14:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MKhGZ17Rxz3nT7; Sat, 3 Sep 2022 17:14:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662225270; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JoZ03lthueKcdg++vcwmP4+3yi+Xqeo3/Hj06BJ/OfU=; b=oI+yrGFLGFLabv/71qT+HokMFogYxlCjumS1fRTXfGIGMZy0CJX1o8yg9eqti3qgMkI+iR 6SdAUxob7UK+seMFu9szsFyw8uDMKZBgPHZhTXAeRpkAtxF0tOg/412G4b6zbRi9ILXjHK SuYFnyPLue2nnk+KL7FZAIDx1hCi0qgoiOh4u/G2Oe1lsUo+CMRsRLDAhJXlhNTPa6j75K 8GUTAjf/niLYE6vEMADY9mkVJWPTn2twN9pfYrtdIx4twu6oUVLXXCWjZpJPE/UVQHUXI6 zsiBVQHtYMsl2yYpPP25zkvN79TCF2JXZHWxehlA4PeGLjBo5dLb38GW4OpI9A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MKhGZ0BQsz1CVC; Sat, 3 Sep 2022 17:14:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 283HETUm085114; Sat, 3 Sep 2022 17:14:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 283HET6L085113; Sat, 3 Sep 2022 17:14:29 GMT (envelope-from git) Date: Sat, 3 Sep 2022 17:14:29 GMT Message-Id: <202209031714.283HET6L085113@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gordon Bergling Subject: git: a52f4499aec7 - main - libm: Correct some typos in source code comments List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: gbe X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a52f4499aec707dbe8f4f40aba1ca24ab7595834 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662225270; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JoZ03lthueKcdg++vcwmP4+3yi+Xqeo3/Hj06BJ/OfU=; b=S2Ge0ttInKCd5SMi2cwXRnJI//xeH6IXdJ2HlKZLQLACtxPRJ3eFfgVePqHvXdvdvUWLeJ uz8Q3I5aNbHB9YLGI00tIlMAKJMIlrIZmwfhX1lsVt/7YeTLS/v/JMmDmQG+nF9N85YLY8 izqrd1OEb5ajmdpPj5HteCallAYfrmaTTIOCsdV8W4Tmw/8DubxvLEscd+JLj/Yz68/dBE S/QuE4yHTeHW+/SPq17eCXMLsZ++Mrs7udwO7mzztBdgVTaP1NgjKjDugsfqZIgRokIHM0 AL8JJY3tq+nwQkDotyCojJt1Va16enN2CcafYZn7e639wRa0J9Ig5dq/xBhC8A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662225270; a=rsa-sha256; cv=none; b=VoNcH7pl3xsuJlOfJLHFSY41lMZyo3zykC33//tfYSEWvx6sy2bmaSoU+Pc68nyUKnROo4 ijzEnWSBnH3BRfEg0c5Hr5Mgg6afW0Ar/DZhsgDTQSgrtK61V3P80uIRHz0NZN0B47VL7I V5NeWZQVyEGPD8aSlyQ6SoporMc09DhUQzWKMS2VpoWyZ4K9TkXRAr+VWCGawbuu+nSpVV /X++4/FvX71wge6aNaF1wabtEGAQQ00I0z5mYbsunHMWhz7afiRk/UX+u5OkpjsyJGlJCh oNCLot6Qz0pJID4iWIQSvs22nMrlqgjJoYO4yQ0nG1yTWyj8Fk5oZrAAth91UA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=a52f4499aec707dbe8f4f40aba1ca24ab7595834 commit a52f4499aec707dbe8f4f40aba1ca24ab7595834 Author: Gordon Bergling AuthorDate: 2022-09-03 17:14:02 +0000 Commit: Gordon Bergling CommitDate: 2022-09-03 17:14:02 +0000 libm: Correct some typos in source code comments - s/modfied/modified/ - s/minimun/minimum/ While here, fix some mandoc warnings: - whitespace at end of input line - unusual Xr punctuation - missing comma before name Obtained from: NetBSD MFC after: 5 days --- lib/msun/i387/s_ceil.S | 2 +- lib/msun/i387/s_ceilf.S | 2 +- lib/msun/i387/s_ceill.S | 2 +- lib/msun/i387/s_floor.S | 2 +- lib/msun/i387/s_floorf.S | 2 +- lib/msun/i387/s_floorl.S | 2 +- lib/msun/i387/s_trunc.S | 2 +- lib/msun/i387/s_truncf.S | 2 +- lib/msun/i387/s_truncl.S | 2 +- lib/msun/man/clog.3 | 2 +- lib/msun/man/cospi.3 | 4 ++-- lib/msun/man/sinpi.3 | 4 ++-- lib/msun/man/tanpi.3 | 8 ++++---- lib/msun/src/e_lgamma_r.c | 2 +- 14 files changed, 19 insertions(+), 19 deletions(-) diff --git a/lib/msun/i387/s_ceil.S b/lib/msun/i387/s_ceil.S index 7e099b04f136..71019ec6090f 100644 --- a/lib/msun/i387/s_ceil.S +++ b/lib/msun/i387/s_ceil.S @@ -46,7 +46,7 @@ ENTRY(ceil) orw $0x0800,%dx /* round towards +oo */ andw $0xfbff,%dx movw %dx,-8(%ebp) - fldcw -8(%ebp) /* load modfied control word */ + fldcw -8(%ebp) /* load modified control word */ fldl 8(%ebp); /* round */ frndint diff --git a/lib/msun/i387/s_ceilf.S b/lib/msun/i387/s_ceilf.S index e9009c33e736..44480dededac 100644 --- a/lib/msun/i387/s_ceilf.S +++ b/lib/msun/i387/s_ceilf.S @@ -18,7 +18,7 @@ ENTRY(ceilf) orw $0x0800,%dx /* round towards +oo */ andw $0xfbff,%dx movw %dx,-8(%ebp) - fldcw -8(%ebp) /* load modfied control word */ + fldcw -8(%ebp) /* load modified control word */ flds 8(%ebp); /* round */ frndint diff --git a/lib/msun/i387/s_ceill.S b/lib/msun/i387/s_ceill.S index 184ef1812db4..8ed48aa1e603 100644 --- a/lib/msun/i387/s_ceill.S +++ b/lib/msun/i387/s_ceill.S @@ -16,7 +16,7 @@ ENTRY(ceill) orw $0x0800,%dx /* round towards +oo */ andw $0xfbff,%dx movw %dx,-8(%ebp) - fldcw -8(%ebp) /* load modfied control word */ + fldcw -8(%ebp) /* load modified control word */ fldt 8(%ebp) /* round */ frndint diff --git a/lib/msun/i387/s_floor.S b/lib/msun/i387/s_floor.S index a06c66e4f206..f9d1ab976897 100644 --- a/lib/msun/i387/s_floor.S +++ b/lib/msun/i387/s_floor.S @@ -46,7 +46,7 @@ ENTRY(floor) orw $0x0400,%dx /* round towards -oo */ andw $0xf7ff,%dx movw %dx,-8(%ebp) - fldcw -8(%ebp) /* load modfied control word */ + fldcw -8(%ebp) /* load modified control word */ fldl 8(%ebp); /* round */ frndint diff --git a/lib/msun/i387/s_floorf.S b/lib/msun/i387/s_floorf.S index e758d0576fa4..ecd9307f7b3d 100644 --- a/lib/msun/i387/s_floorf.S +++ b/lib/msun/i387/s_floorf.S @@ -18,7 +18,7 @@ ENTRY(floorf) orw $0x0400,%dx /* round towards -oo */ andw $0xf7ff,%dx movw %dx,-8(%ebp) - fldcw -8(%ebp) /* load modfied control word */ + fldcw -8(%ebp) /* load modified control word */ flds 8(%ebp); /* round */ frndint diff --git a/lib/msun/i387/s_floorl.S b/lib/msun/i387/s_floorl.S index cbb05f0fc5ea..ae9e91baf216 100644 --- a/lib/msun/i387/s_floorl.S +++ b/lib/msun/i387/s_floorl.S @@ -16,7 +16,7 @@ ENTRY(floorl) orw $0x0400,%dx /* round towards -oo */ andw $0xf7ff,%dx movw %dx,-8(%ebp) - fldcw -8(%ebp) /* load modfied control word */ + fldcw -8(%ebp) /* load modified control word */ fldt 8(%ebp) /* round */ frndint diff --git a/lib/msun/i387/s_trunc.S b/lib/msun/i387/s_trunc.S index 0a9ad41a705c..61bbc537556a 100644 --- a/lib/msun/i387/s_trunc.S +++ b/lib/msun/i387/s_trunc.S @@ -15,7 +15,7 @@ ENTRY(trunc) movw -4(%ebp),%dx orw $0x0c00,%dx /* round towards -oo */ movw %dx,-8(%ebp) - fldcw -8(%ebp) /* load modfied control word */ + fldcw -8(%ebp) /* load modified control word */ fldl 8(%ebp) /* round */ frndint diff --git a/lib/msun/i387/s_truncf.S b/lib/msun/i387/s_truncf.S index 0583dc8fd680..4c6c3f1f2cab 100644 --- a/lib/msun/i387/s_truncf.S +++ b/lib/msun/i387/s_truncf.S @@ -15,7 +15,7 @@ ENTRY(truncf) movw -4(%ebp),%dx orw $0x0c00,%dx /* round towards -oo */ movw %dx,-8(%ebp) - fldcw -8(%ebp) /* load modfied control word */ + fldcw -8(%ebp) /* load modified control word */ flds 8(%ebp) /* round */ frndint diff --git a/lib/msun/i387/s_truncl.S b/lib/msun/i387/s_truncl.S index c3815ad61a68..a52471966b90 100644 --- a/lib/msun/i387/s_truncl.S +++ b/lib/msun/i387/s_truncl.S @@ -15,7 +15,7 @@ ENTRY(truncl) movw -4(%ebp),%dx orw $0x0c00,%dx /* round towards -oo */ movw %dx,-8(%ebp) - fldcw -8(%ebp) /* load modfied control word */ + fldcw -8(%ebp) /* load modified control word */ fldt 8(%ebp) /* round */ frndint diff --git a/lib/msun/man/clog.3 b/lib/msun/man/clog.3 index 753ce4369993..d971a5c901a3 100644 --- a/lib/msun/man/clog.3 +++ b/lib/msun/man/clog.3 @@ -29,7 +29,7 @@ .Os .Sh NAME .Nm clog , -.Nm clogf , +.Nm clogf and .Nm clogl .Nd complex natural logarithm functions diff --git a/lib/msun/man/cospi.3 b/lib/msun/man/cospi.3 index b76e1858ed33..4349756b610c 100644 --- a/lib/msun/man/cospi.3 +++ b/lib/msun/man/cospi.3 @@ -60,7 +60,7 @@ and functions returns .Fn cos "\(*p \(mu x" . If \*(Bax\*(Ba \*(Ge 2^(p - 1) -where p is the floating\(enpoint precision of +where p is the floating\(enpoint precision of .Ar x , then the returned value is 1 and it has no significance. .Sh SPECIAL VALUES @@ -103,7 +103,7 @@ These functions conform to IEEE Std 754\(tm\(en2008 , \(dqIEEE Standard for Floating-Point Arithmetic\(dq and to -ISO/IEC TS 18661-4 , +ISO/IEC TS 18661-4 , \(dqInformation technology \(em Programming languages, their environments, and system software interfaces \(em Floating\(enpoint extensions for C\(dq \(em Part 4: Supplementary functions. diff --git a/lib/msun/man/sinpi.3 b/lib/msun/man/sinpi.3 index 4ae162bd1c74..909c6f341998 100644 --- a/lib/msun/man/sinpi.3 +++ b/lib/msun/man/sinpi.3 @@ -60,7 +60,7 @@ and functions returns .Fn sin "\(*p \(mu x" . If \*(Bax\*(Ba \*(Ge 2^(p - 1) -where p is the floating\(enpoint precision of +where p is the floating\(enpoint precision of .Ar x , then the returned value is \*(Pm0 and it has no significance. .Sh SPECIAL VALUES @@ -95,7 +95,7 @@ These functions conform to IEEE Std 754\(tm\(en2008 , \(dqIEEE Standard for Floating-Point Arithmetic\(dq and to -ISO/IEC TS 18661-4 , +ISO/IEC TS 18661-4 , \(dqInformation technology \(em Programming languages, their environments, and system software interfaces \(em Floating\(enpoint extensions for C\(dq \(em Part 4: Supplementary functions. diff --git a/lib/msun/man/tanpi.3 b/lib/msun/man/tanpi.3 index 9cbbf4efaf23..41fd0cbd81d4 100644 --- a/lib/msun/man/tanpi.3 +++ b/lib/msun/man/tanpi.3 @@ -49,7 +49,7 @@ The and .Fn tanpil functions compute the tangent of -.Fa "\(*p \(mu x" +.Fa "\(*p \(mu x" and measure angles in half-cycles. .Sh RETURN VALUES The @@ -60,7 +60,7 @@ and functions returns .Fn tan "\(*p \(mu x" . If \*(Bax\*(Ba \*(Ge 2^(p - 1) -where p is the floating\(enpoint precision of +where p is the floating\(enpoint precision of .Ar x , then the returned value is \*(Pm0 and it has no significance. .Sh SPECIAL VALUES @@ -89,7 +89,7 @@ return an \*(Na and raises an FE_INVALID exception. .Xr math 3 , .Xr sin 3 , .Xr sinpi 3 , -.Xr tan 3 , +.Xr tan 3 .Sh AUTHORS The half\(encycle trignometric functions were written by .An Steven G. Kargl Aq Mt kargl@FreeBSD.org . @@ -98,7 +98,7 @@ These functions conform to IEEE Std 754\(tm\(en2008 , \(dqIEEE Standard for Floating-Point Arithmetic\(dq and to -ISO/IEC TS 18661-4 , +ISO/IEC TS 18661-4 , \(dqInformation technology \(em Programming languages, their environments, and system software interfaces \(em Floating\(enpoint extensions for C\(dq \(em Part 4: Supplementary functions. diff --git a/lib/msun/src/e_lgamma_r.c b/lib/msun/src/e_lgamma_r.c index be70767ec5c0..48da493fe1d2 100644 --- a/lib/msun/src/e_lgamma_r.c +++ b/lib/msun/src/e_lgamma_r.c @@ -27,7 +27,7 @@ __FBSDID("$FreeBSD$"); * = log(6.3*5.3) + lgamma(5.3) * = log(6.3*5.3*4.3*3.3*2.3) + lgamma(2.3) * 2. Polynomial approximation of lgamma around its - * minimun ymin=1.461632144968362245 to maintain monotonicity. + * minimum ymin=1.461632144968362245 to maintain monotonicity. * On [ymin-0.23, ymin+0.27] (i.e., [1.23164,1.73163]), use * Let z = x-ymin; * lgamma(x) = -1.214862905358496078218 + z^2*poly(z)