Searched refs:hx (Results 1 - 25 of 70) sorted by relevance

123

/external/fdlibm/
H A Ds_ilogb.c29 int hx,lx,ix; local
31 hx = (__HI(x))&0x7fffffff; /* high word of x */
32 if(hx<0x00100000) {
34 if((hx|lx)==0)
37 if(hx==0) {
40 for (ix = -1022,hx<<=11; hx>0; hx<<=1) ix -=1;
44 else if (hx<0x7ff00000) return (hx>>2
[all...]
H A Ds_finite.c28 int hx; local
29 hx = __HI(x);
30 return (unsigned)((hx&0x7fffffff)-0x7ff00000)>>31;
H A Ds_isnan.c28 int hx,lx; local
29 hx = (__HI(x)&0x7fffffff);
31 hx |= (unsigned)(lx|(-lx))>>31;
32 hx = 0x7ff00000 - hx;
33 return ((unsigned)(hx))>>31;
H A Ds_frexp.c40 int hx, ix, lx; local
41 hx = __HI(x);
42 ix = 0x7fffffff&hx;
48 hx = __HI(x);
49 ix = hx&0x7fffffff;
53 hx = (hx&0x800fffff)|0x3fe00000;
54 __HI(x) = hx;
H A De_log10.c69 int i,k,hx; local
72 hx = __HI(x); /* high word of x */
76 if (hx < 0x00100000) { /* x < 2**-1022 */
77 if (((hx&0x7fffffff)|lx)==0)
79 if (hx<0) return (x-x)/zero; /* ieee_log(-#) = NaN */
81 hx = __HI(x); /* high word of x */
83 if (hx >= 0x7ff00000) return x+x;
84 k += (hx>>20)-1023;
86 hx = (hx
[all...]
H A De_acosh.c47 int hx; local
48 hx = __HI(x);
49 if(hx<0x3ff00000) { /* x < 1 */
51 } else if(hx >=0x41b00000) { /* x > 2**28 */
52 if(hx >=0x7ff00000) { /* x is inf of NaN */
56 } else if(((hx-0x3ff00000)|__LO(x))==0) {
58 } else if (hx > 0x40000000) { /* 2**28 > x > 2 */
H A Ds_nextafter.c30 int hx,hy,ix,iy; local
33 hx = __HI(x); /* high word of x */
37 ix = hx&0x7fffffff; /* |x| */
50 if(hx>=0) { /* x > 0 */
51 if(hx>hy||((hx==hy)&&(lx>ly))) { /* x > y, x -= ulp */
52 if(lx==0) hx -= 1;
56 if(lx==0) hx += 1;
59 if(hy>=0||hx>hy||((hx
[all...]
H A De_fmod.c35 int n,hx,hy,hz,ix,iy,sx,i; local
38 hx = __HI(x); /* high word of x */
42 sx = hx&0x80000000; /* sign of x */
43 hx ^=sx; /* |x| */
47 if((hy|ly)==0||(hx>=0x7ff00000)|| /* y=0,or x not finite */
50 if(hx<=hy) {
51 if((hx<hy)||(lx<ly)) return x; /* |x|<|y| return x */
57 if(hx<0x00100000) { /* subnormal x */
58 if(hx==0) {
61 for (ix = -1022,i=(hx<<1
[all...]
H A Ds_cbrt.c46 int hx; local
51 hx = __HI(x); /* high word of x */
52 sign=hx&0x80000000; /* sign= sign(x) */
53 hx ^=sign;
54 if(hx>=0x7ff00000) return(x+x); /* ieee_cbrt(NaN,INF) is itself */
55 if((hx|__LO(x))==0)
58 __HI(x) = hx; /* x <- |x| */
60 if(hx<0x00100000) /* subnormal number */
65 __HI(t)=hx/3+B1;
H A Ds_scalbn.c40 int k,hx,lx; local
41 hx = __HI(x);
43 k = (hx&0x7ff00000)>>20; /* extract exponent */
45 if ((lx|(hx&0x7fffffff))==0) return x; /* +-0 */
47 hx = __HI(x);
48 k = ((hx&0x7ff00000)>>20) - 54;
55 {__HI(x) = (hx&0x800fffff)|(k<<20); return x;}
61 __HI(x) = (hx&0x800fffff)|(k<<20);
H A De_log.c93 int k,hx,i,j; local
96 hx = __HI(x); /* high word of x */
100 if (hx < 0x00100000) { /* x < 2**-1022 */
101 if (((hx&0x7fffffff)|lx)==0)
103 if (hx<0) return (x-x)/zero; /* ieee_log(-#) = NaN */
105 hx = __HI(x); /* high word of x */
107 if (hx >= 0x7ff00000) return x+x;
108 k += (hx>>20)-1023;
109 hx &= 0x000fffff;
110 i = (hx
[all...]
H A De_exp.c110 unsigned hx; local
112 hx = __HI(x); /* high word of x */
113 xsb = (hx>>31)&1; /* sign bit of x */
114 hx &= 0x7fffffff; /* high word of |x| */
117 if(hx >= 0x40862E42) { /* if |x|>=709.78... */
118 if(hx>=0x7ff00000) {
119 if(((hx&0xfffff)|__LO(x))!=0)
128 if(hx > 0x3fd62e42) { /* if |x| > 0.5 ln2 */
129 if(hx < 0x3FF0A2B2) { /* and |x| < 1.5 ln2 */
139 else if(hx <
[all...]
H A De_atanh.c51 int hx,ix; local
53 hx = __HI(x); /* high word */
55 ix = hx&0x7fffffff;
67 if(hx>=0) return t; else return -t;
H A Ds_asinh.c44 int hx,ix; local
45 hx = __HI(x);
46 ix = hx&0x7fffffff;
60 if(hx>0) return w; else return -w;
H A Ds_expm1.c138 unsigned hx; local
140 hx = __HI(x); /* high word of x */
141 xsb = hx&0x80000000; /* sign bit of x */
143 hx &= 0x7fffffff; /* high word of |x| */
146 if(hx >= 0x4043687A) { /* if |x|>=56*ln2 */
147 if(hx >= 0x40862E42) { /* if |x|>=709.78... */
148 if(hx>=0x7ff00000) {
149 if(((hx&0xfffff)|__LO(x))!=0)
162 if(hx > 0x3fd62e42) { /* if |x| > 0.5 ln2 */
163 if(hx <
[all...]
H A De_remainder.c39 int hx,hp; local
43 hx = __HI(x); /* high word of x */
47 sx = hx&0x80000000;
49 hx &= 0x7fffffff;
53 if((hx>=0x7ff00000)|| /* x not finite */
60 if (((hx-hp)|(lx-lp))==0) return zero*x;
H A De_atan2.c64 int k,m,hx,hy,ix,iy; local
67 hx = __HI(x); ix = hx&0x7fffffff;
74 if((hx-0x3ff00000|lx)==0) return ieee_atan(y); /* x=1.0 */
75 m = ((hy>>31)&1)|((hx>>30)&2); /* 2*sign(x)+sign(y) */
113 else if(hx<0&&k<-60) z=0.0; /* |y|/x < -2**60 */
H A Ds_log1p.c107 int k,hx,hu,ax; local
109 hx = __HI(x); /* high word of x */
110 ax = hx&0x7fffffff;
113 if (hx < 0x3FDA827A) { /* x < 0.41422 */
125 if(hx>0||hx<=((int)0xbfd2bec3)) {
128 if (hx >= 0x7ff00000) return x+x;
130 if(hx<0x43400000) {
H A Ds_atan.c93 int ix,hx,id; local
95 hx = __HI(x);
96 ix = hx&0x7fffffff;
101 if(hx>0) return atanhi[3]+atanlo[3];
132 return (hx<0)? -z:z;
H A Ds_erf.c197 int hx,ix,i; local
199 hx = __HI(x);
200 ix = hx&0x7fffffff;
202 i = ((unsigned)hx>>31)<<1;
222 if(hx>=0) return erx + P/Q; else return -erx - P/Q;
225 if(hx>=0) return one-tiny; else return tiny-one;
243 if(hx>=0) return one-r/x; else return r/x-one;
253 int hx,ix; local
255 hx = __HI(x);
256 ix = hx
[all...]
H A De_acos.c68 int hx,ix; local
69 hx = __HI(x);
70 ix = hx&0x7fffffff;
73 if(hx>0) return 0.0; /* ieee_acos(1) = 0 */
85 } else if (hx<0) { /* x < -0.5 */
H A Dk_tan.c22 * 2. if x < 2^-28 (hx<0x3e300000 0), return x with inexact if x!=0.
76 int ix, hx; local
78 hx = __HI(x); /* high word of x */
79 ix = hx & 0x7fffffff; /* high word of |x| */
102 if (hx < 0) {
128 return (double) (1 - ((hx >> 30) & 2)) *
/external/qemu/distrib/sdl-1.2.15/src/video/
H A De_log.h94 int32_t k,hx,i,j; local
97 EXTRACT_WORDS(hx,lx,x);
100 if (hx < 0x00100000) { /* x < 2**-1022 */
101 if (((hx&0x7fffffff)|lx)==0)
103 if (hx<0) return (x-x)/zero; /* log(-#) = NaN */
105 GET_HIGH_WORD(hx,x);
107 if (hx >= 0x7ff00000) return x+x;
108 k += (hx>>20)-1023;
109 hx &= 0x000fffff;
110 i = (hx
[all...]
H A De_sqrt.h97 u_int32_t hx,hy; local
98 GET_HIGH_WORD(hx,x);
100 SET_HIGH_WORD(x,(hx&0x7fffffff)|(hy&0x80000000));
111 int32_t k,hx,lx; local
112 EXTRACT_WORDS(hx,lx,x);
113 k = (hx&0x7ff00000)>>20; /* extract exponent */
115 if ((lx|(hx&0x7fffffff))==0) return x; /* +-0 */
117 GET_HIGH_WORD(hx,x);
118 k = ((hx&0x7ff00000)>>20) - 54;
125 {SET_HIGH_WORD(x,(hx
[all...]
/external/chromium_org/v8/test/mjsunit/compiler/
H A Descape-analysis-arguments.js93 return { gx : g.arguments[0], hx : h.arguments[0] };
109 assertEquals(4, r.hx.z)
112 assertEquals(3, r.hx.z)
127 return { gx : g.arguments[0], hx : h.arguments[0] };
143 assertEquals(4, r.hx.z)
146 assertEquals(3, r.hx.z)

Completed in 163 milliseconds

123