/bionic/libm/upstream-freebsd/lib/msun/src/ |
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;
|
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);
|
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 */
|
e_acosh.c | 46 u_int32_t lx; local 47 EXTRACT_WORDS(hx,lx,x); 55 } else if(((hx-0x3ff00000)|lx)==0) {
|
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);
|
e_atanh.c | 49 u_int32_t lx; local 50 EXTRACT_WORDS(hx,lx,x); 52 if ((ix|((lx|(-lx))>>31))>0x3ff00000) /* |x|>1 */
|
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;
|
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) {
|
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>ly))){/* x < y, x -= ulp * [all...] |
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 */
|
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;
|
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 = 0 [all...] |
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) {
|
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) {
|
/external/fdlibm/ |
s_ilogb.c | 29 int hx,lx,ix; local 33 lx = __LO(x); 34 if((hx|lx)==0) 38 for (ix = -1043; lx>0; lx<<=1) ix -=1;
|
s_isnan.c | 28 int hx,lx; local 30 lx = __LO(x); 31 hx |= (unsigned)(lx|(-lx))>>31;
|
s_logb.c | 29 int lx,ix; local 31 lx = __LO(x); /* low x */ 32 if((ix|lx)==0) return -1.0/ieee_fabs(x);
|
s_frexp.c | 40 int hx, ix, lx; local 43 lx = __LO(x); 45 if(ix>=0x7ff00000||((ix|lx)==0)) return x; /* 0,inf,nan */
|
s_nextafter.c | 31 unsigned lx,ly; local 34 lx = __LO(x); /* low word of x */ 40 if(((ix>=0x7ff00000)&&((ix-0x7ff00000)|lx)!=0) || /* x is nan */ 44 if((ix|lx)==0) { /* x == 0 */ 51 if(hx>hy||((hx==hy)&&(lx>ly))) { /* x > y, x -= ulp */ 52 if(lx==0) hx -= 1; 53 lx -= 1; 55 lx += 1; 56 if(lx==0) hx += 1; 59 if(hy>=0||hx>hy||((hx==hy)&&(lx>ly))){/* x < y, x -= ulp * [all...] |
e_atanh.c | 52 unsigned lx; local 54 lx = __LO(x); /* low word */ 56 if ((ix|((lx|(-lx))>>31))>0x3ff00000) /* |x|>1 */
|
e_cosh.c | 52 unsigned lx; local 79 lx = *( (((*(unsigned*)&one)>>29)) + (unsigned*)&x); 81 (ix==0x408633ce)&&(lx<=(unsigned)0x8fb9f87d)) {
|
e_remainder.c | 40 unsigned sx,lx,lp; local 44 lx = __LO(x); /* low word of x */ 60 if (((hx-hp)|(lx-lp))==0) return zero*x;
|
e_sinh.c | 49 unsigned lx; local 73 lx = *( (((*(unsigned*)&one)>>29)) + (unsigned*)&x); 74 if (ix<0x408633CE || (ix==0x408633ce)&&(lx<=(unsigned)0x8fb9f87d)) {
|
s_scalbn.c | 40 int k,hx,lx; local 42 lx = __LO(x); 45 if ((lx|(hx&0x7fffffff))==0) return x; /* +-0 */
|
/frameworks/base/core/java/com/android/internal/util/ |
FastMath.java | 30 long lx = (long) (value * (65536 * 256f)); local 31 return (int) ((lx + 0x800000) >> 24);
|