Home
last modified time | relevance | path

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

/bionic/libm/upstream-freebsd/lib/msun/src/
Ds_rintf.c34 int32_t i0,j0,sx; in rintf() local
37 sx = (i0>>31)&1; in rintf()
42 STRICT_ASSIGN(float,w,TWO23[sx]+x); in rintf()
43 t = w-TWO23[sx]; in rintf()
45 SET_FLOAT_WORD(t,(i0&0x7fffffff)|(sx<<31)); in rintf()
48 STRICT_ASSIGN(float,w,TWO23[sx]+x); in rintf()
49 return w-TWO23[sx]; in rintf()
De_fmodf.c33 int32_t n,hx,hy,hz,ix,iy,sx,i; in __ieee754_fmodf() local
37 sx = hx&0x80000000; /* sign of x */ in __ieee754_fmodf()
38 hx ^=sx; /* |x| */ in __ieee754_fmodf()
47 return Zero[(u_int32_t)sx>>31]; /* |x|=|y| return x*0*/ in __ieee754_fmodf()
80 return Zero[(u_int32_t)sx>>31]; in __ieee754_fmodf()
89 return Zero[(u_int32_t)sx>>31]; in __ieee754_fmodf()
96 SET_FLOAT_WORD(x,hx|sx); in __ieee754_fmodf()
100 SET_FLOAT_WORD(x,hx|sx); in __ieee754_fmodf()
De_fmod.c33 int32_t n,hx,hy,hz,ix,iy,sx,i; in __ieee754_fmod() local
38 sx = hx&0x80000000; /* sign of x */ in __ieee754_fmod()
39 hx ^=sx; /* |x| */ in __ieee754_fmod()
49 return Zero[(u_int32_t)sx>>31]; /* |x|=|y| return x*0*/ in __ieee754_fmod()
103 return Zero[(u_int32_t)sx>>31]; in __ieee754_fmod()
112 return Zero[(u_int32_t)sx>>31]; in __ieee754_fmod()
119 INSERT_WORDS(x,hx|sx,lx); in __ieee754_fmod()
126 lx = (hx<<(32-n))|(lx>>n); hx = sx; in __ieee754_fmod()
128 lx = hx>>(n-32); hx = sx; in __ieee754_fmod()
130 INSERT_WORDS(x,hx|sx,lx); in __ieee754_fmod()
Ds_rint.c40 int32_t i0,j0,sx; in rint() local
44 sx = (i0>>31)&1; in rint()
53 STRICT_ASSIGN(double,w,TWO52[sx]+x); in rint()
54 t = w-TWO52[sx]; in rint()
56 SET_HIGH_WORD(t,(i0&0x7fffffff)|(sx<<31)); in rint()
86 STRICT_ASSIGN(double,w,TWO52[sx]+x); in rint()
87 return w-TWO52[sx]; in rint()
Ds_remquof.c32 int32_t n,hx,hy,hz,ix,iy,sx,i; in remquof() local
38 sx = hx&0x80000000; /* sign of x */ in remquof()
39 hx ^=sx; /* |x| */ in remquof()
50 return Zero[(u_int32_t)sx>>31]; /* |x|=|y| return x*0*/ in remquof()
93 return Zero[(u_int32_t)sx>>31]; in remquof()
118 SET_FLOAT_WORD(x,hx^sx); in remquof()
Ds_remquo.c34 int32_t n,hx,hy,hz,ix,iy,sx,i; in remquo() local
40 sx = hx&0x80000000; /* sign of x */ in remquo()
41 hx ^=sx; /* |x| */ in remquo()
55 return Zero[(u_int32_t)sx>>31]; /* |x|=|y| return x*0*/ in remquo()
119 return Zero[(u_int32_t)sx>>31]; in remquo()
151 SET_HIGH_WORD(x,hx^sx); in remquo()
Ds_remquol.c74 int ix,iy,n,q,sx,sxy; in remquol() local
78 sx = ux.bits.sign; in remquol()
79 sxy = sx ^ uy.bits.sign; in remquol()
99 return Zero[sx]; /* |x|=|y| return x*0*/ in remquol()
141 return Zero[sx]; in remquol()
168 ux.bits.sign ^= sx; in remquol()
De_remainderf.c29 u_int32_t sx; in __ieee754_remainderf() local
34 sx = hx&0x80000000; in __ieee754_remainderf()
63 SET_FLOAT_WORD(x,hx^sx); in __ieee754_remainderf()
De_remainder.c38 u_int32_t sx,lx,lp; in __ieee754_remainder() local
43 sx = hx&0x80000000; in __ieee754_remainder()
73 SET_HIGH_WORD(x,hx^sx); in __ieee754_remainder()
De_fmodl.c71 int ix,iy,n,sx; in fmodl() local
75 sx = ux.bits.sign; in fmodl()
91 return Zero[sx]; /* |x|=|y| return x*0*/ in fmodl()
125 return Zero[sx]; in fmodl()
134 return Zero[sx]; in fmodl()
Dcatrig.c361 int sx, sy; in cacos() local
367 sx = signbit(x); in cacos()
412 if (sx == 0) in cacos()
417 if (sx == 0) in cacos()
Dcatrigf.c206 int sx, sy; in cacosf() local
212 sx = signbit(x); in cacosf()
246 if (sx == 0) in cacosf()
251 if (sx == 0) in cacosf()
Dcatrigl.c226 int sx, sy; in cacosl() local
232 sx = signbit(x); in cacosl()
266 if (sx == 0) in cacosl()
271 if (sx == 0) in cacosl()
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/
Ddmisc.c118 ULong *bx, *bxe, q, *sx, *sxe; local
135 sx = S->x;
136 sxe = sx + --n;
149 ys = *sx++ * (ULLong)q + carry;
156 si = *sx++;
166 ys = *sx++ * q + carry;
174 while(sx <= sxe);
187 sx = S->x;
190 ys = *sx++ + carry;
197 si = *sx++;
[all …]
/bionic/tests/
Dsys_stat_test.cpp108 struct statx sx; in TEST() local
109 int rc = statx(AT_FDCWD, "/proc/version", AT_STATX_SYNC_AS_STAT, STATX_ALL, &sx); in TEST()
116 EXPECT_EQ(sb.st_ino, sx.stx_ino); in TEST()
117 EXPECT_EQ(sb.st_mode, sx.stx_mode); in TEST()
/bionic/libc/kernel/uapi/linux/
Dfb.h284 __u32 sx; member