diff options
author | bde <bde@FreeBSD.org> | 2007-06-14 05:57:13 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2007-06-14 05:57:13 +0000 |
commit | fd5ba4c3e4557004dc6d3cd7e10e4b213a099e95 (patch) | |
tree | f4f43a7f46875d9482bd872475ba1d8a10431d9f /lib/msun | |
parent | c1decaa9ff260fc58e7715dba80f3ab7773f830c (diff) | |
download | FreeBSD-src-fd5ba4c3e4557004dc6d3cd7e10e4b213a099e95.zip FreeBSD-src-fd5ba4c3e4557004dc6d3cd7e10e4b213a099e95.tar.gz |
Oops, back out previous commit since it was backwards to a wrong branch.
Diffstat (limited to 'lib/msun')
-rw-r--r-- | lib/msun/src/e_log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/msun/src/e_log.c b/lib/msun/src/e_log.c index eee7cf9..ed3c401 100644 --- a/lib/msun/src/e_log.c +++ b/lib/msun/src/e_log.c @@ -107,7 +107,7 @@ __ieee754_log(double x) SET_HIGH_WORD(x,hx|(i^0x3ff00000)); /* normalize x or x/2 */ k += (i>>20); f = x-1.0; - if((0x000fffff&(2+hx))<3) { /* |f| < 2**-20 */ + if((0x000fffff&(2+hx))<3) { /* -2**-20 <= f < 2**-20 */ if(f==zero) if(k==0) return zero; else {dk=(double)k; return dk*ln2_hi+dk*ln2_lo;} R = f*f*(0.5-0.33333333333333333*f); |