Lines Matching refs:k
40 __int32_t k,xsb; in expm1f() local
66 {hi = x - ln2_hi; lo = ln2_lo; k = 1;} in expm1f()
68 {hi = x + ln2_hi; lo = -ln2_lo; k = -1;} in expm1f()
70 k = invln2*x+((xsb==0)?0.5f:-0.5f); in expm1f()
71 t = k; in expm1f()
82 else k = 0; in expm1f()
90 if(k==0) return x - (x*e-hxs); /* c is 0 */ in expm1f()
94 if(k== -1) return 0.5f*(x-e)-0.5f; in expm1f()
95 if(k==1) { in expm1f()
99 if (k <= -2 || k>56) { /* suffice to return exp(x)-1 */ in expm1f()
103 SET_FLOAT_WORD(y,i+(k<<23)); /* add k to y's exponent */ in expm1f()
107 if(k<23) { in expm1f()
109 SET_FLOAT_WORD(t,0x3f800000 - (0x1000000>>k)); /* t=1-2^-k */ in expm1f()
112 SET_FLOAT_WORD(y,i+(k<<23)); /* add k to y's exponent */ in expm1f()
115 SET_FLOAT_WORD(t,((0x7f-k)<<23)); /* 2^-k */ in expm1f()
119 SET_FLOAT_WORD(y,i+(k<<23)); /* add k to y's exponent */ in expm1f()