/src/lib/libm/src/ |
e_log.c | 48 * = k*ln2_hi+(f-(hfsq-(s*(hfsq+R)+k*ln2_lo))) 50 * ln2_hi + ln2_lo, 51 * where n*ln2_hi is always exact for |n| < 2000. 73 ln2_hi = 6.93147180369123816490e-01, /* 3fe62e42 fee00000 */ variable in typeref:typename:const double 112 return dk*ln2_hi+dk*ln2_lo;} 116 return dk*ln2_hi-((R-dk*ln2_lo)-f);} 131 return dk*ln2_hi-((hfsq-(s*(hfsq+R)+dk*ln2_lo))-f); 134 return dk*ln2_hi-((s*(f-R)-dk*ln2_lo)-f);
|
e_logf.c | 25 ln2_hi = 6.9313812256e-01, /* 0x3f317180 */ variable in typeref:typename:const float 63 return dk*ln2_hi+dk*ln2_lo;} 67 return dk*ln2_hi-((R-dk*ln2_lo)-f);} 82 return dk*ln2_hi-((hfsq-(s*(hfsq+R)+dk*ln2_lo))-f); 85 return dk*ln2_hi-((s*(f-R)-dk*ln2_lo)-f);
|
s_expm1.c | 121 ln2_hi = 6.93147180369123816490e-01,/* 0x3fe62e42, 0xfee00000 */ variable in typeref:typename:const double 168 {hi = x - ln2_hi; lo = ln2_lo; k = 1;} 170 {hi = x + ln2_hi; lo = -ln2_lo; k = -1;} 174 hi = x - t*ln2_hi; /* t*ln2_hi is exact here */
|
s_expm1f.c | 29 ln2_hi = 6.9313812256e-01,/* 0x3f317180 */ variable in typeref:typename:const float 73 {hi = x - ln2_hi; lo = ln2_lo; k = 1;} 75 {hi = x + ln2_hi; lo = -ln2_lo; k = -1;} 79 hi = x - t*ln2_hi; /* t*ln2_hi is exact here */
|
s_clogl.c | 40 ln2_hi = 6.9314718055829871e-1; /* 0x162e42fefa0000.0p-53 */ variable in typeref:typename:const double 100 (MAX_EXP - 2) * ln2l_lo + (MAX_EXP - 2) * ln2_hi, v)); 107 (MIN_EXP - 2) * ln2l_lo + (MIN_EXP - 2) * ln2_hi, v));
|
s_log1pf.c | 27 ln2_hi = 6.9313812256e-01, /* 0x3f317180 */ variable in typeref:typename:const float 96 else {c += k*ln2_lo; return k*ln2_hi+c;} 100 return k*ln2_hi-((R-(k*ln2_lo+c))-f); 106 return k*ln2_hi-((hfsq-(s*(hfsq+R)+(k*ln2_lo+c)))-f);
|
/src/lib/libm/ld80/ |
s_logl.c | 116 #define ln2_hi F_hi(TSIZE - 1) macro 127 * ln2_hi and each F_hi(i) are rounded to a number of bits that 128 * makes F_hi(i) + dk*ln2_hi exact for all i and all dk. 130 * The last entry (for X just below 2) is used to define ln2_hi 132 * with dk*ln2_hi and dk*ln2_lo, respectively, when dk = -1. 531 * F_hi(i) with dk*ln_2_lo and dk*ln2_hi when k is -1 and i is 546 _3sumF(val_hi, val_lo, F_hi(i) + dk * ln2_hi); 656 _3sumF(val_hi, val_lo, F_hi(i) + dk * ln2_hi);
|
/src/lib/libm/ld128/ |
s_logl.c | 120 #define ln2_hi F_hi(TSIZE - 1) macro 132 * ln2_hi and each F_hi(i) are rounded to a number of bits that 133 * makes F_hi(i) + dk*ln2_hi exact for all i and all dk. 135 * The last entry (for X just below 2) is used to define ln2_hi 137 * with dk*ln2_hi and dk*ln2_lo, respectively, when dk = -1. 527 * F_hi(i) with dk*ln_2_lo and dk*ln2_hi when k is -1 and i is 558 _3sumF(val_hi, val_lo, F_hi(i) + dk * ln2_hi); 666 _3sumF(val_hi, val_lo, F_hi(i) + dk * ln2_hi);
|