aboutsummaryrefslogtreecommitdiff
path: root/math/pow.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2018-07-09 17:42:10 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2018-07-10 17:20:10 +0100
commitae8bc7d00ce47bd9271594d58441e06a74943ea7 (patch)
tree0a4d8b9aa3bad0fa199ccc65d2aa2ef54bf11907 /math/pow.c
parent3262ef2381aba22df5b7e78f568225cc69df74ab (diff)
downloadarm-optimized-routines-ae8bc7d00ce47bd9271594d58441e06a74943ea7.tar.gz
Fix the documentation comments for log_inline in pow
There was a typo and the arguments were not explained clearly.
Diffstat (limited to 'math/pow.c')
-rw-r--r--math/pow.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/math/pow.c b/math/pow.c
index 805d2ce..9f953e9 100644
--- a/math/pow.c
+++ b/math/pow.c
@@ -41,9 +41,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)
{