Home
last modified time | relevance | path

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

/picolibc-3.7.0-3.6.0/newlib/libm/math/
Dsf_exp.c44 __int32_t k = 0, xsb, sx; in expf() local
48 xsb = (sx >> 31) & 1; /* sign bit of x */ in expf()
55 return (xsb == 0) ? x : 0.0f; /* exp(+-inf)={inf,0} */ in expf()
64 hi = x - ln2HI[xsb]; in expf()
65 lo = ln2LO[xsb]; in expf()
66 k = 1 - xsb - xsb; in expf()
68 k = invln2 * x + halF[xsb]; in expf()
Ds_exp.c105 __int32_t k = 0, xsb; in exp64() local
109 xsb = (hx >> 31) & 1; /* sign bit of x */ in exp64()
120 return (xsb == 0) ? x : _F_64(0.0); /* exp(+-inf)={inf,0} */ in exp64()
131 hi = x - ln2HI[xsb]; in exp64()
132 lo = ln2LO[xsb]; in exp64()
133 k = 1 - xsb - xsb; in exp64()
135 k = invln2 * x + halF[xsb]; in exp64()
/picolibc-3.7.0-3.6.0/newlib/libm/common/
Dsf_expm1.c40 __int32_t k,xsb; in expm1f() local
44 xsb = hx&0x80000000; /* sign bit of x */ in expm1f()
45 if(xsb==0) y=x; else y= -x; /* y = |x| */ in expm1f()
53 return (xsb==0)? x:-1.0f;/* exp(+-inf)={inf,-1} */ in expm1f()
54 if(xsb == 0 && hx > FLT_UWORD_LOG_MAX) /* if x>=o_threshold */ in expm1f()
56 if(xsb!=0) { /* x < -27*ln2, return -1.0 with inexact */ in expm1f()
65 if(xsb==0) in expm1f()
70 k = invln2*x+((xsb==0)?0.5f:-0.5f); in expm1f()
Ds_expm1.c168 __int32_t k,xsb; in _NAME_64() local
172 xsb = hx&0x80000000; /* sign bit of x */ in _NAME_64()
173 if(xsb==0) y=x; else y= -x; /* y = |x| */ in _NAME_64()
184 else return (xsb==0)? x:_F_64(-1.0);/* exp(+-inf)={inf,-1} */ in _NAME_64()
188 if(xsb!=0) { /* x < -56*ln2, return -1.0 with inexact */ in _NAME_64()
197 if(xsb==0) in _NAME_64()
202 k = invln2*x+((xsb==0)?_F_64(0.5):_F_64(-0.5)); in _NAME_64()