HomeSort by: relevance | last modified time | path
    Searched defs:hx (Results 1 - 25 of 99) sorted by relevancy

1 2 3 4

  /src/lib/libm/src/
s_finite.c 32 int32_t hx; local in function:__weak_alias
33 GET_HIGH_WORD(hx,x);
34 return (int)((u_int32_t)((hx&0x7fffffff)-0x7ff00000)>>31);
s_copysign.c 35 u_int32_t hx,hy; local in function:__strong_alias
36 GET_HIGH_WORD(hx,x);
38 SET_HIGH_WORD(x,(hx&0x7fffffff)|(hy&0x80000000));
s_frexp.c 41 int32_t hx, ix, lx; local in function:frexp
42 EXTRACT_WORDS(hx,lx,x);
43 ix = 0x7fffffff&hx;
48 GET_HIGH_WORD(hx,x);
49 ix = hx&0x7fffffff;
53 hx = (hx&0x800fffff)|0x3fe00000;
54 SET_HIGH_WORD(x,hx);
s_frexpf.c 30 int32_t hx,ix; local in function:frexpf
31 GET_FLOAT_WORD(hx,x);
32 ix = 0x7fffffff&hx;
37 GET_FLOAT_WORD(hx,x);
38 ix = hx&0x7fffffff;
42 hx = (hx&0x807fffff)|0x3f000000;
43 SET_FLOAT_WORD(x,hx);
s_isinf.c 22 int32_t hx,lx; local in function:isinf
23 EXTRACT_WORDS(hx,lx,x);
24 hx &= 0x7fffffff;
25 hx ^= 0x7ff00000;
26 hx |= lx;
27 return (hx == 0);
s_isnan.c 29 int32_t hx,lx; local in function:isnan
30 EXTRACT_WORDS(hx,lx,x);
31 hx &= 0x7fffffff;
32 hx |= (u_int32_t)(lx|(-lx))>>31;
33 hx = 0x7ff00000 - hx;
34 return (int)((u_int32_t)(hx))>>31;
e_acoshf.c 32 int32_t hx; local in function:__ieee754_acoshf
33 GET_FLOAT_WORD(hx,x);
34 if(hx<0x3f800000) { /* x < 1 */
36 } else if(hx >=0x4d800000) { /* x > 2**28 */
37 if(hx >=0x7f800000) { /* x is inf of NaN */
41 } else if (hx==0x3f800000) {
43 } else if (hx > 0x40000000) { /* 2**28 > x > 2 */
s_ilogbf.c 32 int32_t hx, ix; local in function:ilogbf
34 GET_FLOAT_WORD(hx, x);
35 hx &= 0x7fffffff;
36 if (hx < 0x00800000) {
37 if (hx == 0) {
41 for (ix = -126, hx <<= 8; hx > 0; hx <<= 1) ix -= 1;
45 if (hx < 0x7f800000) {
46 return (hx >> 23) - 127
    [all...]
s_nextafterf.c 27 int32_t hx,hy,ix,iy; local in function:nextafterf
29 GET_FLOAT_WORD(hx,x);
31 ix = hx&0x7fffffff; /* |x| */
43 if(hx>=0) { /* x > 0 */
44 if(hx>hy) { /* x > y, x -= ulp */
45 hx -= 1;
47 hx += 1;
50 if(hy>=0||hx>hy){ /* x < y, x -= ulp */
51 hx -= 1;
53 hx += 1
    [all...]
s_scalbn.c 64 int32_t k,hx,lx; local in function:scalbln
65 EXTRACT_WORDS(hx,lx,x);
66 k = ((uint32_t)hx&0x7ff00000)>>20; /* extract exponent */
68 if ((lx|(hx&0x7fffffff))==0) return x; /* +-0 */
70 GET_HIGH_WORD(hx,x);
71 k = (((uint32_t)hx&0x7ff00000)>>20) - 54;
78 {SET_HIGH_WORD(x,(hx&0x800fffff)|(k<<20)); return x;}
85 SET_HIGH_WORD(x,(hx&0x800fffff)|(k<<20));
e_acosh.c 43 int32_t hx; local in function:__ieee754_acosh
45 EXTRACT_WORDS(hx,lx,x);
46 if(hx<0x3ff00000) { /* x < 1 */
48 } else if(hx >=0x41b00000) { /* x > 2**28 */
49 if(hx >=0x7ff00000) { /* x is inf of NaN */
53 } else if(((hx-0x3ff00000)|lx)==0) {
55 } else if (hx > 0x40000000) { /* 2**28 > x > 2 */
e_atanhf.c 32 int32_t hx,ix; local in function:__ieee754_atanhf
33 GET_FLOAT_WORD(hx,x);
34 ix = hx&0x7fffffff;
46 if(hx>=0) return t; else return -t;
e_remainderf.c 30 int32_t hx,hp; local in function:__ieee754_remainderf
34 GET_FLOAT_WORD(hx,x);
36 sx = hx&0x80000000;
38 hx &= 0x7fffffff;
42 if((hx>=0x7f800000)|| /* x not finite */
48 if ((hx-hp)==0) return zero*x;
63 GET_FLOAT_WORD(hx,x);
64 SET_FLOAT_WORD(x,hx^sx);
s_ilogb.c 39 int32_t hx, lx, ix; local in function:__strong_alias
41 GET_HIGH_WORD(hx, x);
42 hx &= 0x7fffffff;
43 if (hx < 0x00100000) {
45 if ((hx | lx) == 0) {
49 if (hx == 0) {
52 for (ix = -1022, hx <<= 11; hx > 0; hx <<= 1) ix -= 1;
57 if (hx < 0x7ff00000)
    [all...]
e_acoshl.c 70 int16_t hx; local in function:acoshl
73 GET_LDBL_EXPSIGN(hx, x);
74 if (hx < 0x3fff) { /* x < 1, or misnormal */
76 } else if (hx >= BIAS + EXP_LARGE) { /* x >= LARGE */
77 if (hx >= 0x7fff) { /* x is inf, NaN or misnormal */
81 } else if (hx == 0x3fff && x == 1) {
83 } else if (hx >= 0x4000) { /* LARGE > x >= 2, or misnormal */
e_atanhl.c 58 uint16_t hx, ix; local in function:atanhl
61 GET_LDBL_EXPSIGN(hx, x);
62 ix = hx & 0x7fff;
73 RETURNI((hx & 0x8000) == 0 ? t : -t);
s_nextafter.c 37 int32_t hx,hy,ix,iy; local in function:__strong_alias
40 EXTRACT_WORDS(hx,lx,x);
42 ix = hx&0x7fffffff; /* |x| */
54 if(hx>=0) { /* x > 0 */
55 if(hx>hy||((hx==hy)&&(lx>ly))) { /* x > y, x -= ulp */
56 if(lx==0) hx -= 1;
60 if(lx==0) hx += 1;
63 if(hy>=0||hx>hy||((hx==hy)&&(lx>ly))){/* x < y, x -= ulp *
    [all...]
s_nexttoward.c 50 int32_t hx, ix; local in function:nexttoward
53 EXTRACT_WORDS(hx, lx, x);
54 ix = hx & 0x7fffffff; /* |x| */
74 if ((hx >= 0) ^ (x < y)) { /* x -= ulp */
75 if (lx == 0) hx -= 1;
79 if (lx == 0) hx += 1;
81 ix = hx & 0x7ff00000;
86 INSERT_WORDS(y, hx, lx);
90 INSERT_WORDS(x, hx, lx);
e_atanh.c 47 int32_t hx,ix; local in function:__ieee754_atanh
49 EXTRACT_WORDS(hx,lx,x);
50 ix = hx&0x7fffffff;
62 if(hx>=0) return t; else return -t;
e_remainder.c 36 int32_t hx,hp; local in function:__ieee754_remainder
40 EXTRACT_WORDS(hx,lx,x);
42 sx = hx&0x80000000;
44 hx &= 0x7fffffff;
48 if((hx>=0x7ff00000)|| /* x not finite */
55 if (((hx-hp)|(lx-lp))==0) return zero*x;
70 GET_HIGH_WORD(hx,x);
71 SET_HIGH_WORD(x,hx^sx);
s_asinh.c 41 int32_t hx,ix; local in function:asinh
42 GET_HIGH_WORD(hx,x);
43 ix = hx&0x7fffffff;
57 if(hx>0) return w; else return -w;
s_asinhf.c 33 int32_t hx,ix; local in function:asinhf
34 GET_FLOAT_WORD(hx,x);
35 ix = hx&0x7fffffff;
49 if(hx>0) return w; else return -w;
s_cospi.c 85 uint32_t hx, ix, jj0, lx; local in function:cospi
87 EXTRACT_WORDS(hx, lx, x);
88 ix = hx & 0x7fffffff;
s_sinpi.c 87 uint32_t hx, ix, j0, lx; local in function:sinpi
89 EXTRACT_WORDS(hx, lx, x);
90 ix = hx & 0x7fffffff;
103 INSERT_WORDS(hi, hx, 0);
112 return ((hx & 0x80000000) ? -s : s);
121 return ((hx & 0x80000000) ? -s : s);
150 return ((hx & 0x80000000) ? -s : s);
  /src/lib/libm/ld80/
s_cexpl.c 45 uint16_t hx, hy; local in function:cexpl
58 EXTRACT_LDBL80_WORDS(hx, lx, x);
60 if (((hx & 0x7fff) | lx) == 0) {
66 if ((hx & 0x7fff) < 0x7fff || ((hx & 0x7fff) == 0x7fff &&
70 } else if (hx & 0x8000) {
83 if ((hx == 0x400c && lx > 0xb17217f7d1cf79acULL) ||
84 (hx == 0x400d && lx < 0xb1c6a8573de9768cULL)) {

Completed in 26 milliseconds

1 2 3 4