This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.24-325-g6adaead


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  6adaeadf95fa5cc68e92b07456bb82dbd85afd06 (commit)
      from  bb5badf17087099dd9140f812778f7a8615b2111 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=6adaeadf95fa5cc68e92b07456bb82dbd85afd06

commit 6adaeadf95fa5cc68e92b07456bb82dbd85afd06
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Tue Nov 1 18:38:52 2016 +0000

    Correct clog10 documentation (bug 19673).
    
    Bug 19673 reports that the documentation of clog10 is incorrect, both
    failing to include the division by log (10) in the imaginary part and,
    in the non-TeX version of the equation only, describing the LHS as log
    rather than log10.
    
    This patch fixes both issues.  Note: I think it's appropriate that the
    LHS says log10 not clog10, and that the cexp and clog descriptions
    referred to in a comment in that bug report similarly say exp and log;
    this is a mathematical description not a literal C one.
    
    Tested for x86_64.
    
    	[BZ #19673]
    	* manual/math.texi (Exponents and Logarithms): Correct description
    	of clog10.

diff --git a/ChangeLog b/ChangeLog
index 831c876..6be5c5d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2016-11-01  Joseph Myers  <joseph@codesourcery.com>
+
+	[BZ #19673]
+	* manual/math.texi (Exponents and Logarithms): Correct description
+	of clog10.
+
 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
 
 	[Bz #20729]
diff --git a/manual/math.texi b/manual/math.texi
index ccafb94..b4bb323 100644
--- a/manual/math.texi
+++ b/manual/math.texi
@@ -804,10 +804,10 @@ These functions return the base 10 logarithm of the complex value
 @var{z}.  Mathematically, this corresponds to the value
 
 @ifnottex
-@math{log (z) = log10 (cabs (z)) + I * carg (z)}
+@math{log10 (z) = log10 (cabs (z)) + I * carg (z) / log (10)}
 @end ifnottex
 @tex
-$$\log_{10}(z) = \log_{10}|z| + i \arg z$$
+$$\log_{10}(z) = \log_{10}|z| + i \arg z / \log (10)$$
 @end tex
 
 These functions are GNU extensions.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog        |    6 ++++++
 manual/math.texi |    4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]