Searched refs:hy (Results 1 - 20 of 20) sorted by path

/bionic/libc/upstream-freebsd/lib/libc/gen/
H A Dldexp.c90 u_int32_t hx,hy; local
92 GET_HIGH_WORD(hy,y);
93 SET_HIGH_WORD(x,(hx&0x7fffffff)|(hy&0x80000000));
/bionic/libm/upstream-freebsd/lib/msun/src/
H A De_atan2.c64 int32_t k,m,hx,hy,ix,iy; local
69 EXTRACT_WORDS(hy,ly,y);
70 iy = hy&0x7fffffff;
75 m = ((hy>>31)&1)|((hx>>30)&2); /* 2*sign(x)+sign(y) */
87 if((ix|lx)==0) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny;
108 if(iy==0x7ff00000) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny;
H A De_atan2f.c36 int32_t k,m,hx,hy,ix,iy; local
40 GET_FLOAT_WORD(hy,y);
41 iy = hy&0x7fffffff;
46 m = ((hy>>31)&1)|((hx>>30)&2); /* 2*sign(x)+sign(y) */
58 if(ix==0) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny;
79 if(iy==0x7f800000) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny;
H A De_fmod.c31 int32_t n,hx,hy,hz,ix,iy,sx,i; local
35 EXTRACT_WORDS(hy,ly,y);
38 hy &= 0x7fffffff; /* |y| */
41 if((hy|ly)==0||(hx>=0x7ff00000)|| /* y=0,or x not finite */
42 ((hy|((ly|-ly)>>31))>0x7ff00000)) /* or y is NaN */
44 if(hx<=hy) {
45 if((hx<hy)||(lx<ly)) return x; /* |x|<|y| return x */
60 if(hy<0x00100000) { /* subnormal y */
61 if(hy==0) {
64 for (iy = -1022,i=(hy<<1
[all...]
H A De_fmodf.c33 int32_t n,hx,hy,hz,ix,iy,sx,i; local
36 GET_FLOAT_WORD(hy,y);
39 hy &= 0x7fffffff; /* |y| */
42 if(hy==0||(hx>=0x7f800000)|| /* y=0,or x not finite */
43 (hy>0x7f800000)) /* or y is NaN */
45 if(hx<hy) return x; /* |x|<|y| return x */
46 if(hx==hy)
55 if(hy<0x00800000) { /* subnormal y */
56 for (iy = -126,i=(hy<<8); i>=0; i<<=1) iy -=1;
57 } else iy = (hy>>2
[all...]
H A De_fmodl.c69 manh_t hy; local
111 /* set up {hx,lx}, {hy,ly} and align y to x */
113 hy = SET_NBIT(uy.bits.manh);
121 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1;
129 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1;
H A De_pow.c102 int32_t hx,hy,ix,iy; local
106 EXTRACT_WORDS(hy,ly,y);
107 ix = hx&0x7fffffff; iy = hy&0x7fffffff;
146 return (hy>=0)? y: zero;
148 return (hy<0)?-y: zero;
151 if(hy<0) return one/x; else return x;
153 if(hy==0x40000000) return x*x; /* y is 2 */
154 if(hy==0x3fe00000) { /* y is 0.5 */
165 if(hy<0) z = one/z; /* z = (1/|x|) */
191 if(ix<=0x3fefffff) return (hy<
[all...]
H A De_powf.c61 int32_t hx,hy,ix,iy,is; local
64 GET_FLOAT_WORD(hy,y);
65 ix = hx&0x7fffffff; iy = hy&0x7fffffff;
98 return (hy>=0)? y: zero;
100 return (hy<0)?-y: zero;
103 if(hy<0) return one/x; else return x;
105 if(hy==0x40000000) return x*x; /* y is 2 */
106 if(hy==0x3f000000) { /* y is 0.5 */
115 if(hy<0) z = one/z; /* z = (1/|x|) */
136 if(ix<0x3f7ffff8) return (hy<
[all...]
H A Ds_ccosh.c51 int32_t hx, hy, ix, iy, lx, ly; local
57 EXTRACT_WORDS(hy, ly, y);
60 iy = 0x7fffffff & hy;
H A Ds_ccoshf.c45 int32_t hx, hy, ix, iy; local
51 GET_FLOAT_WORD(hy, y);
54 iy = 0x7fffffff & hy;
H A Ds_cexp.c43 uint32_t hx, hy, lx, ly; local
48 EXTRACT_WORDS(hy, ly, y);
49 hy &= 0x7fffffff;
52 if ((hy | ly) == 0)
59 if (hy >= 0x7ff00000) {
H A Ds_cexpf.c43 uint32_t hx, hy; local
48 GET_FLOAT_WORD(hy, y);
49 hy &= 0x7fffffff;
52 if (hy == 0)
59 if (hy >= 0x7f800000) {
H A Ds_copysign.c28 u_int32_t hx,hy; local
30 GET_HIGH_WORD(hy,y);
31 SET_HIGH_WORD(x,(hx&0x7fffffff)|(hy&0x80000000));
H A Ds_csinh.c51 int32_t hx, hy, ix, iy, lx, ly; local
57 EXTRACT_WORDS(hy, ly, y);
60 iy = 0x7fffffff & hy;
H A Ds_csinhf.c45 int32_t hx, hy, ix, iy; local
51 GET_FLOAT_WORD(hy, y);
54 iy = 0x7fffffff & hy;
H A Ds_nextafter.c32 int32_t hx,hy,ix,iy; local
36 EXTRACT_WORDS(hy,ly,y);
38 iy = hy&0x7fffffff; /* |y| */
45 INSERT_WORDS(x,hy&0x80000000,1); /* return +-minsubnormal */
50 if(hx>hy||((hx==hy)&&(lx>ly))) { /* x > y, x -= ulp */
58 if(hy>=0||hx>hy||((hx==hy)&&(lx>ly))){/* x < y, x -= ulp */
66 hy
[all...]
H A Ds_nextafterf.c26 int32_t hx,hy,ix,iy; local
29 GET_FLOAT_WORD(hy,y);
31 iy = hy&0x7fffffff; /* |y| */
38 SET_FLOAT_WORD(x,(hy&0x80000000)|1);/* return +-minsubnormal */
43 if(hx>hy) { /* x > y, x -= ulp */
49 if(hy>=0||hx>hy){ /* x < y, x -= ulp */
55 hy = hx&0x7f800000;
56 if(hy>=0x7f800000) return x+x; /* overflow */
57 if(hy<
[all...]
H A Ds_remquo.c34 int32_t n,hx,hy,hz,ix,iy,sx,i; local
38 EXTRACT_WORDS(hy,ly,y);
39 sxy = (hx ^ hy) & 0x80000000;
42 hy &= 0x7fffffff; /* |y| */
45 if((hy|ly)==0||(hx>=0x7ff00000)|| /* y=0,or x not finite */
46 ((hy|((ly|-ly)>>31))>0x7ff00000)) /* or y is NaN */
48 if(hx<=hy) {
49 if((hx<hy)||(lx<ly)) {
69 if(hy<0x00100000) { /* subnormal y */
70 if(hy
[all...]
H A Ds_remquof.c32 int32_t n,hx,hy,hz,ix,iy,sx,i; local
36 GET_FLOAT_WORD(hy,y);
37 sxy = (hx ^ hy) & 0x80000000;
40 hy &= 0x7fffffff; /* |y| */
43 if(hy==0||hx>=0x7f800000||hy>0x7f800000) /* y=0,NaN;or x not finite */
45 if(hx<hy) {
48 } else if(hx==hy) {
59 if(hy<0x00800000) { /* subnormal y */
60 for (iy = -126,i=(hy<<
[all...]
H A Ds_remquol.c72 manh_t hy; local
120 /* set up {hx,lx}, {hy,ly} and align y to x */
122 hy = SET_NBIT(uy.bits.manh);
131 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1;
136 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1;

Completed in 121 milliseconds