From nobody Thu Sep 08 08:17:17 2022 X-Original-To: dev-commits-src-branches@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 4MNX6P45lBz4bW8n; Thu, 8 Sep 2022 08:17:17 +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 4MNX6P3j2gz3gtt; Thu, 8 Sep 2022 08:17:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662625037; 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=bXKOZD8lXXE94lzFzCCAX96MICoxouZmJs7sO6GTIxw=; b=DBlG59L+MrhDWQRHnTR7S7q7HX17z/mzd/fBf8dchYJUZzsHu6ydI/wd8LVMNzaR09SRtZ yE7pAIlxuzhqtnL8FMWYBQzaU/1726/XR8fuxZ141l9m/WdJwI27w9sdstyFzRhnLuZmuI oEEwu6EVLWSmT56bWFNjBDODP0ASVLeCs1DUVQxAF2eMQuX7WiDQx1YWgEc8hjaiESbzbQ vOIArmlBRWAqsmDOHYH5VV0ij1RjOY+OcWBEuxYhDMFfBbbGNvr9iFHnIuGcpnvviYv6uT Ioh61Q09vbw/DNyA/4xmL24roNYfoaG16Ao/fF86hkCgUzI8KN7/EmOftIMT6Q== 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 4MNX6P2lNyzpXT; Thu, 8 Sep 2022 08:17:17 +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 2888HHId075105; Thu, 8 Sep 2022 08:17:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2888HHXN075104; Thu, 8 Sep 2022 08:17:17 GMT (envelope-from git) Date: Thu, 8 Sep 2022 08:17:17 GMT Message-Id: <202209080817.2888HHXN075104@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Gordon Bergling Subject: git: ec423c39532b - stable/13 - libm: Correct some typos in source code comments List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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/stable/13 X-Git-Reftype: branch X-Git-Commit: ec423c39532b0137c0d8d7bd2322301644bf7196 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662625037; 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=bXKOZD8lXXE94lzFzCCAX96MICoxouZmJs7sO6GTIxw=; b=ve99G7NU8uGRGUTNZmjEtloXRvvrCZUEyURUDxEtT9mXOnlDiE0qzLXPRgo/3Z9XJD0gAM VIwTCNg9aAZv76reftoVAv78kjZTwjbj3AC9MfQXEgtu5OQzlZUh3oty+vEq/Jkn52A3hB DY4XIiq6gbAQIxKO8DNY6XrZSq47C6qFdTRbgevHzjTmVLSO3NR7E44zk8KnGg7OBFxtNd 8Ark3n3p9VJkCSbOrWOXM8jhlu3vASwvzlDEbJi0qL2/CZcuegggP+jIr7KGjB5gL5EsFX SSceP/SQxhDfh8wluBoaGB8yJkuY+9CQJrAh2L7RbICTLRsx5xlHBac4mmqijQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662625037; a=rsa-sha256; cv=none; b=dSRf77BZAAIghOYs9qVBoRPHpEZJYYpHKfdUjsm3YleLHVLK/+RHMwB1CHkg8f/HwhS2k+ AGhrcR5/GlOnjj7ic70jK0eQuwzBURgObA9LhaW5+ZFxz0Eq195zDBgc+ML01SKJzP7uNS ChDrOIcKoIcwf9IXYctp1Haw7LIFHEq16N3v4gfOU1Z6ykTP2TrTMy3UMAhYOJYp3ljCEl y52YoC74bdvOa4nxBLT+iN8kvk69d25Zm4QwK3qvVIud3DcrJfoAWMPDEN+mD1f/du3pdB V15QM3cXxs15C03nVpLBbXNLfysYuD3V/GlxYPzyPf+njLJwmBWKHL+jh5PHVA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=ec423c39532b0137c0d8d7bd2322301644bf7196 commit ec423c39532b0137c0d8d7bd2322301644bf7196 Author: Gordon Bergling AuthorDate: 2022-09-03 17:14:02 +0000 Commit: Gordon Bergling CommitDate: 2022-09-08 08:17:03 +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 (cherry picked from commit a52f4499aec707dbe8f4f40aba1ca24ab7595834) --- 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)