/external/fdlibm/ |
s_expm1.c | 136 double y,hi,lo,c,t,e,hxs,hfx,r1; local 186 hxs = x*hfx; 187 r1 = one+hxs*(Q1+hxs*(Q2+hxs*(Q3+hxs*(Q4+hxs*Q5)))); 189 e = hxs*((r1-t)/(6.0 - x*t)); 190 if(k==0) return x - (x*e-hxs); /* c is 0 */ 193 e -= hxs; [all...] |
/bionic/libm/upstream-freebsd/lib/msun/src/ |
s_expm1f.c | 44 float y,hi,lo,c,t,e,hxs,hfx,r1,twopk; local 91 hxs = x*hfx; 92 r1 = one+hxs*(Q1+hxs*Q2); 94 e = hxs*((r1-t)/((float)6.0 - x*t)); 95 if(k==0) return x - (x*e-hxs); /* c is 0 */ 99 e -= hxs;
|
s_expm1.c | 123 /* Scaled Q's: Qn_here = 2**n * Qn_above, for R(2*z) where z = hxs = x*x/2: */ 135 double y,hi,lo,c,t,e,hxs,hfx,r1,twopk; local 185 hxs = x*hfx; 186 r1 = one+hxs*(Q1+hxs*(Q2+hxs*(Q3+hxs*(Q4+hxs*Q5)))); 188 e = hxs*((r1-t)/(6.0 - x*t)); 189 if(k==0) return x - (x*e-hxs); /* c is 0 * [all...] |