diff options
author | Bruno Haible <bruno@clisp.org> | 2012-03-10 19:01:00 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2012-03-11 00:40:21 +0100 |
commit | 35ae1e147a8fe5c9003320f4a76edf8fb4dbf096 (patch) | |
tree | edd13da86179f802802f7b8035000aecffca8380 /lib/expm1.c | |
parent | f9d2fe251f3a104df656ab6ffc64821893ab9003 (diff) | |
download | gnulib-35ae1e147a8fe5c9003320f4a76edf8fb4dbf096.tar.gz |
Fix some comments.
* lib/expl.c: Fix an ambiguous comment.
* lib/expm1.c: Likewise.
* lib/expm1l.c: Likewise.
* lib/exp2.c: Likewise.
* lib/exp2l.c: Likewise.
Diffstat (limited to 'lib/expm1.c')
-rw-r--r-- | lib/expm1.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/expm1.c b/lib/expm1.c index 3595fa3a52..8bb85130b1 100644 --- a/lib/expm1.c +++ b/lib/expm1.c @@ -99,9 +99,9 @@ expm1 (double x) + 21844/6081075 * z^13 - 929569/638512875 * z^15 + ... - Since |z| <= log(2)/1024 < 0.0007, the relative error of the z^7 term - is < 0.0007^6 < 2^-60 <= 2^-DBL_MANT_DIG, therefore we can truncate - the series after the z^5 term. + Since |z| <= log(2)/1024 < 0.0007, the relative contribution of the + z^7 term is < 0.0007^6 < 2^-60 <= 2^-DBL_MANT_DIG, therefore we can + truncate the series after the z^5 term. Given the usual bounds DBL_MAX_EXP <= 16384, DBL_MANT_DIG <= 120, we can estimate x: -84 <= x <= 11357. |