/src/lib/libm/src/ |
s_frexp.c | 41 int32_t hx, ix, lx; local in function:frexp 42 EXTRACT_WORDS(hx,lx,x); 45 if(ix>=0x7ff00000||((ix|lx)==0)) return x; /* 0,inf,nan */
|
s_isinf.c | 22 int32_t hx,lx; local in function:isinf 23 EXTRACT_WORDS(hx,lx,x); 26 hx |= lx;
|
s_isnan.c | 29 int32_t hx,lx; local in function:isnan 30 EXTRACT_WORDS(hx,lx,x); 32 hx |= (u_int32_t)(lx|(-lx))>>31;
|
s_logb.c | 34 int32_t lx,ix; local in function:__strong_alias 35 EXTRACT_WORDS(ix,lx,x); 37 if((ix|lx)==0) return -1.0/fabs(x);
|
s_scalbn.c | 64 int32_t k,hx,lx; local in function:scalbln 65 EXTRACT_WORDS(hx,lx,x); 68 if ((lx|(hx&0x7fffffff))==0) return x; /* +-0 */
|
e_acosh.c | 44 u_int32_t lx; local in function:__ieee754_acosh 45 EXTRACT_WORDS(hx,lx,x); 53 } else if(((hx-0x3ff00000)|lx)==0) {
|
s_ilogb.c | 39 int32_t hx, lx, ix; local in function:__strong_alias 44 GET_LOW_WORD(lx, x); 45 if ((hx | lx) == 0) { 50 for (ix = -1043; lx > 0; lx <<= 1) ix -= 1;
|
s_nextafter.c | 38 u_int32_t lx,ly; local in function:__strong_alias 40 EXTRACT_WORDS(hx,lx,x); 45 if(((ix>=0x7ff00000)&&((ix-0x7ff00000)|lx)!=0) || /* x is nan */ 49 if((ix|lx)==0) { /* x == 0 */ 55 if(hx>hy||((hx==hy)&&(lx>ly))) { /* x > y, x -= ulp */ 56 if(lx==0) hx -= 1; 57 lx -= 1; 59 lx += 1; 60 if(lx==0) hx += 1; 63 if(hy>=0||hx>hy||((hx==hy)&&(lx>ly))){/* x < y, x -= ulp * [all...] |
s_nexttoward.c | 51 uint32_t lx; local in function:nexttoward 53 EXTRACT_WORDS(hx, lx, x); 57 if (((ix >= 0x7ff00000) && ((ix - 0x7ff00000) | lx) != 0) || 75 if (lx == 0) hx -= 1; 76 lx -= 1; 78 lx += 1; 79 if (lx == 0) hx += 1; 86 INSERT_WORDS(y, hx, lx); 90 INSERT_WORDS(x, hx, lx);
|
e_atanh.c | 48 u_int32_t lx; local in function:__ieee754_atanh 49 EXTRACT_WORDS(hx,lx,x); 51 if ((ix|((lx|(-lx))>>31))>0x3ff00000) /* |x|>1 */
|
e_cosh.c | 49 u_int32_t lx; local in function:__ieee754_cosh 76 GET_LOW_WORD(lx,x); 78 ((ix==0x408633ce)&&(lx<=(u_int32_t)0x8fb9f87d))) {
|
e_remainder.c | 37 u_int32_t sx,lx,lp; local in function:__ieee754_remainder 40 EXTRACT_WORDS(hx,lx,x); 55 if (((hx-hp)|(lx-lp))==0) return zero*x;
|
e_sinh.c | 46 u_int32_t lx; local in function:__ieee754_sinh 70 GET_LOW_WORD(lx,x); 71 if (ix<0x408633CE || ((ix==0x408633ce)&&(lx<=(u_int32_t)0x8fb9f87d))) {
|
s_cospi.c | 85 uint32_t hx, ix, jj0, lx; local in function:cospi 87 EXTRACT_WORDS(hx, lx, x); 89 INSERT_WORDS(ax, ix, lx); 112 FFLOOR(x, jj0, ix, lx); /* Integer part of ax. */ 114 EXTRACT_WORDS(ix, lx, ax); 145 return (ix < 0x43400000 ? ((lx & 1) ? -1 : 1) : 1);
|
s_sinpi.c | 87 uint32_t hx, ix, j0, lx; local in function:sinpi 89 EXTRACT_WORDS(hx, lx, x); 91 INSERT_WORDS(ax, ix, lx); 125 FFLOOR(x, j0, ix, lx); /* Integer part of ax. */ 127 EXTRACT_WORDS(ix, lx, ax);
|
e_fmod.c | 37 u_int32_t lx,ly,lz; local in function:__strong_alias 39 EXTRACT_WORDS(hx,lx,x); 50 if((hx<hy)||(lx<ly)) return x; /* |x|<|y| return x */ 51 if(lx==ly) 58 for (ix = -1043, i=lx; i>0; i<<=1) ix -=1; 73 /* set up {hx,lx}, {hy,ly} and align y to x */ 79 hx = (hx<<n)|(lx>>(32-n)); 80 lx <<= n; 82 hx = lx<<(n-32); 83 lx = 0 [all...] |
e_log10.c | 67 u_int32_t lx; local in function:__ieee754_log10 69 EXTRACT_WORDS(hx,lx,x); 73 if (((hx&0x7fffffff)|lx)==0)
|
s_tanpi.c | 118 uint32_t hx, ix, j0, lx; local in function:tanpi 120 EXTRACT_WORDS(hx, lx, x); 122 INSERT_WORDS(ax, ix, lx); 150 FFLOOR(x, j0, ix, lx); /* Integer part of ax. */ 153 EXTRACT_WORDS(ix, lx, ax); 174 t = ix >= 0x43400000 ? 0 : (copysign(0, (lx & 1) ? -1 : 1));
|
s_remquo.c | 40 u_int32_t lx,ly,lz,q,sxy; local in function:remquo 42 EXTRACT_WORDS(hx,lx,x); 54 if((hx<hy)||(lx<ly)) { 58 if(lx==ly) { 67 for (ix = -1043, i=lx; i>0; i<<=1) ix -=1; 82 /* set up {hx,lx}, {hy,ly} and align y to x */ 88 hx = (hx<<n)|(lx>>(32-n)); 89 lx <<= n; 91 hx = lx<<(n-32); 92 lx = 0 [all...] |
/src/lib/libm/ld80/ |
s_cexpl.c | 44 uint64_t lx, ly; local in function:cexpl 58 EXTRACT_LDBL80_WORDS(hx, lx, x); 60 if (((hx & 0x7fff) | lx) == 0) { 67 (lx & 0x7fffffffffffffffULL) != 0)) { 83 if ((hx == 0x400c && lx > 0xb17217f7d1cf79acULL) || 84 (hx == 0x400d && lx < 0xb1c6a8573de9768cULL)) {
|
s_cospil.c | 49 uint64_t lx; local in function:cospil 53 EXTRACT_LDBL80_WORDS(hx, lx, x); 55 INSERT_LDBL80_WORDS(ax, ix, lx); 70 else if (lx < 0xc000000000000000ull) { /* |x| < 0.75 */ 80 FFLOORL80(x, j0, ix, lx); /* Integer part of ax. */ 82 EXTRACT_LDBL80_WORDS(ix, lx, ax); 91 if (lx < 0xc000000000000000ull) { /* |x| < 0.75 */ 116 RETURNI(ix >= 0x403f ? 1 : ((lx & 1) ? -1 : 1));
|
s_sinpil.c | 51 uint64_t lx; local in function:sinpil 55 EXTRACT_LDBL80_WORDS(hx, lx, x); 57 INSERT_LDBL80_WORDS(ax, ix, lx); 67 lx & 0xffffffff00000000ull); 80 else if (lx < 0xc000000000000000ull) /* |x| < 0.75 */ 88 FFLOORL80(x, j0, ix, lx); /* Integer part of ax. */ 90 EXTRACT_LDBL80_WORDS(ix, lx, ax); 102 if (lx < 0xc000000000000000ull)
|
s_tanpil.c | 72 uint64_t lx; local in function:tanpil 76 EXTRACT_LDBL80_WORDS(hx, lx, x); 78 INSERT_LDBL80_WORDS(ax, ix, lx); 88 lx & 0xffffffff00000000ull); 104 FFLOORL80(x, j0, ix, lx); /* Integer part of ax. */ 107 EXTRACT_LDBL80_WORDS(ix, lx, ax); 127 t = ix >= 0x403f ? 0 : (copysignl(0, (lx & 1) ? -1 : 1));
|
/src/games/hack/ |
def.mkroom.h | 67 schar lx,hx,ly,hy; /* usually xchar, but hx may be -1 */ member in struct:mkroom
|
hack.search.c | 79 xchar lx, hx, ly, hy; local in function:findit 83 for (lx = u.ux; (num = levl[lx - 1][u.uy].typ) && num != CORR; lx--); 89 for (zx = lx; zx <= hx; zx++) {
|