From b5e547df33793b14aaa15be88e6df1c5431156f4 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Thu, 14 Jun 2007 05:57:13 +0000 Subject: [PATCH] Oops, back out previous commit since it was backwards to a wrong branch. --- lib/msun/src/e_log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/msun/src/e_log.c b/lib/msun/src/e_log.c index eee7cf957e89..ed3c401a9dd7 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);