/bionic/libm/src/ |
D | e_fmodf.c | 34 int32_t n,hx,hy,hz,ix,iy,sx,i; in __ieee754_fmodf() local 57 for (iy = -126,i=(hy<<8); i>=0; i<<=1) iy -=1; in __ieee754_fmodf() 58 } else iy = (hy>>23)-127; in __ieee754_fmodf() 67 if(iy >= -126) in __ieee754_fmodf() 70 n = -126-iy; in __ieee754_fmodf() 75 n = ix - iy; in __ieee754_fmodf() 93 iy -= 1; in __ieee754_fmodf() 95 if(iy>= -126) { /* normalize output */ in __ieee754_fmodf() 96 hx = ((hx-0x00800000)|((iy+127)<<23)); in __ieee754_fmodf() 99 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() 96 iy -= 1; in remquof() 98 if(iy>= -126) { /* normalize output */ in remquof() 99 hx = ((hx-0x00800000)|((iy+127)<<23)); in remquof() 101 n = -126 - iy; in remquof()
|
D | s_copysignf.c | 32 u_int32_t ix,iy; in copysignf() local 34 GET_FLOAT_WORD(iy,y); in copysignf() 35 SET_FLOAT_WORD(x,(ix&0x7fffffff)|(iy&0x80000000)); in copysignf()
|
D | e_fmod.c | 32 int32_t n,hx,hy,hz,ix,iy,sx,i; in __ieee754_fmod() local 63 for (iy = -1043, i=ly; i>0; i<<=1) iy -=1; in __ieee754_fmod() 65 for (iy = -1022,i=(hy<<11); i>0; i<<=1) iy -=1; in __ieee754_fmod() 67 } else iy = (hy>>20)-1023; in __ieee754_fmod() 82 if(iy >= -1022) in __ieee754_fmod() 85 n = -1022-iy; in __ieee754_fmod() 96 n = ix - iy; in __ieee754_fmod() 114 iy -= 1; in __ieee754_fmod() 116 if(iy>= -1022) { /* normalize output */ in __ieee754_fmod() 117 hx = ((hx-0x00100000)|((iy+1023)<<20)); in __ieee754_fmod() [all …]
|
D | e_atan2f.c | 35 int32_t k,m,hx,hy,ix,iy; in __ieee754_atan2f() local 40 iy = hy&0x7fffffff; in __ieee754_atan2f() 42 (iy>0x7f800000)) /* x or y is NaN */ in __ieee754_atan2f() 48 if(iy==0) { in __ieee754_atan2f() 61 if(iy==0x7f800000) { in __ieee754_atan2f() 78 if(iy==0x7f800000) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny; in __ieee754_atan2f() 81 k = (iy-ix)>>23; in __ieee754_atan2f()
|
D | s_remquo.c | 32 int32_t n,hx,hy,hz,ix,iy,sx,i; in remquo() local 69 for (iy = -1043, i=ly; i>0; i<<=1) iy -=1; in remquo() 71 for (iy = -1022,i=(hy<<11); i>0; i<<=1) iy -=1; in remquo() 73 } else iy = (hy>>20)-1023; in remquo() 88 if(iy >= -1022) in remquo() 91 n = -1022-iy; in remquo() 102 n = ix - iy; in remquo() 120 iy -= 1; in remquo() 122 if(iy>= -1022) { /* normalize output */ in remquo() 123 hx = ((hx-0x00100000)|((iy+1023)<<20)); in remquo() [all …]
|
D | e_atan2.c | 61 int32_t k,m,hx,hy,ix,iy; in __ieee754_atan2() local 67 iy = hy&0x7fffffff; in __ieee754_atan2() 69 ((iy|((ly|-ly)>>31))>0x7ff00000)) /* x or y is NaN */ in __ieee754_atan2() 75 if((iy|ly)==0) { in __ieee754_atan2() 88 if(iy==0x7ff00000) { in __ieee754_atan2() 105 if(iy==0x7ff00000) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny; in __ieee754_atan2() 108 k = (iy-ix)>>20; in __ieee754_atan2()
|
D | s_nextafterf.c | 27 int32_t hx,hy,ix,iy; in nextafterf() local 32 iy = hy&0x7fffffff; /* |y| */ in nextafterf() 35 (iy>0x7f800000)) /* y is nan */ in nextafterf()
|
D | s_nextafter.c | 34 int32_t hx,hy,ix,iy; in nextafter() local 40 iy = hy&0x7fffffff; /* |y| */ in nextafter() 43 ((iy>=0x7ff00000)&&((iy-0x7ff00000)|ly)!=0)) /* y is nan */ in nextafter()
|
D | e_pow.c | 103 int32_t hx,hy,ix,iy; in __ieee754_pow() local 108 ix = hx&0x7fffffff; iy = hy&0x7fffffff; in __ieee754_pow() 111 if((iy|ly)==0) return one; in __ieee754_pow() 115 iy > 0x7ff00000 || ((iy==0x7ff00000)&&(ly!=0))) in __ieee754_pow() 125 if(iy>=0x43400000) yisint = 2; /* even integer y */ in __ieee754_pow() 126 else if(iy>=0x3ff00000) { in __ieee754_pow() 127 k = (iy>>20)-0x3ff; /* exponent */ in __ieee754_pow() 132 j = iy>>(20-k); in __ieee754_pow() 133 if((j<<(20-k))==iy) yisint = 2-(j&1); in __ieee754_pow() 140 if (iy==0x7ff00000) { /* y is +-inf */ in __ieee754_pow() [all …]
|
D | k_tanf.c | 40 __kernel_tandf(double x, int iy) in __kernel_tandf() argument 65 if(iy==1) return r; in __kernel_tandf()
|
D | k_sin.c | 61 __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 | e_powf.c | 62 int32_t hx,hy,ix,iy,is; in __ieee754_powf() local 66 ix = hx&0x7fffffff; iy = hy&0x7fffffff; in __ieee754_powf() 69 if(iy==0) return one; in __ieee754_powf() 73 iy > 0x7f800000) in __ieee754_powf() 83 if(iy>=0x4b800000) yisint = 2; /* even integer y */ in __ieee754_powf() 84 else if(iy>=0x3f800000) { in __ieee754_powf() 85 k = (iy>>23)-0x7f; /* exponent */ in __ieee754_powf() 86 j = iy>>(23-k); in __ieee754_powf() 87 if((j<<(23-k))==iy) yisint = 2-(j&1); in __ieee754_powf() 92 if (iy==0x7f800000) { /* y is +-inf */ in __ieee754_powf() [all …]
|
D | k_tan.c | 80 __kernel_tan(double x, double y, int iy) { in __kernel_tan() argument 112 v = (double) iy; in __kernel_tan() 116 if (iy == 1) in __kernel_tan()
|