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

12

/openjdk7/jdk/src/share/native/java/lang/fdlibm/src/
H A Ds_ilogb.c42 int hx,lx,ix; local
44 hx = (__HI(x))&0x7fffffff; /* high word of x */
45 if(hx<0x00100000) {
47 if((hx|lx)==0)
50 if(hx==0) {
53 for (ix = -1022,hx<<=11; hx>0; hx<<=1) ix -=1;
57 else if (hx<0x7ff00000) return (hx>>2
[all...]
H A Ds_finite.c41 int hx; local
42 hx = __HI(x);
43 return (unsigned)((hx&0x7fffffff)-0x7ff00000)>>31;
H A Ds_isnan.c41 int hx,lx; local
42 hx = (__HI(x)&0x7fffffff);
44 hx |= (unsigned)(lx|(-lx))>>31;
45 hx = 0x7ff00000 - hx;
46 return ((unsigned)(hx))>>31;
H A Ds_frexp.c53 int hx, ix, lx; local
54 hx = __HI(x);
55 ix = 0x7fffffff&hx;
61 hx = __HI(x);
62 ix = hx&0x7fffffff;
66 hx = (hx&0x800fffff)|0x3fe00000;
67 __HI(x) = hx;
H A De_log10.c82 int i,k,hx; local
85 hx = __HI(x); /* high word of x */
89 if (hx < 0x00100000) { /* x < 2**-1022 */
90 if (((hx&0x7fffffff)|lx)==0)
92 if (hx<0) return (x-x)/zero; /* log(-#) = NaN */
94 hx = __HI(x); /* high word of x */
96 if (hx >= 0x7ff00000) return x+x;
97 k += (hx>>20)-1023;
99 hx = (hx
[all...]
H A De_acosh.c59 int hx; local
60 hx = __HI(x);
61 if(hx<0x3ff00000) { /* x < 1 */
63 } else if(hx >=0x41b00000) { /* x > 2**28 */
64 if(hx >=0x7ff00000) { /* x is inf of NaN */
68 } else if(((hx-0x3ff00000)|__LO(x))==0) {
70 } else if (hx > 0x40000000) { /* 2**28 > x > 2 */
H A Ds_nextafter.c43 int hx,hy,ix,iy; local
46 hx = __HI(x); /* high word of x */
50 ix = hx&0x7fffffff; /* |x| */
63 if(hx>=0) { /* x > 0 */
64 if(hx>hy||((hx==hy)&&(lx>ly))) { /* x > y, x -= ulp */
65 if(lx==0) hx -= 1;
69 if(lx==0) hx += 1;
72 if(hy>=0||hx>hy||((hx
[all...]
H A De_fmod.c48 int n,hx,hy,hz,ix,iy,sx,i; local
51 hx = __HI(x); /* high word of x */
55 sx = hx&0x80000000; /* sign of x */
56 hx ^=sx; /* |x| */
60 if((hy|ly)==0||(hx>=0x7ff00000)|| /* y=0,or x not finite */
63 if(hx<=hy) {
64 if((hx<hy)||(lx<ly)) return x; /* |x|<|y| return x */
70 if(hx<0x00100000) { /* subnormal x */
71 if(hx==0) {
74 for (ix = -1022,i=(hx<<1
[all...]
H A Ds_cbrt.c58 int hx; local
63 hx = __HI(x); /* high word of x */
64 sign=hx&0x80000000; /* sign= sign(x) */
65 hx ^=sign;
66 if(hx>=0x7ff00000) return(x+x); /* cbrt(NaN,INF) is itself */
67 if((hx|__LO(x))==0)
70 __HI(x) = hx; /* x <- |x| */
72 if(hx<0x00100000) /* subnormal number */
77 __HI(t)=hx/3+B1;
H A Ds_scalbn.c53 int k,hx,lx; local
54 hx = __HI(x);
56 k = (hx&0x7ff00000)>>20; /* extract exponent */
58 if ((lx|(hx&0x7fffffff))==0) return x; /* +-0 */
60 hx = __HI(x);
61 k = ((hx&0x7ff00000)>>20) - 54;
68 {__HI(x) = (hx&0x800fffff)|(k<<20); return x;}
75 __HI(x) = (hx&0x800fffff)|(k<<20);
H A De_log.c106 int k,hx,i,j; local
109 hx = __HI(x); /* high word of x */
113 if (hx < 0x00100000) { /* x < 2**-1022 */
114 if (((hx&0x7fffffff)|lx)==0)
116 if (hx<0) return (x-x)/zero; /* log(-#) = NaN */
118 hx = __HI(x); /* high word of x */
120 if (hx >= 0x7ff00000) return x+x;
121 k += (hx>>20)-1023;
122 hx &= 0x000fffff;
123 i = (hx
[all...]
H A De_exp.c124 unsigned hx; local
126 hx = __HI(x); /* high word of x */
127 xsb = (hx>>31)&1; /* sign bit of x */
128 hx &= 0x7fffffff; /* high word of |x| */
131 if(hx >= 0x40862E42) { /* if |x|>=709.78... */
132 if(hx>=0x7ff00000) {
133 if(((hx&0xfffff)|__LO(x))!=0)
142 if(hx > 0x3fd62e42) { /* if |x| > 0.5 ln2 */
143 if(hx < 0x3FF0A2B2) { /* and |x| < 1.5 ln2 */
153 else if(hx <
[all...]
H A De_atanh.c63 int hx,ix; local
65 hx = __HI(x); /* high word */
67 ix = hx&0x7fffffff;
79 if(hx>=0) return t; else return -t;
H A Ds_asinh.c57 int hx,ix; local
58 hx = __HI(x);
59 ix = hx&0x7fffffff;
73 if(hx>0) return w; else return -w;
H A Ds_expm1.c152 unsigned hx; local
154 hx = __HI(x); /* high word of x */
155 xsb = hx&0x80000000; /* sign bit of x */
157 hx &= 0x7fffffff; /* high word of |x| */
160 if(hx >= 0x4043687A) { /* if |x|>=56*ln2 */
161 if(hx >= 0x40862E42) { /* if |x|>=709.78... */
162 if(hx>=0x7ff00000) {
163 if(((hx&0xfffff)|__LO(x))!=0)
176 if(hx > 0x3fd62e42) { /* if |x| > 0.5 ln2 */
177 if(hx <
[all...]
H A De_remainder.c52 int hx,hp; local
56 hx = __HI(x); /* high word of x */
60 sx = hx&0x80000000;
62 hx &= 0x7fffffff;
66 if((hx>=0x7ff00000)|| /* x not finite */
73 if (((hx-hp)|(lx-lp))==0) return zero*x;
H A Ds_log1p.c120 int k,hx,hu=0,ax; local
122 hx = __HI(x); /* high word of x */
123 ax = hx&0x7fffffff;
126 if (hx < 0x3FDA827A) { /* x < 0.41422 */
129 * Added redundant test against hx to work around VC++
132 if(x==-1.0 && (hx==0xbff00000)) /* log1p(-1)=-inf */
144 if(hx>0||hx<=((int)0xbfd2bec3)) {
147 if (hx >= 0x7ff00000) return x+x;
149 if(hx<
[all...]
H A De_atan2.c76 int k,m,hx,hy,ix,iy; local
79 hx = __HI(x); ix = hx&0x7fffffff;
86 if(((hx-0x3ff00000)|lx)==0) return atan(y); /* x=1.0 */
87 m = ((hy>>31)&1)|((hx>>30)&2); /* 2*sign(x)+sign(y) */
125 else if(hx<0&&k<-60) z=0.0; /* |y|/x < -2**60 */
H A Ds_atan.c105 int ix,hx,id; local
107 hx = __HI(x);
108 ix = hx&0x7fffffff;
113 if(hx>0) return atanhi[3]+atanlo[3];
144 return (hx<0)? -z:z;
H A Ds_erf.c210 int hx,ix,i; local
212 hx = __HI(x);
213 ix = hx&0x7fffffff;
215 i = ((unsigned)hx>>31)<<1;
235 if(hx>=0) return erx + P/Q; else return -erx - P/Q;
238 if(hx>=0) return one-tiny; else return tiny-one;
256 if(hx>=0) return one-r/x; else return r/x-one;
266 int hx,ix; local
268 hx = __HI(x);
269 ix = hx
[all...]
H A De_acos.c81 int hx,ix; local
82 hx = __HI(x);
83 ix = hx&0x7fffffff;
86 if(hx>0) return 0.0; /* acos(1) = 0 */
98 } else if (hx<0) { /* x < -0.5 */
H A Dk_tan.c36 * 2. if x < 2^-28 (hx<0x3e300000 0), return x with inexact if x!=0.
94 int ix,hx; local
95 hx = __HI(x); /* high word of x */
96 ix = hx&0x7fffffff; /* high word of |x| */
119 if(hx<0) {x = -x; y = -y;}
138 return (double)(1-((hx>>30)&2))*(v-2.0*(x-(w*w/(w+v)-r)));
H A De_asin.c90 int hx,ix; local
91 hx = __HI(x);
92 ix = hx&0x7fffffff;
126 if(hx>0) return t; else return -t;
H A De_jn.c73 int i,hx,ix,lx, sgn; local
80 hx = __HI(x);
81 ix = 0x7fffffff&hx;
88 hx ^= 0x80000000;
92 sgn = (n&1)&(hx>>31); /* even n -- 0, odd n -- sign(x) */
234 int i,hx,ix,lx; local
238 hx = __HI(x);
239 ix = 0x7fffffff&hx;
244 if(hx<0) return zero/zero;
/openjdk7/hotspot/src/share/vm/runtime/
H A DsharedRuntimeTrans.cpp89 int k,hx,lx; local
90 hx = __HI(x);
92 k = (hx&0x7ff00000)>>20; /* extract exponent */
94 if ((lx|(hx&0x7fffffff))==0) return x; /* +-0 */
96 hx = __HI(x);
97 k = ((hx&0x7ff00000)>>20) - 54;
104 {__HI(x) = (hx&0x800fffff)|(k<<20); return x;}
111 __HI(x) = (hx&0x800fffff)|(k<<20);
181 int k,hx,i,j; local
184 hx
275 int i,k,hx; local
387 unsigned hx; local
513 int hx,hy,ix,iy; local
[all...]

Completed in 35 milliseconds

12