diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2018-07-10 17:13:27 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2018-07-11 17:16:04 +0200 |
commit | 358f3c61d651b06626126423140b825b6a1ea3d8 (patch) | |
tree | 66a8609e3ee29ef899761770f6dd7769f9686580 /newlib/libm | |
parent | a4f1f59bc7821cb115e5f42270aacfe3173c14d2 (diff) | |
download | newlib-358f3c61d651b06626126423140b825b6a1ea3d8.zip newlib-358f3c61d651b06626126423140b825b6a1ea3d8.tar.gz newlib-358f3c61d651b06626126423140b825b6a1ea3d8.tar.bz2 |
Fix the documentation comments for log_inline in pow
There was a typo and the arguments were not explained clearly.
Diffstat (limited to 'newlib/libm')
-rw-r--r-- | newlib/libm/common/pow.c | 6 |
1 files 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) { |