The branch main has been updated by gbe (doc committer):

URL: 
https://cgit.FreeBSD.org/src/commit/?id=a52f4499aec707dbe8f4f40aba1ca24ab7595834

commit a52f4499aec707dbe8f4f40aba1ca24ab7595834
Author:     Gordon Bergling <g...@freebsd.org>
AuthorDate: 2022-09-03 17:14:02 +0000
Commit:     Gordon Bergling <g...@freebsd.org>
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 ka...@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)

Reply via email to