Searched refs:xsb (Results 1 - 4 of 4) sorted by relevance

/openbsd-current/lib/libm/src/
H A De_exp.c104 int32_t k,xsb; local
108 xsb = (hx>>31)&1; /* sign bit of x */
118 else return (xsb==0)? x:0.0; /* exp(+-inf)={inf,0} */
127 hi = x-ln2HI[xsb]; lo=ln2LO[xsb]; k = 1-xsb-xsb;
129 k = invln2*x+halF[xsb];
H A De_expf.c42 int32_t k,xsb; local
46 xsb = (hx>>31)&1; /* sign bit of x */
55 return (xsb==0)? x:0.0; /* exp(+-inf)={inf,0} */
63 hi = x-ln2HI[xsb]; lo=ln2LO[xsb]; k = 1-xsb-xsb;
65 k = invln2*x+halF[xsb];
H A Ds_expm1.c132 int32_t k,xsb; local
136 xsb = hx&0x80000000; /* sign bit of x */
137 if(xsb==0) y=x; else y= -x; /* y = |x| */
148 else return (xsb==0)? x:-1.0;/* exp(+-inf)={inf,-1} */
152 if(xsb!=0) { /* x < -56*ln2, return -1.0 with inexact */
161 if(xsb==0)
166 k = invln2*x+((xsb==0)?0.5:-0.5);
H A Ds_expm1f.c38 int32_t k,xsb; local
42 xsb = hx&0x80000000; /* sign bit of x */
43 if(xsb==0) y=x; else y= -x; /* y = |x| */
52 return (xsb==0)? x:-1.0;/* exp(+-inf)={inf,-1} */
55 if(xsb!=0) { /* x < -27*ln2, return -1.0 with inexact */
64 if(xsb==0)
69 k = invln2*x+((xsb==0)?(float)0.5:(float)-0.5);

Completed in 118 milliseconds