Lines Matching refs:x
42 expm1f(float x) in expm1f() argument
48 GET_FLOAT_WORD(hx,x); in expm1f()
56 return x+x; /* NaN */ in expm1f()
58 return (xsb==0)? x:-1.0;/* exp(+-inf)={inf,-1} */ in expm1f()
59 if(x > o_threshold) return huge*huge; /* overflow */ in expm1f()
62 if(x+tiny<(float)0.0) /* raise inexact */ in expm1f()
71 {hi = x - ln2_hi; lo = ln2_lo; k = 1;} in expm1f()
73 {hi = x + ln2_hi; lo = -ln2_lo; k = -1;} in expm1f()
75 k = invln2*x+((xsb==0)?(float)0.5:(float)-0.5); in expm1f()
77 hi = x - t*ln2_hi; /* t*ln2_hi is exact here */ in expm1f()
80 STRICT_ASSIGN(float, x, hi - lo); in expm1f()
81 c = (hi-x)-lo; in expm1f()
84 t = huge+x; /* return x with inexact flags when x!=0 */ in expm1f()
85 return x - (t-(huge+x)); in expm1f()
90 hfx = (float)0.5*x; in expm1f()
91 hxs = x*hfx; in expm1f()
94 e = hxs*((r1-t)/((float)6.0 - x*t)); in expm1f()
95 if(k==0) return x - (x*e-hxs); /* c is 0 */ in expm1f()
98 e = (x*(e-c)-c); in expm1f()
100 if(k== -1) return (float)0.5*(x-e)-(float)0.5; in expm1f()
102 if(x < (float)-0.25) return -(float)2.0*(e-(x+(float)0.5)); in expm1f()
103 else return one+(float)2.0*(x-e); in expm1f()
106 y = one-(e-x); in expm1f()
114 y = t-(e-x); in expm1f()
118 y = x-(e+t); in expm1f()