/bionic/libm/upstream-freebsd/lib/msun/src/ |
D | e_fmodf.c | 33 int32_t n,hx,hy,hz,ix,iy,sx,i; in __ieee754_fmodf() local 56 for (iy = -126,i=(hy<<8); i>=0; i<<=1) iy -=1; in __ieee754_fmodf() 57 } else iy = (hy>>23)-127; in __ieee754_fmodf() 66 if(iy >= -126) in __ieee754_fmodf() 69 n = -126-iy; in __ieee754_fmodf() 74 n = ix - iy; in __ieee754_fmodf() 92 iy -= 1; in __ieee754_fmodf() 94 if(iy>= -126) { /* normalize output */ in __ieee754_fmodf() 95 hx = ((hx-0x00800000)|((iy+127)<<23)); in __ieee754_fmodf() 98 n = -126 - iy; in __ieee754_fmodf()
|
D | s_remquof.c | 32 int32_t n,hx,hy,hz,ix,iy,sx,i; in remquof() local 60 for (iy = -126,i=(hy<<8); i>0; i<<=1) iy -=1; in remquof() 61 } else iy = (hy>>23)-127; in remquof() 70 if(iy >= -126) in remquof() 73 n = -126-iy; in remquof() 78 n = ix - iy; in remquof() 97 iy -= 1; in remquof() 99 if(iy>= -126) { /* normalize output */ in remquof() 100 hx = ((hx-0x00800000)|((iy+127)<<23)); in remquof() 102 n = -126 - iy; in remquof()
|
D | e_fmod.c | 33 int32_t n,hx,hy,hz,ix,iy,sx,i; in __ieee754_fmod() local 64 for (iy = -1043, i=ly; i>0; i<<=1) iy -=1; in __ieee754_fmod() 66 for (iy = -1022,i=(hy<<11); i>0; i<<=1) iy -=1; in __ieee754_fmod() 68 } else iy = (hy>>20)-1023; in __ieee754_fmod() 83 if(iy >= -1022) in __ieee754_fmod() 86 n = -1022-iy; in __ieee754_fmod() 97 n = ix - iy; in __ieee754_fmod() 115 iy -= 1; in __ieee754_fmod() 117 if(iy>= -1022) { /* normalize output */ in __ieee754_fmod() 118 hx = ((hx-0x00100000)|((iy+1023)<<20)); in __ieee754_fmod() [all …]
|
D | s_remquo.c | 34 int32_t n,hx,hy,hz,ix,iy,sx,i; in remquo() local 71 for (iy = -1043, i=ly; i>0; i<<=1) iy -=1; in remquo() 73 for (iy = -1022,i=(hy<<11); i>0; i<<=1) iy -=1; in remquo() 75 } else iy = (hy>>20)-1023; in remquo() 90 if(iy >= -1022) in remquo() 93 n = -1022-iy; in remquo() 104 n = ix - iy; in remquo() 123 iy -= 1; in remquo() 125 if(iy>= -1022) { /* normalize output */ in remquo() 126 hx = ((hx-0x00100000)|((iy+1023)<<20)); in remquo() [all …]
|
D | e_atan2f.c | 36 int32_t k,m,hx,hy,ix,iy; in __ieee754_atan2f() local 41 iy = hy&0x7fffffff; in __ieee754_atan2f() 43 (iy>0x7f800000)) /* x or y is NaN */ in __ieee754_atan2f() 49 if(iy==0) { in __ieee754_atan2f() 62 if(iy==0x7f800000) { in __ieee754_atan2f() 79 if(iy==0x7f800000) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny; in __ieee754_atan2f() 82 k = (iy-ix)>>23; in __ieee754_atan2f()
|
D | e_atan2.c | 64 int32_t k,m,hx,hy,ix,iy; in __ieee754_atan2() local 70 iy = hy&0x7fffffff; in __ieee754_atan2() 72 ((iy|((ly|-ly)>>31))>0x7ff00000)) /* x or y is NaN */ in __ieee754_atan2() 78 if((iy|ly)==0) { in __ieee754_atan2() 91 if(iy==0x7ff00000) { in __ieee754_atan2() 108 if(iy==0x7ff00000) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny; in __ieee754_atan2() 111 k = (iy-ix)>>20; in __ieee754_atan2()
|
D | e_pow.c | 106 int32_t hx,hy,ix,iy; in __ieee754_pow() local 111 ix = hx&0x7fffffff; iy = hy&0x7fffffff; in __ieee754_pow() 114 if((iy|ly)==0) return one; in __ieee754_pow() 121 iy > 0x7ff00000 || ((iy==0x7ff00000)&&(ly!=0))) in __ieee754_pow() 131 if(iy>=0x43400000) yisint = 2; /* even integer y */ in __ieee754_pow() 132 else if(iy>=0x3ff00000) { in __ieee754_pow() 133 k = (iy>>20)-0x3ff; /* exponent */ in __ieee754_pow() 138 j = iy>>(20-k); in __ieee754_pow() 139 if((j<<(20-k))==iy) yisint = 2-(j&1); in __ieee754_pow() 146 if (iy==0x7ff00000) { /* y is +-inf */ in __ieee754_pow() [all …]
|
D | s_ccoshf.c | 47 int32_t hx, hy, ix, iy; in ccoshf() local 56 iy = 0x7fffffff & hy; in ccoshf() 58 if (ix < 0x7f800000 && iy < 0x7f800000) { in ccoshf() 59 if (iy == 0) in ccoshf() 83 if (iy == 0) /* && ix >= 0x7f800000 */ in ccoshf() 90 if (iy >= 0x7f800000) in ccoshf()
|
D | s_csinhf.c | 47 int32_t hx, hy, ix, iy; in csinhf() local 56 iy = 0x7fffffff & hy; in csinhf() 58 if (ix < 0x7f800000 && iy < 0x7f800000) { in csinhf() 59 if (iy == 0) in csinhf() 83 if (iy == 0) /* && ix >= 0x7f800000 */ in csinhf() 90 if (iy >= 0x7f800000) in csinhf()
|
D | s_ccosh.c | 55 int32_t hx, hy, ix, iy, lx, ly; in ccosh() local 64 iy = 0x7fffffff & hy; in ccosh() 67 if (ix < 0x7ff00000 && iy < 0x7ff00000) { in ccosh() 68 if ((iy | ly) == 0) in ccosh() 109 if ((iy | ly) == 0) /* && ix >= 0x7ff00000 */ in ccosh() 133 if (iy >= 0x7ff00000) in ccosh()
|
D | s_csinh.c | 55 int32_t hx, hy, ix, iy, lx, ly; in csinh() local 64 iy = 0x7fffffff & hy; in csinh() 67 if (ix < 0x7ff00000 && iy < 0x7ff00000) { in csinh() 68 if ((iy | ly) == 0) in csinh() 106 if ((iy | ly) == 0) /* && ix >= 0x7ff00000 */ in csinh() 132 if (iy >= 0x7ff00000) in csinh()
|
D | e_powf.c | 64 int32_t hx,hy,ix,iy,is; in __ieee754_powf() local 68 ix = hx&0x7fffffff; iy = hy&0x7fffffff; in __ieee754_powf() 71 if(iy==0) return one; in __ieee754_powf() 78 iy > 0x7f800000) in __ieee754_powf() 88 if(iy>=0x4b800000) yisint = 2; /* even integer y */ in __ieee754_powf() 89 else if(iy>=0x3f800000) { in __ieee754_powf() 90 k = (iy>>23)-0x7f; /* exponent */ in __ieee754_powf() 91 j = iy>>(23-k); in __ieee754_powf() 92 if((j<<(23-k))==iy) yisint = 2-(j&1); in __ieee754_powf() 97 if (iy==0x7f800000) { /* y is +-inf */ in __ieee754_powf() [all …]
|
D | e_fmodl.c | 71 int ix,iy,n,sx; in fmodl() local 106 iy = uy.bits.exp - (BIAS + 512); in fmodl() 108 iy = uy.bits.exp - BIAS; in fmodl() 118 n = ix - iy; in fmodl() 137 iy -= 1; in fmodl() 141 if (iy < LDBL_MIN_EXP) { in fmodl() 142 ux.bits.exp = iy + (BIAS + 512); in fmodl() 145 ux.bits.exp = iy + BIAS; in fmodl()
|
D | s_remquol.c | 74 int ix,iy,n,q,sx,sxy; in remquol() local 114 iy = uy.bits.exp - (BIAS + 512); in remquol() 116 iy = uy.bits.exp - BIAS; in remquol() 126 n = ix - iy; in remquol() 145 iy -= 1; in remquol() 149 if (iy < LDBL_MIN_EXP) { in remquol() 150 ux.bits.exp = iy + (BIAS + 512); in remquol() 153 ux.bits.exp = iy + BIAS; in remquol()
|
D | s_copysignf.c | 31 u_int32_t ix,iy; in copysignf() local 33 GET_FLOAT_WORD(iy,y); in copysignf() 34 SET_FLOAT_WORD(x,(ix&0x7fffffff)|(iy&0x80000000)); in copysignf()
|
D | s_nextafter.c | 32 int32_t hx,hy,ix,iy; in nextafter() local 38 iy = hy&0x7fffffff; /* |y| */ in nextafter() 41 ((iy>=0x7ff00000)&&((iy-0x7ff00000)|ly)!=0)) /* y is nan */ in nextafter()
|
D | s_nextafterf.c | 26 int32_t hx,hy,ix,iy; in nextafterf() local 31 iy = hy&0x7fffffff; /* |y| */ in nextafterf() 34 (iy>0x7f800000)) /* y is nan */ in nextafterf()
|
D | k_tan.c | 79 __kernel_tan(double x, double y, int iy) { in __kernel_tan() argument 111 v = (double) iy; in __kernel_tan() 115 if (iy == 1) in __kernel_tan()
|
D | k_sincosl.h | 51 __kernel_sincosl(long double x, long double y, int iy, long double *sn, in __kernel_sincosl() argument 64 if (iy == 0) in __kernel_sincosl() 109 __kernel_sincosl(long double x, long double y, int iy, long double *sn, in __kernel_sincosl() argument 123 if (iy == 0) in __kernel_sincosl()
|
D | k_tanf.c | 39 __kernel_tandf(double x, int iy) in __kernel_tandf() argument 64 if(iy==1) return r; in __kernel_tandf()
|
D | k_sin.c | 60 __kernel_sin(double x, double y, int iy) in __kernel_sin() argument 68 if(iy==0) return x+v*(S1+z*r); in __kernel_sin()
|
D | k_sincos.h | 34 __kernel_sincos(double x, double y, int iy, double *sn, double *cs) in __kernel_sincos() argument 43 if (iy == 0) in __kernel_sincos()
|
/bionic/libm/upstream-freebsd/lib/msun/ld128/ |
D | e_powl.c | 154 u_int32_t ix, iy; in powl() local 164 iy = hy & 0x7fffffff; in powl() 168 if ((iy | q.parts32.mswlo | q.parts32.lswhi | q.parts32.lswlo) == 0) in powl() 174 if (x == -1.0L && iy == 0x7fff0000 in powl() 182 || (iy > 0x7fff0000) in powl() 183 || ((iy == 0x7fff0000) in powl() 195 if (iy >= 0x40700000) /* 2^113 */ in powl() 197 else if (iy >= 0x3fff0000) /* 1.0 */ in powl() 213 if (iy == 0x7fff0000) /* y is +-inf */ in powl() 223 if (iy == 0x3fff0000) in powl() [all …]
|
D | k_tanl.c | 65 __kernel_tanl(long double x, long double y, int iy) { in __kernel_tanl() argument 70 iy = (iy == 1 ? -1 : 1); /* XXX recover original interface */ in __kernel_tanl() 98 v = (long double) iy; in __kernel_tanl() 102 if (iy == 1) in __kernel_tanl()
|
D | k_sinl.c | 49 __kernel_sinl(long double x, long double y, int iy) in __kernel_sinl() argument 57 if(iy==0) return x+v*(S1+z*r); in __kernel_sinl()
|