/bionic/libm/upstream-freebsd/lib/msun/src/ |
s_finite.c | 26 int32_t hx; local 27 GET_HIGH_WORD(hx,x); 28 return (int)((u_int32_t)((hx&0x7fffffff)-0x7ff00000)>>31);
|
s_copysign.c | 28 u_int32_t hx,hy; local 29 GET_HIGH_WORD(hx,x); 31 SET_HIGH_WORD(x,(hx&0x7fffffff)|(hy&0x80000000));
|
s_frexpf.c | 28 int32_t hx,ix; local 29 GET_FLOAT_WORD(hx,x); 30 ix = 0x7fffffff&hx; 35 GET_FLOAT_WORD(hx,x); 36 ix = hx&0x7fffffff; 40 hx = (hx&0x807fffff)|0x3f000000; 41 SET_FLOAT_WORD(x,hx);
|
s_ilogb.c | 30 int32_t hx,lx,ix; local 32 EXTRACT_WORDS(hx,lx,x); 33 hx &= 0x7fffffff; 34 if(hx<0x00100000) { 35 if((hx|lx)==0) 38 if(hx==0) { 41 for (ix = -1022,hx<<=11; hx>0; hx<<=1) ix -=1; 45 else if (hx<0x7ff00000) return (hx>>20)-1023 [all...] |
s_ilogbf.c | 26 int32_t hx,ix; local 28 GET_FLOAT_WORD(hx,x); 29 hx &= 0x7fffffff; 30 if(hx<0x00800000) { 31 if(hx==0) 34 for (ix = -126,hx<<=8; hx>0; hx<<=1) ix -=1; 37 else if (hx<0x7f800000) return (hx>>23)-127 [all...] |
s_round.c | 39 uint32_t hx; local 41 GET_HIGH_WORD(hx, x); 42 if ((hx & 0x7fffffff) == 0x7ff00000) 45 if (!(hx & 0x80000000)) {
|
s_roundf.c | 37 uint32_t hx; local 39 GET_FLOAT_WORD(hx, x); 40 if ((hx & 0x7fffffff) == 0x7f800000) 43 if (!(hx & 0x80000000)) {
|
s_roundl.c | 43 uint16_t hx; local 45 GET_LDBL_EXPSIGN(hx, x); 46 if ((hx & 0x7fff) == 0x7fff) 51 if (!(hx & 0x8000)) {
|
e_acoshf.c | 30 int32_t hx; local 31 GET_FLOAT_WORD(hx,x); 32 if(hx<0x3f800000) { /* x < 1 */ 34 } else if(hx >=0x4d800000) { /* x > 2**28 */ 35 if(hx >=0x7f800000) { /* x is inf of NaN */ 39 } else if (hx==0x3f800000) { 41 } else if (hx > 0x40000000) { /* 2**28 > x > 2 */
|
s_frexp.c | 37 int32_t hx, ix, lx; local 38 EXTRACT_WORDS(hx,lx,x); 39 ix = 0x7fffffff&hx; 44 GET_HIGH_WORD(hx,x); 45 ix = hx&0x7fffffff; 49 hx = (hx&0x800fffff)|0x3fe00000; 50 SET_HIGH_WORD(x,hx);
|
e_acosh.c | 45 int32_t hx; local 47 EXTRACT_WORDS(hx,lx,x); 48 if(hx<0x3ff00000) { /* x < 1 */ 50 } else if(hx >=0x41b00000) { /* x > 2**28 */ 51 if(hx >=0x7ff00000) { /* x is inf of NaN */ 55 } else if(((hx-0x3ff00000)|lx)==0) { 57 } else if (hx > 0x40000000) { /* 2**28 > x > 2 */
|
e_atanhf.c | 30 int32_t hx,ix; local 31 GET_FLOAT_WORD(hx,x); 32 ix = hx&0x7fffffff; 44 if(hx>=0) return t; else return -t;
|
e_remainderf.c | 28 int32_t hx,hp; local 32 GET_FLOAT_WORD(hx,x); 34 sx = hx&0x80000000; 36 hx &= 0x7fffffff; 40 if((hx>=0x7f800000)|| /* x not finite */ 46 if ((hx-hp)==0) return zero*x; 61 GET_FLOAT_WORD(hx,x); 62 if ((hx&0x7fffffff)==0) hx = 0; 63 SET_FLOAT_WORD(x,hx^sx) [all...] |
s_nextafterf.c | 26 int32_t hx,hy,ix,iy; local 28 GET_FLOAT_WORD(hx,x); 30 ix = hx&0x7fffffff; /* |x| */ 42 if(hx>=0) { /* x > 0 */ 43 if(hx>hy) { /* x > y, x -= ulp */ 44 hx -= 1; 46 hx += 1; 49 if(hy>=0||hx>hy){ /* x < y, x -= ulp */ 50 hx -= 1; 52 hx += 1 [all...] |
s_nexttoward.c | 37 int32_t hx,ix; local 40 EXTRACT_WORDS(hx,lx,x); 41 ix = hx&0x7fffffff; /* |x| */ 54 if(hx>0.0 ^ x < y) { /* x -= ulp */ 55 if(lx==0) hx -= 1; 59 if(lx==0) hx += 1; 61 ix = hx&0x7ff00000; 66 INSERT_WORDS(x,hx,lx); 70 INSERT_WORDS(x,hx,lx);
|
s_nexttowardf.c | 28 int32_t hx,ix; local 30 GET_FLOAT_WORD(hx,x); 31 ix = hx&0x7fffffff; /* |x| */ 44 if(hx>=0 ^ x < y) /* x -= ulp */ 45 hx -= 1; 47 hx += 1; 48 ix = hx&0x7f800000; 53 SET_FLOAT_WORD(x,hx); 57 SET_FLOAT_WORD(x,hx);
|
e_acoshl.c | 69 int16_t hx; local 72 GET_LDBL_EXPSIGN(hx, x); 73 if (hx < 0x3fff) { /* x < 1, or misnormal */ 75 } else if (hx >= BIAS + EXP_LARGE) { /* x >= LARGE */ 76 if (hx >= 0x7fff) { /* x is inf, NaN or misnormal */ 80 } else if (hx == 0x3fff && x == 1) { 82 } else if (hx >= 0x4000) { /* LARGE > x >= 2, or misnormal */
|
e_atanh.c | 48 int32_t hx,ix; local 50 EXTRACT_WORDS(hx,lx,x); 51 ix = hx&0x7fffffff; 63 if(hx>=0) return t; else return -t;
|