From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 92330 invoked by alias); 11 Jul 2018 15:17:06 -0000 Mailing-List: contact newlib-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-cvs-owner@sourceware.org Received: (qmail 92234 invoked by uid 9078); 11 Jul 2018 15:17:04 -0000 Date: Wed, 11 Jul 2018 15:17:00 -0000 Message-ID: <20180711151704.92231.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Corinna Vinschen To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] Fix the documentation comments for log_inline in pow X-Act-Checkin: newlib-cygwin X-Git-Author: Szabolcs Nagy X-Git-Refname: refs/heads/master X-Git-Oldrev: a4f1f59bc7821cb115e5f42270aacfe3173c14d2 X-Git-Newrev: 358f3c61d651b06626126423140b825b6a1ea3d8 X-SW-Source: 2018-q3/txt/msg00009.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=358f3c61d651b06626126423140b825b6a1ea3d8 commit 358f3c61d651b06626126423140b825b6a1ea3d8 Author: Szabolcs Nagy 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) {