Searched refs:sx (Results 1 - 25 of 77) sorted by relevance

1234

/haiku-fatelf/src/system/libroot/posix/glibc/arch/generic/
H A Ds_truncf.c30 int sx; local
33 sx = i0 & 0x80000000;
39 SET_FLOAT_WORD (x, sx);
41 SET_FLOAT_WORD (x, sx | (i0 & ~(0x007fffff >> j0)));
H A Ds_trunc.c31 int sx; local
34 sx = i0 & 0x80000000;
40 INSERT_WORDS (x, sx, 0);
42 INSERT_WORDS (x, sx | (i0 & ~(0x000fffff >> j0)), 0);
H A Ds_llrintf.c41 int sx; local
45 sx = i0 >> 31;
56 w = two23[sx] + x;
57 t = w - two23[sx];
73 return sx ? -result : result;
H A Ds_llrintl.c41 int sx; local
45 sx = (se >> 15) & 1;
54 w = two63[sx] + x;
55 t = w - two63[sx];
74 return sx ? -result : result;
H A Ds_lrintf.c41 int sx; local
45 sx = i0 >> 31;
56 w = two23[sx] + x;
57 t = w - two23[sx];
73 return sx ? -result : result;
H A Ds_llrint.c41 int sx; local
45 sx = i0 >> 31;
51 w = two52[sx] + x;
52 t = w - two52[sx];
66 w = two52[sx] + x;
67 t = w - two52[sx];
86 return sx ? -result : result;
H A Ds_lrint.c41 int sx; local
45 sx = i0 >> 31;
51 w = two52[sx] + x;
52 t = w - two52[sx];
66 w = two52[sx] + x;
67 t = w - two52[sx];
86 return sx ? -result : result;
H A Ds_lrintl.c41 int sx; local
45 sx = (se >> 15) & 1;
50 w = two63[sx] + x;
51 t = w - two63[sx];
63 w = two63[sx] + x;
64 t = w - two63[sx];
81 return sx ? -result : result;
H A Ds_nearbyintf.c40 int32_t i0,j0,sx; local
44 sx = (i0>>31)&1;
54 w = TWO23[sx]+x;
55 t = w-TWO23[sx];
58 SET_FLOAT_WORD(t,(i0&0x7fffffff)|(sx<<31));
72 w = TWO23[sx]+x;
73 t = w-TWO23[sx];
H A Ds_rintf.c40 int32_t i0,j0,sx; local
44 sx = (i0>>31)&1;
53 w = TWO23[sx]+x;
54 t = w-TWO23[sx];
56 SET_FLOAT_WORD(t,(i0&0x7fffffff)|(sx<<31));
69 w = TWO23[sx]+x;
70 return w-TWO23[sx];
H A De_fmodf.c42 int32_t n,hx,hy,hz,ix,iy,sx,i; local
46 sx = hx&0x80000000; /* sign of x */
47 hx ^=sx; /* |x| */
56 return Zero[(u_int32_t)sx>>31]; /* |x|=|y| return x*0*/
89 return Zero[(u_int32_t)sx>>31];
98 return Zero[(u_int32_t)sx>>31];
105 SET_FLOAT_WORD(x,hx|sx);
109 SET_FLOAT_WORD(x,hx|sx);
H A De_atan2l.c72 u_int32_t sx,sy,lx,ly; local
74 GET_LDOUBLE_WORDS(sx,hx,lx,x);
75 ix = sx&0x7fff;
83 if(((sx-0x3fff)|lx)==0) return __atanl(y); /* x=1.0 */
84 m = ((sy>>15)&1)|((sx>>14)&2); /* 2*sign(x)+sign(y) */
120 k = sy-sx;
122 else if(sx>=0x8000&&k<-70) z=0.0; /* |y|/x < -2**70 */
H A Ds_nearbyint.c49 int32_t i0,j0,sx; local
53 sx = (i0>>31)&1;
63 w = TWO52[sx]+x;
64 t = w-TWO52[sx];
67 SET_HIGH_WORD(t,(i0&0x7fffffff)|(sx<<31));
96 w = TWO52[sx]+x;
97 t = w-TWO52[sx];
H A Ds_rint.c47 int32_t i0,j0,sx; local
51 sx = (i0>>31)&1;
60 w = TWO52[sx]+x;
61 t = w-TWO52[sx];
63 SET_HIGH_WORD(t,(i0&0x7fffffff)|(sx<<31));
91 w = TWO52[sx]+x;
92 return w-TWO52[sx];
H A Ds_remquo.c33 u_int32_t sx,lx,ly; local
38 sx = hx & 0x80000000;
39 qs = sx ^ (hy & 0x80000000);
105 if (sx)
H A Ds_remquof.c33 u_int32_t sx; local
38 sx = hx & 0x80000000;
39 qs = sx ^ (hy & 0x80000000);
104 if (sx)
H A Ds_remquol.c33 u_int32_t sx,lx,lp; local
38 sx = ex & 0x8000;
39 qs = (sx ^ (ep & 0x8000)) >> 15;
105 if (sx)
H A De_fmod.c39 int32_t n,hx,hy,hz,ix,iy,sx,i; local
44 sx = hx&0x80000000; /* sign of x */
45 hx ^=sx; /* |x| */
55 return Zero[(u_int32_t)sx>>31]; /* |x|=|y| return x*0*/
109 return Zero[(u_int32_t)sx>>31];
118 return Zero[(u_int32_t)sx>>31];
125 INSERT_WORDS(x,hx|sx,lx);
132 lx = (hx<<(32-n))|(lx>>n); hx = sx;
134 lx = hx>>(n-32); hx = sx;
136 INSERT_WORDS(x,hx|sx,l
[all...]
/haiku-fatelf/src/system/libroot/posix/glibc/arch/ppc/
H A Ds_nearbyintf.c40 int32_t i0,j0,sx; local
44 sx = (i0>>31)&1;
54 w = TWO23[sx]+x;
55 t = w-TWO23[sx];
58 SET_FLOAT_WORD(t,(i0&0x7fffffff)|(sx<<31));
72 w = TWO23[sx]+x;
73 t = w-TWO23[sx];
H A Ds_nearbyint.c49 int32_t i0,j0,sx; local
53 sx = (i0>>31)&1;
63 w = TWO52[sx]+x;
64 t = w-TWO52[sx];
67 SET_HIGH_WORD(t,(i0&0x7fffffff)|(sx<<31));
89 w = TWO52[sx]+x;
90 t = w-TWO52[sx];
H A Dw_sqrtf.c55 argument-reduced space, so that 2 > sx >= 0.5,
59 float sx; /* The value of which we're trying to find the square local
66 float shx; /* == sx * fsg */
78 SET_FLOAT_WORD (sx, sxi);
86 sd = -(sg*sg - sx);
89 sg = sy*sd + sg; /* 16-bit approximation to sqrt(sx). */
92 sd = -(sg*sg - sx);
96 shx = sx * fsg;
97 sg = sg + sy*sd; /* 32-bit approximation to sqrt(sx),
H A Dw_sqrt.c55 argument-reduced space, so that 2 > sx >= 0.5,
59 double sx; /* The value of which we're trying to find the local
66 double shx; /* == sx * fsg */
78 INSERT_WORDS (sx, sxi, xi1);
86 sd = -(sg*sg - sx);
89 sg = sy*sd + sg; /* 16-bit approximation to sqrt(sx). */
92 sd = -(sg*sg - sx);
96 sg = sg + sy*sd; /* 32-bit approximation to sqrt(sx). */
99 sd = -(sg*sg - sx);
101 shx = sx * fs
[all...]
/haiku-fatelf/src/add-ons/input_server/methods/canna/rk/
H A Dncache.c80 struct RkParam *sx = &SX; local
83 sx->maxcache = size;
84 if (!(sx->cache = (struct ncache *)calloc((unsigned)size, sizeof(struct ncache))))
87 sx->cache[i].nc_anext = &sx->cache[i+1];
88 sx->cache[i].nc_aprev = &sx->cache[i-1];
89 sx->cache[i].nc_hnext = sx->cache[i].nc_hprev = &sx
104 struct RkParam *sx = &SX; local
[all...]
/haiku-fatelf/src/apps/mandelbrot/
H A Dtsb.h41 void mand(double vx, double vy, double sx, double sy);
49 void mandb(double vx, double vy, double sx, double sy);
50 void manda(double vx, double vy, double sx, double sy);
53 void precompute(double vx, double vy, double sx, double sy);
/haiku-fatelf/src/libs/ncurses/ncurses/base/
H A Dlib_overlay.c134 int sx, sy, dx, dy; local
162 for (dx = dmincol, sx = smincol; dx <= dmaxcol; sx++, dx++) {
164 if ((CharOf(src->_line[sy].text[sx]) != L(' ')) &&
165 (!CharEq(dst->_line[dy].text[dx], src->_line[sy].text[sx]))) {
166 dst->_line[dy].text[dx] = src->_line[sy].text[sx];
168 (AttrOf(src->_line[sy].text[sx]) & mask) | bk);
172 if (!CharEq(dst->_line[dy].text[dx], src->_line[sy].text[sx])) {
173 dst->_line[dy].text[dx] = src->_line[sy].text[sx];

Completed in 82 milliseconds

1234