Re: Man page issues: logb, significand, cbrt, log2, log10, exp10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 29, 2024 at 07:28:10PM -0500, Morten Welinder wrote:
> log2, log10:
> These use, e.g., "base 2 logarithm".  Compare that to exp2's "base-2
> exponential" (with a hyphen).  I am leaning towards the hyphenated
> version being correct, but I am not a native English speaker.

Agree.

Have a lovely night,
Alex

commit daffbd4861cfd0534802dbed3122e2f95d9afcd0 (HEAD -> contrib, alx/contrib)
Author: Alejandro Colomar <alx@xxxxxxxxxx>
Date:   Tue Mar 5 02:15:14 2024 +0100

    log2.3, log10.3: wfix
    
    Reported-by: Morten Welinder <mwelinder@xxxxxxxxx>
    Signed-off-by: Alejandro Colomar <alx@xxxxxxxxxx>

diff --git a/man3/log10.3 b/man3/log10.3
index 415a77c5a..40e43117a 100644
--- a/man3/log10.3
+++ b/man3/log10.3
@@ -42,10 +42,10 @@ .SH SYNOPSIS
         || /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
 .fi
 .SH DESCRIPTION
-These functions return the base 10 logarithm of
+These functions return the base-10 logarithm of
 .IR x .
 .SH RETURN VALUE
-On success, these functions return the base 10 logarithm of
+On success, these functions return the base-10 logarithm of
 .IR x .
 .P
 For special cases, including where
diff --git a/man3/log2.3 b/man3/log2.3
index 62103fe46..11d8c3cc2 100644
--- a/man3/log2.3
+++ b/man3/log2.3
@@ -41,10 +41,10 @@ .SH SYNOPSIS
     _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L
 .fi
 .SH DESCRIPTION
-These functions return the base 2 logarithm of
+These functions return the base-2 logarithm of
 .IR x .
 .SH RETURN VALUE
-On success, these functions return the base 2 logarithm of
+On success, these functions return the base-2 logarithm of
 .IR x .
 .P
 For special cases, including where


-- 
<https://www.alejandro-colomar.es/>
Looking for a remote C programming job at the moment.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux