/bionic/libm/upstream-freebsd/lib/msun/src/ |
H A D | s_nextafter.c | 33 u_int32_t lx,ly; local 35 EXTRACT_WORDS(hx,lx,x); 40 if(((ix>=0x7ff00000)&&((ix-0x7ff00000)|lx)!=0) || /* x is nan */ 44 if((ix|lx)==0) { /* x == 0 */ 50 if(hx>hy||((hx==hy)&&(lx>ly))) { /* x > y, x -= ulp */ 51 if(lx==0) hx -= 1; 52 lx -= 1; 54 lx += 1; 55 if(lx==0) hx += 1; 58 if(hy>=0||hx>hy||((hx==hy)&&(lx>l [all...] |
H A D | s_ilogb.c | 30 int32_t hx,lx,ix; local 32 EXTRACT_WORDS(hx,lx,x); 35 if((hx|lx)==0) 39 for (ix = -1043; lx>0; lx<<=1) ix -=1; 46 else if (hx>0x7ff00000 || lx!=0) return FP_ILOGBNAN;
|
H A D | e_fmod.c | 32 u_int32_t lx,ly,lz; local 34 EXTRACT_WORDS(hx,lx,x); 45 if((hx<hy)||(lx<ly)) return x; /* |x|<|y| return x */ 46 if(lx==ly) 53 for (ix = -1043, i=lx; i>0; i<<=1) ix -=1; 68 /* set up {hx,lx}, {hy,ly} and align y to x */ 74 hx = (hx<<n)|(lx>>(32-n)); 75 lx <<= n; 77 hx = lx<<(n-32); 78 lx [all...] |
H A D | s_remquo.c | 35 u_int32_t lx,ly,lz,q,sxy; local 37 EXTRACT_WORDS(hx,lx,x); 49 if((hx<hy)||(lx<ly)) { 53 if(lx==ly) { 62 for (ix = -1043, i=lx; i>0; i<<=1) ix -=1; 77 /* set up {hx,lx}, {hy,ly} and align y to x */ 83 hx = (hx<<n)|(lx>>(32-n)); 84 lx <<= n; 86 hx = lx<<(n-32); 87 lx [all...] |
H A D | s_logb.c | 33 int32_t lx,ix; local 34 EXTRACT_WORDS(ix,lx,x); 36 if((ix|lx)==0) return -1.0/fabs(x);
|
H A D | s_nexttoward.c | 38 u_int32_t lx; local 40 EXTRACT_WORDS(hx,lx,x); 44 if(((ix>=0x7ff00000)&&((ix-0x7ff00000)|lx)!=0) || 55 if(lx==0) hx -= 1; 56 lx -= 1; 58 lx += 1; 59 if(lx==0) hx += 1; 66 INSERT_WORDS(x,hx,lx); 70 INSERT_WORDS(x,hx,lx);
|
H A D | e_fmodl.c | 70 manl_t lx,ly,lz; local 111 /* set up {hx,lx}, {hy,ly} and align y to x */ 114 lx = ux.bits.manl; 121 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; 122 if(hz<0){hx = hx+hx+(lx>>MANL_SHIFT); lx = lx+lx;} 126 hx = hz+hz+(lz>>MANL_SHIFT); lx [all...] |
H A D | s_frexp.c | 37 int32_t hx, ix, lx; local 38 EXTRACT_WORDS(hx,lx,x); 41 if(ix>=0x7ff00000||((ix|lx)==0)) return x; /* 0,inf,nan */
|
H A D | e_atanh.c | 49 u_int32_t lx; local 50 EXTRACT_WORDS(hx,lx,x); 52 if ((ix|((lx|(-lx))>>31))>0x3ff00000) /* |x|>1 */
|
H A D | e_acosh.c | 46 u_int32_t lx; local 47 EXTRACT_WORDS(hx,lx,x); 55 } else if(((hx-0x3ff00000)|lx)==0) {
|
H A D | e_atan2.c | 65 u_int32_t lx,ly; local 67 EXTRACT_WORDS(hx,lx,x); 71 if(((ix|((lx|-lx)>>31))>0x7ff00000)|| 74 if((hx-0x3ff00000|lx)==0) return atan(y); /* x=1.0 */ 87 if((ix|lx)==0) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny;
|
H A D | s_remquol.c | 73 manl_t lx,ly,lz; local 120 /* set up {hx,lx}, {hy,ly} and align y to x */ 123 lx = ux.bits.manl; 131 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; 132 if(hz<0){hx = hx+hx+(lx>>MANL_SHIFT); lx = lx+lx;} 133 else {hx = hz+hz+(lz>>MANL_SHIFT); lx [all...] |
H A D | e_log2.c | 46 u_int32_t lx; local 48 EXTRACT_WORDS(hx,lx,x); 52 if (((hx&0x7fffffff)|lx)==0) 59 if (hx == 0x3ff00000 && lx == 0)
|
H A D | s_cexp.c | 43 uint32_t hx, hy, lx, ly; local 54 EXTRACT_WORDS(hx, lx, x); 56 if (((hx & 0x7fffffff) | lx) == 0) 60 if (lx != 0 || (hx & 0x7fffffff) != 0x7ff00000) {
|
H A D | e_log10.c | 46 u_int32_t lx; local 48 EXTRACT_WORDS(hx,lx,x); 52 if (((hx&0x7fffffff)|lx)==0) 59 if (hx == 0x3ff00000 && lx == 0)
|
H A D | e_remainder.c | 38 u_int32_t sx,lx,lp; local 41 EXTRACT_WORDS(hx,lx,x); 56 if (((hx-hp)|(lx-lp))==0) return zero*x;
|
H A D | s_ctanh.c | 79 uint32_t hx, ix, lx; local 84 EXTRACT_WORDS(hx, lx, x); 104 if ((ix & 0xfffff) | lx) /* x is NaN */
|
H A D | s_scalbn.c | 39 int32_t k,hx,lx; local 40 EXTRACT_WORDS(hx,lx,x); 43 if ((lx|(hx&0x7fffffff))==0) return x; /* +-0 */
|
H A D | s_ccosh.c | 51 int32_t hx, hy, ix, iy, lx, ly; local 56 EXTRACT_WORDS(hx, lx, x); 94 if ((ix | lx) == 0 && iy >= 0x7ff00000) 104 if (((hx & 0xfffff) | lx) == 0) 129 if (ix >= 0x7ff00000 && ((hx & 0xfffff) | lx) == 0) {
|
H A D | s_csinh.c | 51 int32_t hx, hy, ix, iy, lx, ly; local 56 EXTRACT_WORDS(hx, lx, x); 94 if ((ix | lx) == 0 && iy >= 0x7ff00000) 103 if (((hx & 0xfffff) | lx) == 0) 130 if (ix >= 0x7ff00000 && ((hx & 0xfffff) | lx) == 0) {
|
H A D | e_jn.c | 56 int32_t i,hx,ix,lx, sgn; local 63 EXTRACT_WORDS(hx,lx,x); 66 if((ix|((u_int32_t)(lx|-lx))>>31)>0x7ff00000) return x+x; 76 if((ix|lx)==0||ix>=0x7ff00000) /* if x is 0 or inf */ 217 int32_t i,hx,ix,lx; local 221 EXTRACT_WORDS(hx,lx,x); 224 if((ix|((u_int32_t)(lx|-lx))>>31)>0x7ff00000) return x+x; 225 if((ix|lx) [all...] |
H A D | e_exp.c | 118 u_int32_t lx; local 119 GET_LOW_WORD(lx,x); 120 if(((hx&0xfffff)|lx)!=0)
|
H A D | e_acos.c | 72 u_int32_t lx; local 73 GET_LOW_WORD(lx,x); 74 if(((ix-0x3ff00000)|lx)==0) { /* |x|==1 */
|
H A D | e_asin.c | 78 u_int32_t lx; local 79 GET_LOW_WORD(lx,x); 80 if(((ix-0x3ff00000)|lx)==0)
|
/bionic/libc/upstream-freebsd/lib/libc/gen/ |
H A D | ldexp.c | 100 int32_t k,hx,lx; local 101 EXTRACT_WORDS(hx,lx,x); 104 if ((lx|(hx&0x7fffffff))==0) return x; /* +-0 */
|