Lines Matching refs:k
43 int32_t k,xsb; in __expm1f() local
73 {hi = x - ln2_hi; lo = ln2_lo; k = 1;} in __expm1f()
75 {hi = x + ln2_hi; lo = -ln2_lo; k = -1;} in __expm1f()
77 k = invln2*x+((xsb==0)?(float)0.5:(float)-0.5); in __expm1f()
78 t = k; in __expm1f()
90 else k = 0; in __expm1f()
98 if(k==0) return x - (x*e-hxs); /* c is 0 */ in __expm1f()
102 if(k== -1) return (float)0.5*(x-e)-(float)0.5; in __expm1f()
103 if(k==1) { in __expm1f()
107 if (k <= -2 || k>56) { /* suffice to return exp(x)-1 */ in __expm1f()
111 SET_FLOAT_WORD(y,i+(k<<23)); /* add k to y's exponent */ in __expm1f()
115 if(k<23) { in __expm1f()
117 SET_FLOAT_WORD(t,0x3f800000 - (0x1000000>>k)); /* t=1-2^-k */ in __expm1f()
120 SET_FLOAT_WORD(y,i+(k<<23)); /* add k to y's exponent */ in __expm1f()
123 SET_FLOAT_WORD(t,((0x7f-k)<<23)); /* 2^-k */ in __expm1f()
127 SET_FLOAT_WORD(y,i+(k<<23)); /* add k to y's exponent */ in __expm1f()