public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org>
To: newlib-cvs@sourceware.org
Subject: [newlib-cygwin] Fix the documentation comments for log_inline in pow
Date: Wed, 11 Jul 2018 15:17:00 -0000	[thread overview]
Message-ID: <20180711151704.92231.qmail@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=358f3c61d651b06626126423140b825b6a1ea3d8

commit 358f3c61d651b06626126423140b825b6a1ea3d8
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date:   Tue Jul 10 17:13:27 2018 +0100

    Fix the documentation comments for log_inline in pow
    
    There was a typo and the arguments were not explained clearly.

Diff:
---
 newlib/libm/common/pow.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/newlib/libm/common/pow.c b/newlib/libm/common/pow.c
index a5504e5..e02817e 100644
--- a/newlib/libm/common/pow.c
+++ b/newlib/libm/common/pow.c
@@ -53,9 +53,9 @@ top12 (double x)
   return asuint64 (x) >> 52;
 }
 
-/* Compute y+tail = log(x) where the rounded result is y and tail has about
-   additional 15 bits precision.  The bit representation of x if in ix, but
-   normalized in the subnormal range using sign bit too for the exponent.  */
+/* Compute y+TAIL = log(x) where the rounded result is y and TAIL has about
+   additional 15 bits precision.  IX is the bit representation of x, but
+   normalized in the subnormal range using the sign bit for the exponent.  */
 static inline double_t
 log_inline (uint64_t ix, double_t *tail)
 {


                 reply	other threads:[~2018-07-11 15:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180711151704.92231.qmail@sourceware.org \
    --to=corinna@sourceware.org \
    --cc=newlib-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).