/bionic/libm/upstream-freebsd/lib/msun/src/ |
H A D | s_copysignf.c | 31 u_int32_t ix,iy; local 33 GET_FLOAT_WORD(iy,y); 34 SET_FLOAT_WORD(x,(ix&0x7fffffff)|(iy&0x80000000));
|
H A D | e_fmodf.c | 33 int32_t n,hx,hy,hz,ix,iy,sx,i; local 54 /* determine iy = ilogb(y) */ 56 for (iy = -126,i=(hy<<8); i>=0; i<<=1) iy -=1; 57 } else iy = (hy>>23)-127; 66 if(iy >= -126) 69 n = -126-iy; 74 n = ix - iy; 92 iy -= 1; 94 if(iy> [all...] |
H A D | e_atan2f.c | 36 int32_t k,m,hx,hy,ix,iy; local 41 iy = hy&0x7fffffff; 43 (iy>0x7f800000)) /* x or y is NaN */ 49 if(iy==0) { 62 if(iy==0x7f800000) { 79 if(iy==0x7f800000) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny; 82 k = (iy-ix)>>23;
|
H A D | s_remquof.c | 32 int32_t n,hx,hy,hz,ix,iy,sx,i; local 58 /* determine iy = ilogb(y) */ 60 for (iy = -126,i=(hy<<8); i>0; i<<=1) iy -=1; 61 } else iy = (hy>>23)-127; 70 if(iy >= -126) 73 n = -126-iy; 78 n = ix - iy; 97 iy -= 1; 99 if(iy> [all...] |
H A D | e_atan2.c | 22 * ARG (x+iy) = arctan(y/x) ... if x > 0, 23 * ARG (x+iy) = pi - arctan[y/(-x)] ... if x < 0, 64 int32_t k,m,hx,hy,ix,iy; local 70 iy = hy&0x7fffffff; 72 ((iy|((ly|-ly)>>31))>0x7ff00000)) /* x or y is NaN */ 78 if((iy|ly)==0) { 91 if(iy==0x7ff00000) { 108 if(iy==0x7ff00000) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny; 111 k = (iy-ix)>>20;
|
H A D | e_fmod.c | 31 int32_t n,hx,hy,hz,ix,iy,sx,i; local 59 /* determine iy = ilogb(y) */ 62 for (iy = -1043, i=ly; i>0; i<<=1) iy -=1; 64 for (iy = -1022,i=(hy<<11); i>0; i<<=1) iy -=1; 66 } else iy = (hy>>20)-1023; 81 if(iy >= -1022) 84 n = -1022-iy; 95 n = ix - iy; [all...] |
H A D | s_remquo.c | 34 int32_t n,hx,hy,hz,ix,iy,sx,i; local 68 /* determine iy = ilogb(y) */ 71 for (iy = -1043, i=ly; i>0; i<<=1) iy -=1; 73 for (iy = -1022,i=(hy<<11); i>0; i<<=1) iy -=1; 75 } else iy = (hy>>20)-1023; 90 if(iy >= -1022) 93 n = -1022-iy; 104 n = ix - iy; [all...] |
H A D | s_nextafterf.c | 26 int32_t hx,hy,ix,iy; local 31 iy = hy&0x7fffffff; /* |y| */ 34 (iy>0x7f800000)) /* y is nan */
|
H A D | s_ccosh.c | 30 * cosh(z) = cosh(x+iy) 51 int32_t hx, hy, ix, iy, lx, ly; local 60 iy = 0x7fffffff & hy; 63 if (ix < 0x7ff00000 && iy < 0x7ff00000) { 64 if ((iy | ly) == 0) 94 if ((ix | lx) == 0 && iy >= 0x7ff00000) 103 if ((iy | ly) == 0 && ix >= 0x7ff00000) { 117 if (ix < 0x7ff00000 && iy >= 0x7ff00000) 130 if (iy >= 0x7ff00000)
|
H A D | s_ccoshf.c | 45 int32_t hx, hy, ix, iy; local 54 iy = 0x7fffffff & hy; 56 if (ix < 0x7f800000 && iy < 0x7f800000) { 57 if (iy == 0) 78 if (ix == 0 && iy >= 0x7f800000) 81 if (iy == 0 && ix >= 0x7f800000) { 87 if (ix < 0x7f800000 && iy >= 0x7f800000) 91 if (iy >= 0x7f800000)
|
H A D | s_csinh.c | 30 * sinh(z) = sinh(x+iy) 51 int32_t hx, hy, ix, iy, lx, ly; local 60 iy = 0x7fffffff & hy; 63 if (ix < 0x7ff00000 && iy < 0x7ff00000) { 64 if ((iy | ly) == 0) 94 if ((ix | lx) == 0 && iy >= 0x7ff00000) 102 if ((iy | ly) == 0 && ix >= 0x7ff00000) { 116 if (ix < 0x7ff00000 && iy >= 0x7ff00000) 131 if (iy >= 0x7ff00000)
|
H A D | s_csinhf.c | 45 int32_t hx, hy, ix, iy; local 54 iy = 0x7fffffff & hy; 56 if (ix < 0x7f800000 && iy < 0x7f800000) { 57 if (iy == 0) 78 if (ix == 0 && iy >= 0x7f800000) 81 if (iy == 0 && ix >= 0x7f800000) { 87 if (ix < 0x7f800000 && iy >= 0x7f800000) 91 if (iy >= 0x7f800000)
|
H A D | s_nextafter.c | 32 int32_t hx,hy,ix,iy; local 38 iy = hy&0x7fffffff; /* |y| */ 41 ((iy>=0x7ff00000)&&((iy-0x7ff00000)|ly)!=0)) /* y is nan */
|
H A D | e_fmodl.c | 71 int ix,iy,n,sx; local 103 /* determine iy = ilogb(y) */ 106 iy = uy.bits.exp - (BIAS + 512); 108 iy = uy.bits.exp - BIAS; 118 n = ix - iy; 137 iy -= 1; 141 if (iy < LDBL_MIN_EXP) { 142 ux.bits.exp = iy + (BIAS + 512); 145 ux.bits.exp = iy + BIAS;
|
H A D | k_sin.c | 17 /* __kernel_sin( x, y, iy) 21 * Input iy indicates whether y is 0. (if iy=0, y assume to be 0). 60 __kernel_sin(double x, double y, int iy) argument 68 if(iy==0) return x+v*(S1+z*r);
|
H A D | k_tanf.c | 39 __kernel_tandf(double x, int iy) argument 64 if(iy==1) return r;
|
H A D | e_pow.c | 102 int32_t hx,hy,ix,iy; local 107 ix = hx&0x7fffffff; iy = hy&0x7fffffff; 110 if((iy|ly)==0) return one; 117 iy > 0x7ff00000 || ((iy==0x7ff00000)&&(ly!=0))) 127 if(iy>=0x43400000) yisint = 2; /* even integer y */ 128 else if(iy>=0x3ff00000) { 129 k = (iy>>20)-0x3ff; /* exponent */ 134 j = iy>>(20-k); 135 if((j<<(20-k))==iy) yisin [all...] |
H A D | e_powf.c | 61 int32_t hx,hy,ix,iy,is; local 65 ix = hx&0x7fffffff; iy = hy&0x7fffffff; 68 if(iy==0) return one; 75 iy > 0x7f800000) 85 if(iy>=0x4b800000) yisint = 2; /* even integer y */ 86 else if(iy>=0x3f800000) { 87 k = (iy>>23)-0x7f; /* exponent */ 88 j = iy>>(23-k); 89 if((j<<(23-k))==iy) yisint = 2-(j&1); 94 if (iy [all...] |
H A D | k_tan.c | 79 __kernel_tan(double x, double y, int iy) { argument 111 v = (double) iy; 115 if (iy == 1)
|
H A D | s_remquol.c | 74 int ix,iy,n,q,sx,sxy; local 112 /* determine iy = ilogb(y) */ 115 iy = uy.bits.exp - (BIAS + 512); 117 iy = uy.bits.exp - BIAS; 127 n = ix - iy; 147 iy -= 1; 151 if (iy < LDBL_MIN_EXP) { 152 ux.bits.exp = iy + (BIAS + 512); 155 ux.bits.exp = iy + BIAS;
|
H A D | catrig.c | 528 int32_t ix, iy; local 537 iy = hy & 0x7ff00000; 541 if (ix - iy >= CUTOFF << 20 || isinf(x)) 543 if (iy - ix >= CUTOFF << 20)
|
H A D | catrigf.c | 318 int32_t ix, iy; local 323 iy = hy & 0x7f800000; 326 if (ix - iy >= CUTOFF << 23 || isinf(x)) 328 if (iy - ix >= CUTOFF << 23)
|
/bionic/libm/upstream-freebsd/lib/msun/ld128/ |
H A D | k_sinl.c | 49 __kernel_sinl(long double x, long double y, int iy) argument 57 if(iy==0) return x+v*(S1+z*r);
|
H A D | k_tanl.c | 65 __kernel_tanl(long double x, long double y, int iy) { argument 70 iy = (iy == 1 ? -1 : 1); /* XXX recover original interface */ 98 v = (long double) iy; 102 if (iy == 1)
|