/bionic/libm/src/ |
H A D | s_ilogb.c | 31 int32_t hx,lx,ix; local 33 EXTRACT_WORDS(hx,lx,x); 36 if((hx|lx)==0) 40 for (ix = -1043; lx>0; lx<<=1) ix -=1; 47 else if (hx>0x7ff00000 || lx!=0) return FP_ILOGBNAN;
|
H A D | s_logb.c | 32 int32_t lx,ix; local 33 EXTRACT_WORDS(ix,lx,x); 35 if((ix|lx)==0) return -1.0/fabs(x);
|
H A D | e_acosh.c | 45 u_int32_t lx; local 46 EXTRACT_WORDS(hx,lx,x); 54 } else if(((hx-0x3ff00000)|lx)==0) {
|
H A D | e_atanh.c | 48 u_int32_t lx; local 49 EXTRACT_WORDS(hx,lx,x); 51 if ((ix|((lx|(-lx))>>31))>0x3ff00000) /* |x|>1 */
|
H A D | e_cosh.c | 49 u_int32_t lx; local 76 GET_LOW_WORD(lx,x); 78 ((ix==0x408633ce)&&(lx<=(u_int32_t)0x8fb9f87d))) {
|
H A D | s_frexp.c | 39 int32_t hx, ix, lx; local 40 EXTRACT_WORDS(hx,lx,x); 43 if(ix>=0x7ff00000||((ix|lx)==0)) return x; /* 0,inf,nan */
|
H A D | s_nexttoward.c | 39 u_int32_t lx; local 41 EXTRACT_WORDS(hx,lx,x); 45 if(((ix>=0x7ff00000)&&((ix-0x7ff00000)|lx)!=0) || 56 if(lx==0) hx -= 1; 57 lx -= 1; 59 lx += 1; 60 if(lx==0) hx += 1; 67 INSERT_WORDS(y,hx,lx); 71 INSERT_WORDS(x,hx,lx);
|
H A D | e_log10.c | 67 u_int32_t lx; local 69 EXTRACT_WORDS(hx,lx,x); 73 if (((hx&0x7fffffff)|lx)==0)
|
H A D | e_remainder.c | 37 u_int32_t sx,lx,lp; local 40 EXTRACT_WORDS(hx,lx,x); 55 if (((hx-hp)|(lx-lp))==0) return zero*x;
|
H A D | e_sinh.c | 46 u_int32_t lx; local 70 GET_LOW_WORD(lx,x); 71 if (ix<0x408633CE || ((ix==0x408633ce)&&(lx<=(u_int32_t)0x8fb9f87d))) {
|
H A D | s_nextafter.c | 35 u_int32_t lx,ly; local 37 EXTRACT_WORDS(hx,lx,x); 42 if(((ix>=0x7ff00000)&&((ix-0x7ff00000)|lx)!=0) || /* x is nan */ 46 if((ix|lx)==0) { /* x == 0 */ 52 if(hx>hy||((hx==hy)&&(lx>ly))) { /* x > y, x -= ulp */ 53 if(lx==0) hx -= 1; 54 lx -= 1; 56 lx += 1; 57 if(lx==0) hx += 1; 60 if(hy>=0||hx>hy||((hx==hy)&&(lx>l [all...] |
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 | e_atan2.c | 62 u_int32_t lx,ly; local 64 EXTRACT_WORDS(hx,lx,x); 68 if(((ix|((lx|-lx)>>31))>0x7ff00000)|| 71 if(((hx-0x3ff00000) | lx)==0) return atan(y); /* x=1.0 */ 84 if((ix|lx)==0) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny;
|
H A D | e_fmod.c | 33 u_int32_t lx,ly,lz; local 35 EXTRACT_WORDS(hx,lx,x); 46 if((hx<hy)||(lx<ly)) return x; /* |x|<|y| return x */ 47 if(lx==ly) 54 for (ix = -1043, i=lx; i>0; i<<=1) ix -=1; 69 /* set up {hx,lx}, {hy,ly} and align y to x */ 75 hx = (hx<<n)|(lx>>(32-n)); 76 lx <<= n; 78 hx = lx<<(n-32); 79 lx [all...] |
H A D | s_remquo.c | 33 u_int32_t lx,ly,lz,q,sxy; local 35 EXTRACT_WORDS(hx,lx,x); 47 if((hx<hy)||(lx<ly)) { 51 if(lx==ly) { 60 for (ix = -1043, i=lx; i>0; i<<=1) ix -=1; 75 /* set up {hx,lx}, {hy,ly} and align y to x */ 81 hx = (hx<<n)|(lx>>(32-n)); 82 lx <<= n; 84 hx = lx<<(n-32); 85 lx [all...] |
H A D | e_acos.c | 69 u_int32_t lx; local 70 GET_LOW_WORD(lx,x); 71 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)
|
H A D | e_exp.c | 116 u_int32_t lx; local 117 GET_LOW_WORD(lx,x); 118 if(((hx&0xfffff)|lx)!=0)
|
H A D | e_log.c | 91 u_int32_t lx; local 93 EXTRACT_WORDS(hx,lx,x); 97 if (((hx&0x7fffffff)|lx)==0)
|
H A D | s_exp2.c | 341 uint32_t hx, hr, ix, lx, i0; local 349 GET_LOW_WORD(lx,x); 350 if(((ix & 0xfffff) | lx) != 0 || (hx & 0x80000000) == 0)
|
H A D | e_jn.c | 57 int32_t i,hx,ix,lx, sgn; local 64 EXTRACT_WORDS(hx,lx,x); 67 if((ix|((u_int32_t)(lx|-lx))>>31)>0x7ff00000) return x+x; 77 if((ix|lx)==0||ix>=0x7ff00000) /* if x is 0 or inf */ 213 int32_t i,hx,ix,lx; local 217 EXTRACT_WORDS(hx,lx,x); 220 if((ix|((u_int32_t)(lx|-lx))>>31)>0x7ff00000) return x+x; 221 if((ix|lx) [all...] |
H A D | e_j0.c | 150 int32_t hx,ix,lx; local 152 EXTRACT_WORDS(hx,lx,x); 156 if((ix|lx)==0) return -one/zero;
|
H A D | e_j1.c | 147 int32_t hx,ix,lx; local 149 EXTRACT_WORDS(hx,lx,x); 153 if((ix|lx)==0) return -one/zero;
|
H A D | e_pow.c | 104 u_int32_t lx,ly; local 106 EXTRACT_WORDS(hx,lx,x); 114 if(ix > 0x7ff00000 || ((ix==0x7ff00000)&&(lx!=0)) || 141 if(((ix-0x3ff00000)|lx)==0) 160 if(lx==0) {
|
/bionic/libc/bionic/ |
H A D | ldexp.c | 99 int32_t k,hx,lx; local 100 EXTRACT_WORDS(hx,lx,x); 103 if ((lx|(hx&0x7fffffff))==0) return x; /* +-0 */
|