HomeSort by relevance Sort by last modified time
    Searched refs:hx (Results 1 - 25 of 207) sorted by null

1 2 3 4 5 6 7 8 9

  /bionic/libm/upstream-freebsd/lib/msun/src/
s_ilogbf.c 26 int32_t hx,ix; local
28 GET_FLOAT_WORD(hx,x);
29 hx &= 0x7fffffff;
30 if(hx<0x00800000) {
31 if(hx==0)
34 for (ix = -126,hx<<=8; hx>0; hx<<=1) ix -=1;
37 else if (hx<0x7f800000) return (hx>>23)-127
    [all...]
s_ilogb.c 30 int32_t hx,lx,ix; local
32 EXTRACT_WORDS(hx,lx,x);
33 hx &= 0x7fffffff;
34 if(hx<0x00100000) {
35 if((hx|lx)==0)
38 if(hx==0) {
41 for (ix = -1022,hx<<=11; hx>0; hx<<=1) ix -=1;
45 else if (hx<0x7ff00000) return (hx>>20)-1023
    [all...]
e_fmodf.c 33 int32_t n,hx,hy,hz,ix,iy,sx,i; local
35 GET_FLOAT_WORD(hx,x);
37 sx = hx&0x80000000; /* sign of x */
38 hx ^=sx; /* |x| */
42 if(hy==0||(hx>=0x7f800000)|| /* y=0,or x not finite */
45 if(hx<hy) return x; /* |x|<|y| return x */
46 if(hx==hy)
50 if(hx<0x00800000) { /* subnormal x */
51 for (ix = -126,i=(hx<<8); i>0; i<<=1) ix -=1;
52 } else ix = (hx>>23)-127
    [all...]
s_nextafterf.c 26 int32_t hx,hy,ix,iy; local
28 GET_FLOAT_WORD(hx,x);
30 ix = hx&0x7fffffff; /* |x| */
42 if(hx>=0) { /* x > 0 */
43 if(hx>hy) { /* x > y, x -= ulp */
44 hx -= 1;
46 hx += 1;
49 if(hy>=0||hx>hy){ /* x < y, x -= ulp */
50 hx -= 1;
52 hx += 1
    [all...]
s_finite.c 26 int32_t hx; local
27 GET_HIGH_WORD(hx,x);
28 return (int)((u_int32_t)((hx&0x7fffffff)-0x7ff00000)>>31);
s_frexp.c 37 int32_t hx, ix, lx; local
38 EXTRACT_WORDS(hx,lx,x);
39 ix = 0x7fffffff&hx;
44 GET_HIGH_WORD(hx,x);
45 ix = hx&0x7fffffff;
49 hx = (hx&0x800fffff)|0x3fe00000;
50 SET_HIGH_WORD(x,hx);
s_frexpf.c 28 int32_t hx,ix; local
29 GET_FLOAT_WORD(hx,x);
30 ix = 0x7fffffff&hx;
35 GET_FLOAT_WORD(hx,x);
36 ix = hx&0x7fffffff;
40 hx = (hx&0x807fffff)|0x3f000000;
41 SET_FLOAT_WORD(x,hx);
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...]
e_acoshf.c 30 int32_t hx; local
31 GET_FLOAT_WORD(hx,x);
32 if(hx<0x3f800000) { /* x < 1 */
34 } else if(hx >=0x4d800000) { /* x > 2**28 */
35 if(hx >=0x7f800000) { /* x is inf of NaN */
39 } else if (hx==0x3f800000) {
41 } else if (hx > 0x40000000) { /* 2**28 > x > 2 */
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_nextafter.c 32 int32_t hx,hy,ix,iy; local
35 EXTRACT_WORDS(hx,lx,x);
37 ix = hx&0x7fffffff; /* |x| */
49 if(hx>=0) { /* x > 0 */
50 if(hx>hy||((hx==hy)&&(lx>ly))) { /* x > y, x -= ulp */
51 if(lx==0) hx -= 1;
55 if(lx==0) hx += 1;
58 if(hy>=0||hx>hy||((hx==hy)&&(lx>ly))){/* x < y, x -= ulp *
    [all...]
e_fmod.c 31 int32_t n,hx,hy,hz,ix,iy,sx,i; local
34 EXTRACT_WORDS(hx,lx,x);
36 sx = hx&0x80000000; /* sign of x */
37 hx ^=sx; /* |x| */
41 if((hy|ly)==0||(hx>=0x7ff00000)|| /* y=0,or x not finite */
44 if(hx<=hy) {
45 if((hx<hy)||(lx<ly)) return x; /* |x|<|y| return x */
51 if(hx<0x00100000) { /* subnormal x */
52 if(hx==0) {
55 for (ix = -1022,i=(hx<<11); i>0; i<<=1) ix -=1
    [all...]
  /external/fdlibm/
s_ilogb.c 29 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>>20)-1023
    [all...]
s_finite.c 28 int hx; local
29 hx = __HI(x);
30 return (unsigned)((hx&0x7fffffff)-0x7ff00000)>>31;
s_isnan.c 28 int hx,lx; local
29 hx = (__HI(x)&0x7fffffff);
31 hx |= (unsigned)(lx|(-lx))>>31;
32 hx = 0x7ff00000 - hx;
33 return ((unsigned)(hx))>>31;
s_frexp.c 40 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;
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...]
e_acosh.c 47 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 */
s_nextafter.c 30 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==hy)&&(lx>ly))){/* x < y, x -= ulp *
    [all...]
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...]
  /device/google/contexthub/firmware/lib/libm/
ef_fmod.c 37 __int32_t n,hx,hy,hz,ix,iy,sx,i; local
39 GET_FLOAT_WORD(hx,x);
41 sx = hx&0x80000000; /* sign of x */
42 hx ^=sx; /* |x| */
47 !FLT_UWORD_IS_FINITE(hx)||
50 if(hx<hy) return x; /* |x|<|y| return x */
51 if(hx==hy)
57 if(FLT_UWORD_IS_SUBNORMAL(hx)) { /* subnormal x */
58 for (ix = -126,i=(hx<<8); i>0; i<<=1) ix -=1;
59 } else ix = (hx>>23)-127
    [all...]
  /device/linaro/bootloader/edk2/StdLib/LibC/Math/
s_finite.c 29 int32_t hx; local
30 GET_HIGH_WORD(hx,x);
31 return (int)((u_int32_t)((hx&0x7fffffff)-0x7ff00000)>>31);
s_frexp.c 37 int32_t hx, ix, lx; local
38 EXTRACT_WORDS(hx,lx,x);
39 ix = 0x7fffffff&hx;
44 GET_HIGH_WORD(hx,x);
45 ix = hx&0x7fffffff;
49 hx = (hx&0x800fffff)|0x3fe00000;
50 SET_HIGH_WORD(x,hx);
e_fmod.c 37 int32_t n,hx,hy,hz,ix,iy,sx,i; local
40 EXTRACT_WORDS(hx,lx,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...]
  /frameworks/rs/driver/runtime/
rs_f16_math.c 22 short hx, hy; local
23 GET_HALF_WORD(hx, x);
26 SET_HALF_WORD(x, (hx & 0x7fff) | (hy & 0x8000));
32 short hx, ix; local
35 GET_HALF_WORD(hx, x);
36 ix = hx & 0x7fff;
44 GET_HALF_WORD(hx, x);
45 ix = hx & 0x7fff;
49 // Adjust eptr by (non-biased exponent of hx + 1). Set the non-biased
50 // exponent to be equal to -1 so that abs(hx) is between 0.5 and 1
62 short hx, ix; local
118 short hx, hy, ix, iy; local
    [all...]

Completed in 246 milliseconds

1 2 3 4 5 6 7 8 9