HomeSort by relevance Sort by last modified time
    Searched defs:hx (Results 51 - 75 of 142) sorted by null

1 23 4 5 6

  /bionic/libm/upstream-freebsd/lib/msun/src/
s_cosf.c 42 int32_t n, hx, ix; local
44 GET_FLOAT_WORD(hx,x);
45 ix = hx & 0x7fffffff;
54 return -__kernel_cosdf(x + (hx > 0 ? -c2pio2 : c2pio2));
56 if(hx>0)
64 return __kernel_cosdf(x + (hx > 0 ? -c4pio2 : c4pio2));
66 if(hx>0)
s_csinh.c 51 int32_t hx, hy, ix, iy, lx, ly; local
56 EXTRACT_WORDS(hx, lx, x);
59 ix = 0x7fffffff & hx;
103 if (((hx & 0xfffff) | lx) == 0)
130 if (ix >= 0x7ff00000 && ((hx & 0xfffff) | lx) == 0) {
s_ctanh.c 79 uint32_t hx, ix, lx; local
84 EXTRACT_WORDS(hx, lx, x);
85 ix = hx & 0x7fffffff;
106 SET_HIGH_WORD(x, hx - 0x40000000); /* x = copysign(1, x) */
s_ctanhf.c 44 uint32_t hx, ix; local
49 GET_FLOAT_WORD(hx, x);
50 ix = hx & 0x7fffffff;
55 SET_FLOAT_WORD(x, hx - 0x40000000);
s_remquo.c 34 int32_t n,hx,hy,hz,ix,iy,sx,i; local
37 EXTRACT_WORDS(hx,lx,x);
39 sxy = (hx ^ hy) & 0x80000000;
40 sx = hx&0x80000000; /* sign of x */
41 hx ^=sx; /* |x| */
45 if((hy|ly)==0||(hx>=0x7ff00000)|| /* y=0,or x not finite */
48 if(hx<=hy) {
49 if((hx<hy)||(lx<ly)) {
60 if(hx<0x00100000) { /* subnormal x */
61 if(hx==0)
    [all...]
s_remquof.c 32 int32_t n,hx,hy,hz,ix,iy,sx,i; local
35 GET_FLOAT_WORD(hx,x);
37 sxy = (hx ^ hy) & 0x80000000;
38 sx = hx&0x80000000; /* sign of x */
39 hx ^=sx; /* |x| */
43 if(hy==0||hx>=0x7f800000||hy>0x7f800000) /* y=0,NaN;or x not finite */
45 if(hx<hy) {
48 } else if(hx==hy) {
54 if(hx<0x00800000) { /* subnormal x */
55 for (ix = -126,i=(hx<<8); i>0; i<<=1) ix -=1
    [all...]
s_sinf.c 42 int32_t n, hx, ix; local
44 GET_FLOAT_WORD(hx,x);
45 ix = hx & 0x7fffffff;
54 if(hx>0)
59 return __kernel_sindf((hx > 0 ? s2pio2 : -s2pio2) - x);
63 if(hx>0)
68 return __kernel_sindf(x + (hx > 0 ? -s4pio2 : s4pio2));
s_tanf.c 40 int32_t n, hx, ix; local
42 GET_FLOAT_WORD(hx,x);
43 ix = hx & 0x7fffffff;
52 return __kernel_tandf(x + (hx>0 ? -t1pio2 : t1pio2), -1);
54 return __kernel_tandf(x + (hx>0 ? -t2pio2 : t2pio2), 1);
58 return __kernel_tandf(x + (hx>0 ? -t3pio2 : t3pio2), -1);
60 return __kernel_tandf(x + (hx>0 ? -t4pio2 : t4pio2), 1);
e_acosf.c 38 int32_t hx,ix; local
39 GET_FLOAT_WORD(hx,x);
40 ix = hx&0x7fffffff;
43 if(hx>0) return 0.0; /* acos(1) = 0 */
55 } else if (hx<0) { /* x < -0.5 */
e_log10f.c 37 int32_t i,k,hx; local
39 GET_FLOAT_WORD(hx,x);
42 if (hx < 0x00800000) { /* x < 2**-126 */
43 if ((hx&0x7fffffff)==0)
45 if (hx<0) return (x-x)/zero; /* log(-#) = NaN */
47 GET_FLOAT_WORD(hx,x);
49 if (hx >= 0x7f800000) return x+x;
50 if (hx == 0x3f800000)
52 k += (hx>>23)-127;
53 hx &= 0x007fffff
    [all...]
e_log2.c 45 int32_t i,k,hx; local
48 EXTRACT_WORDS(hx,lx,x);
51 if (hx < 0x00100000) { /* x < 2**-1022 */
52 if (((hx&0x7fffffff)|lx)==0)
54 if (hx<0) return (x-x)/zero; /* log(-#) = NaN */
56 GET_HIGH_WORD(hx,x);
58 if (hx >= 0x7ff00000) return x+x;
59 if (hx == 0x3ff00000 && lx == 0)
61 k += (hx>>20)-1023;
62 hx &= 0x000fffff
    [all...]
s_cbrt.c 39 int32_t hx; local
48 EXTRACT_WORDS(hx,low,x);
49 sign=hx&0x80000000; /* sign= sign(x) */
50 hx ^=sign;
51 if(hx>=0x7ff00000) return(x+x); /* cbrt(NaN,INF) is itself */
68 if(hx<0x00100000) { /* zero or subnormal? */
69 if((hx|low)==0)
76 INSERT_WORDS(t,sign|(hx/3+B1),0);
s_cbrtl.c 41 uint32_t hx; local
93 GET_FLOAT_WORD(hx, fx);
94 SET_FLOAT_WORD(ft, ((hx & 0x7fffffff) / 3 + B1));
s_exp2f.c 99 uint32_t hx, ix, i0; local
103 GET_FLOAT_WORD(hx, x);
104 ix = hx & 0x7fffffff; /* high word of |x| */
107 if ((ix & 0x7fffff) != 0 || (hx & 0x80000000) == 0)
e_acos.c 68 int32_t hx,ix; local
69 GET_HIGH_WORD(hx,x);
70 ix = hx&0x7fffffff;
75 if(hx>0) return 0.0; /* acos(1) = 0 */
87 } else if (hx<0) { /* x < -0.5 */
e_asin.c 74 int32_t hx,ix; local
75 GET_HIGH_WORD(hx,x);
76 ix = hx&0x7fffffff;
112 if(hx>0) return t; else return -t;
  /external/fdlibm/
e_atan2.c 64 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 */
e_fmod.c 35 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<<11); i>0; i<<=1) ix -=1
    [all...]
e_log10.c 69 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&0x000fffff)|((0x3ff-i)<<20)
    [all...]
k_tan.c 22 * 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)) *
s_atan.c 93 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;
s_cbrt.c 46 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;
  /ndk/sources/android/support/src/msun/
e_log2f.c 35 int32_t i,k,hx; local
37 GET_FLOAT_WORD(hx,x);
40 if (hx < 0x00800000) { /* x < 2**-126 */
41 if ((hx&0x7fffffff)==0)
43 if (hx<0) return (x-x)/zero; /* log(-#) = NaN */
45 GET_FLOAT_WORD(hx,x);
47 if (hx >= 0x7f800000) return x+x;
48 if (hx == 0x3f800000)
50 k += (hx>>23)-127;
51 hx &= 0x007fffff
    [all...]
e_log2.c 45 int32_t i,k,hx; local
48 EXTRACT_WORDS(hx,lx,x);
51 if (hx < 0x00100000) { /* x < 2**-1022 */
52 if (((hx&0x7fffffff)|lx)==0)
54 if (hx<0) return (x-x)/zero; /* log(-#) = NaN */
56 GET_HIGH_WORD(hx,x);
58 if (hx >= 0x7ff00000) return x+x;
59 if (hx == 0x3ff00000 && lx == 0)
61 k += (hx>>20)-1023;
62 hx &= 0x000fffff
    [all...]
  /bionic/libc/upstream-freebsd/lib/libc/gen/
ldexp.c 90 u_int32_t hx,hy; local
91 GET_HIGH_WORD(hx,x);
93 SET_HIGH_WORD(x,(hx&0x7fffffff)|(hy&0x80000000));
100 int32_t k,hx,lx; local
101 EXTRACT_WORDS(hx,lx,x);
102 k = (hx&0x7ff00000)>>20; /* extract exponent */
104 if ((lx|(hx&0x7fffffff))==0) return x; /* +-0 */
106 GET_HIGH_WORD(hx,x);
107 k = ((hx&0x7ff00000)>>20) - 54;
114 {SET_HIGH_WORD(x,(hx&0x800fffff)|(k<<20)); return x;
    [all...]

Completed in 671 milliseconds

1 23 4 5 6