Home
last modified time | relevance | path

Searched refs:sx (Results 1 – 21 of 21) sorted by relevance

/picolibc-3.7.0-3.6.0/newlib/libm/common/
Ds_llrint.c42 __int32_t i0,j0,sx; in llrint64() local
51 sx = (i0>>31)&1; in llrint64()
60 w = TWO52[sx] + x; in llrint64()
61 t = w - TWO52[sx]; in llrint64()
84 w = TWO52[sx] + x; in llrint64()
85 t = w - TWO52[sx]; in llrint64()
110 return sx ? LLONG_MIN : LLONG_MAX; in llrint64()
116 return sx ? -result : result; in llrint64()
Ds_lrint.c82 __int32_t i0,j0,sx; in lrint64() local
91 sx = (i0>>31)&1; in lrint64()
101 w = TWO52[sx] + x; in lrint64()
102 t = w - TWO52[sx]; in lrint64()
135 w = TWO52[sx] + x; in lrint64()
136 t = w - TWO52[sx]; in lrint64()
165 return sx ? LONG_MIN : LONG_MAX; in lrint64()
170 return sx ? -result : result; in lrint64()
Dsf_rint.c27 __int32_t i0,j0,sx; in rintf() local
32 sx = (i0>>31)&1; in rintf()
43 w = TWO23[sx]+x; in rintf()
44 t = w-TWO23[sx]; in rintf()
46 SET_FLOAT_WORD(t,(i0&0x7fffffff)|(sx<<31)); in rintf()
61 w = TWO23[sx]+x; in rintf()
62 return w-TWO23[sx]; in rintf()
Dsf_lrint.c39 __int32_t j0,sx; in lrintf() local
48 sx = (i0 >> 31); in lrintf()
59 w = TWO23[sx] + x; in lrintf()
60 t = w - TWO23[sx]; in lrintf()
76 return sx ? LONG_MIN : LONG_MAX; in lrintf()
80 return sx ? -result : result; in lrintf()
Dsf_llrint.c39 __int32_t j0,sx; in llrintf() local
48 sx = (i0 >> 31); in llrintf()
59 w = TWO23[sx] + x; in llrintf()
60 t = w - TWO23[sx]; in llrintf()
77 return sx ? LLONG_MIN : LLONG_MAX; in llrintf()
81 return sx ? -result : result; in llrintf()
Ds_rint.c85 __int32_t i0,j0,sx; in rint64() local
90 sx = (i0>>31)&1; /* sign */ in rint64()
99 w = TWO52[sx]+x; in rint64()
100 t = w-TWO52[sx]; in rint64()
102 SET_HIGH_WORD(t,(i0&0x7fffffff)|(sx<<31)); in rint64()
130 w = TWO52[sx]+x; in rint64()
131 return w-TWO52[sx]; in rint64()
Dsf_remquo.c39 __int32_t n,hx,hy,hz,ix,iy,sx,i; in remquof() local
45 sx = hx&0x80000000; /* sign of x */ in remquof()
46 hx ^=sx; /* |x| */ in remquof()
59 return Zero[(__uint32_t)sx>>31]; /* |x|=|y| return x*0*/ in remquof()
101 return Zero[(__uint32_t)sx>>31]; in remquof()
126 SET_FLOAT_WORD(x,hx^sx); in remquof()
Ds_remquo.c88 __int32_t n,hx,hy,hz,ix,iy,sx,i; in remquo64() local
94 sx = hx&0x80000000; /* sign of x */ in remquo64()
95 hx ^=sx; /* |x| */ in remquo64()
111 return Zero[(__uint32_t)sx>>31]; /* |x|=|y| return x*0 */ in remquo64()
175 return Zero[(__uint32_t)sx>>31]; in remquo64()
189 lx = (hx<<(32-n))|(lx>>n); hx = sx; in remquo64()
191 lx = hx>>(n-32); hx = sx; in remquo64()
207 SET_HIGH_WORD(x,hx^sx); in remquo64()
/picolibc-3.7.0-3.6.0/newlib/libm/math/
Dsf_fmod.c32 __int32_t n, hx, hy, hz, ix, iy, sx, i; in fmodf() local
36 sx = hx & 0x80000000; /* sign of x */ in fmodf()
37 hx ^= sx; /* |x| */ in fmodf()
53 return Zero[(__uint32_t)sx >> 31]; /* |x|=|y| return x*0*/ in fmodf()
93 return Zero[(__uint32_t)sx >> 31]; in fmodf()
104 return Zero[(__uint32_t)sx >> 31]; in fmodf()
111 SET_FLOAT_WORD(x, hx | sx); in fmodf()
117 SET_FLOAT_WORD(x, hx | sx); in fmodf()
Ds_fmod.c31 __int32_t n, hx, hy, hz, ix, iy, sx, i; in fmod64() local
36 sx = hx & 0x80000000; /* sign of x */ in fmod64()
37 hx ^= sx; /* |x| */ in fmod64()
54 return Zero[(__uint32_t)sx >> 31]; /* |x|=|y| return x*0*/ in fmod64()
119 return Zero[(__uint32_t)sx >> 31]; in fmod64()
135 return Zero[(__uint32_t)sx >> 31]; in fmod64()
143 INSERT_WORDS(x, hx | sx, lx); in fmod64()
151 hx = sx; in fmod64()
154 hx = sx; in fmod64()
156 INSERT_WORDS(x, hx | sx, lx); in fmod64()
Dsf_exp.c44 __int32_t k = 0, xsb, sx; in expf() local
47 GET_FLOAT_WORD(sx, x); in expf()
48 xsb = (sx >> 31) & 1; /* sign bit of x */ in expf()
49 hx = sx & 0x7fffffff; /* high word of |x| */ in expf()
56 if (sx > FLT_UWORD_LOG_MAX) in expf()
58 if (sx < 0 && hx > FLT_UWORD_LOG_MIN) in expf()
Dsf_remainder.c24 __uint32_t sx; in remainderf() local
29 sx = hx & 0x80000000; in remainderf()
61 SET_FLOAT_WORD(x, hx ^ sx); in remainderf()
Ds_remainder.c33 __uint32_t sx, lx, lp; in remainder64() local
38 sx = hx & 0x80000000; in remainder64()
74 SET_HIGH_WORD(x, hx ^ sx); in remainder64()
/picolibc-3.7.0-3.6.0/newlib/libm/ld/ld128/
De_fmodl.c26 int64_t n,hx,hy,hz,ix,iy,sx,i; in fmodl() local
31 sx = hx&0x8000000000000000ULL; /* sign of x */ in fmodl()
32 hx ^=sx; /* |x| */ in fmodl()
47 return Zero[(u_int64_t)sx>>63]; /* |x|=|y| return x*0*/ in fmodl()
101 return Zero[(u_int64_t)sx>>63]; in fmodl()
110 return Zero[(u_int64_t)sx>>63]; in fmodl()
117 SET_LDOUBLE_WORDS64(x,hx|sx,lx); in fmodl()
124 lx = (hx<<(64-n))|(lx>>n); hx = sx; in fmodl()
126 lx = hx>>(n-64); hx = sx; in fmodl()
128 SET_LDOUBLE_WORDS64(x,hx|sx,lx); in fmodl()
Ds_remquol.c55 uint64_t sx,sxy; in remquol() local
60 sx = (hx>>48)&0x8000; in remquol()
61 sxy = sx ^ ((hy>>48)&0x8000); in remquol()
84 return Zero[sx!=0]; /* |x|=|y| return x*0*/ in remquol()
126 return Zero[sx!=0]; in remquol()
156 hx ^= (sx << 48); in remquol()
/picolibc-3.7.0-3.6.0/newlib/libm/ld/ld80/
Ds_floorl.c30 u_int32_t i,j,se,i0,sx; in floorl() local
32 sx = (se>>15)&1; in floorl()
37 if(sx==0) in floorl()
46 if(sx) { in floorl()
65 if(sx) { in floorl()
Ds_ceill.c30 u_int32_t i,j,se,i0,sx; in ceill() local
32 sx = (se>>15)&1; in ceill()
37 if(sx) {se=0x8000;i0=0;i1=0;} in ceill()
44 if(sx==0) { in ceill()
63 if(sx==0) { in ceill()
Ds_remquol.c55 int ix,iy,n,q,sx,sxy; in remquol() local
59 sx = esx & 0x8000; in remquol()
60 sxy = sx ^ (esy & 0x8000); in remquol()
84 return Zero[sx!=0]; /* |x|=|y| return x*0*/ in remquol()
126 return Zero[sx!=0]; in remquol()
154 esx ^= sx; in remquol()
De_fmodl.c57 int ix,iy,n,sx; in fmodl() local
61 sx = ux.bits.ext_sign; in fmodl()
81 return Zero[sx]; /* |x|=|y| return x*0*/ in fmodl()
115 return Zero[sx]; in fmodl()
124 return Zero[sx]; in fmodl()
/picolibc-3.7.0-3.6.0/newlib/libc/stdlib/
Ddtoa.c41 __ULong *bx, *bxe, *sx, *sxe; in quorem() local
57 sx = S->_x; in quorem()
58 sxe = sx + --n; in quorem()
73 si = *sx++; in quorem()
85 ys = *sx++ * q + carry; in quorem()
93 while (sx <= sxe); in quorem()
108 sx = S->_x; in quorem()
112 si = *sx++; in quorem()
124 ys = *sx++ + carry; in quorem()
132 while (sx <= sxe); in quorem()
/picolibc-3.7.0-3.6.0/newlib/libm/machine/spu/headers/
Dsimdmath.h144 void sincosf4(vector float x, vector float *sx, vector float *cx);
245 void sincosd2(vector double x, vector double *sx, vector double *cx);