Searched defs:ix (Results 1 - 25 of 79) sorted by relevance

1234

/bionic/libm/upstream-freebsd/lib/msun/src/
H A Ds_finitef.c29 int32_t ix; local
30 GET_FLOAT_WORD(ix,x);
31 return (int)((u_int32_t)((ix&0x7fffffff)-0x7f800000)>>31);
H A Ds_ilogbf.c26 int32_t hx,ix; local
34 for (ix = -126,hx<<=8; hx>0; hx<<=1) ix -=1;
35 return ix;
H A Ds_logbf.c28 int32_t ix; local
29 GET_FLOAT_WORD(ix,x);
30 ix &= 0x7fffffff; /* high |x| */
31 if(ix==0) return (float)-1.0/fabsf(x);
32 if(ix>=0x7f800000) return x*x;
33 if(ix<0x00800000) {
35 GET_FLOAT_WORD(ix,x);
36 ix &= 0x7fffffff;
37 return (float) ((ix>>23)-127-25);
39 return (float) ((ix>>2
[all...]
H A Ds_copysignf.c31 u_int32_t ix,iy; local
32 GET_FLOAT_WORD(ix,x);
34 SET_FLOAT_WORD(x,(ix&0x7fffffff)|(iy&0x80000000));
H A Ds_ilogb.c30 int32_t hx,lx,ix; local
39 for (ix = -1043; lx>0; lx<<=1) ix -=1;
41 for (ix = -1022,hx<<=11; hx>0; hx<<=1) ix -=1;
43 return ix;
H A Ds_logb.c33 int32_t lx,ix; local
34 EXTRACT_WORDS(ix,lx,x);
35 ix &= 0x7fffffff; /* high |x| */
36 if((ix|lx)==0) return -1.0/fabs(x);
37 if(ix>=0x7ff00000) return x*x;
38 if(ix<0x00100000) {
40 GET_HIGH_WORD(ix,x);
41 ix &= 0x7fffffff;
42 return (double) ((ix>>20)-1023-54);
44 return (double) ((ix>>2
[all...]
H A Ds_cos.c58 int32_t n, ix; local
61 GET_HIGH_WORD(ix,x);
64 ix &= 0x7fffffff;
65 if(ix <= 0x3fe921fb) {
66 if(ix<0x3e46a09e) /* if x < 2**-27 * sqrt(2) */
72 else if (ix>=0x7ff00000) return x-x;
H A Ds_frexp.c37 int32_t hx, ix, lx; local
39 ix = 0x7fffffff&hx;
41 if(ix>=0x7ff00000||((ix|lx)==0)) return x; /* 0,inf,nan */
42 if (ix<0x00100000) { /* subnormal */
45 ix = hx&0x7fffffff;
48 *eptr += (ix>>20)-1022;
H A Ds_frexpf.c28 int32_t hx,ix; local
30 ix = 0x7fffffff&hx;
32 if(ix>=0x7f800000||(ix==0)) return x; /* 0,inf,nan */
33 if (ix<0x00800000) { /* subnormal */
36 ix = hx&0x7fffffff;
39 *eptr += (ix>>23)-126;
H A Ds_sin.c58 int32_t n, ix; local
61 GET_HIGH_WORD(ix,x);
64 ix &= 0x7fffffff;
65 if(ix <= 0x3fe921fb) {
66 if(ix<0x3e500000) /* |x| < 2**-26 */
72 else if (ix>=0x7ff00000) return x-x;
H A Ds_tan.c57 int32_t n, ix; local
60 GET_HIGH_WORD(ix,x);
63 ix &= 0x7fffffff;
64 if(ix <= 0x3fe921fb) {
65 if(ix<0x3e400000) /* x < 2**-27 */
71 else if (ix>=0x7ff00000) return x-x; /* NaN */
H A De_atanh.c48 int32_t hx,ix; local
51 ix = hx&0x7fffffff;
52 if ((ix|((lx|(-lx))>>31))>0x3ff00000) /* |x|>1 */
54 if(ix==0x3ff00000)
56 if(ix<0x3e300000&&(huge+x)>zero) return x; /* x<2**-28 */
57 SET_HIGH_WORD(x,ix);
58 if(ix<0x3fe00000) { /* x < 0.5 */
H A De_atanhf.c30 int32_t hx,ix; local
32 ix = hx&0x7fffffff;
33 if (ix>0x3f800000) /* |x|>1 */
35 if(ix==0x3f800000)
37 if(ix<0x31800000&&(huge+x)>zero) return x; /* x<2**-28 */
38 SET_FLOAT_WORD(x,ix);
39 if(ix<0x3f000000) { /* x < 0.5 */
H A De_atanhl.c58 uint16_t hx, ix; local
62 ix = hx & 0x7fff;
63 if (ix >= 0x3fff) /* |x| >= 1, or NaN or misnormal */
65 if (ix < BIAS + EXP_TINY && (huge + x) > zero)
67 SET_LDBL_EXPSIGN(x, ix);
68 if (ix < 0x3ffe) { /* |x| < 0.5, or misnormal */
H A De_cosh.c49 int32_t ix; local
52 GET_HIGH_WORD(ix,x);
53 ix &= 0x7fffffff;
56 if(ix>=0x7ff00000) return x*x;
59 if(ix<0x3fd62e43) {
62 if (ix<0x3c800000) return w; /* cosh(tiny) = 1 */
67 if (ix < 0x40360000) {
73 if (ix < 0x40862E42) return half*__ieee754_exp(fabs(x));
76 if (ix<=0x408633CE)
H A De_coshf.c28 int32_t ix; local
30 GET_FLOAT_WORD(ix,x);
31 ix &= 0x7fffffff;
34 if(ix>=0x7f800000) return x*x;
37 if(ix<0x3eb17218) {
40 if (ix<0x39800000) return one; /* cosh(tiny) = 1 */
45 if (ix < 0x41100000) {
51 if (ix < 0x42b17217) return half*__ieee754_expf(fabsf(x));
54 if (ix<=0x42b2d4fc)
H A De_sinh.c46 int32_t ix,jx; local
50 ix = jx&0x7fffffff;
53 if(ix>=0x7ff00000) return x+x;
58 if (ix < 0x40360000) { /* |x|<22 */
59 if (ix<0x3e300000) /* |x|<2**-28 */
62 if(ix<0x3ff00000) return h*(2.0*t-t*t/(t+one));
67 if (ix < 0x40862E42) return h*__ieee754_exp(fabs(x));
70 if (ix<=0x408633CE)
H A De_sinhf.c28 int32_t ix,jx; local
31 ix = jx&0x7fffffff;
34 if(ix>=0x7f800000) return x+x;
39 if (ix < 0x41100000) { /* |x|<9 */
40 if (ix<0x39800000) /* |x|<2**-12 */
43 if(ix<0x3f800000) return h*((float)2.0*t-t*t/(t+one));
48 if (ix < 0x42b17217) return h*__ieee754_expf(fabsf(x));
51 if (ix<=0x42b2d4fc)
H A Ds_asinh.c41 int32_t hx,ix; local
43 ix = hx&0x7fffffff;
44 if(ix>=0x7ff00000) return x+x; /* x is inf or NaN */
45 if(ix< 0x3e300000) { /* |x|<2**-28 */
48 if(ix>0x41b00000) { /* |x| > 2**28 */
50 } else if (ix>0x40000000) { /* 2**28 > |x| > 2.0 */
H A Ds_asinhf.c31 int32_t hx,ix; local
33 ix = hx&0x7fffffff;
34 if(ix>=0x7f800000) return x+x; /* x is inf or NaN */
35 if(ix< 0x31800000) { /* |x|<2**-28 */
38 if(ix>0x4d800000) { /* |x| > 2**28 */
40 } else if (ix>0x40000000) { /* 2**28 > |x| > 2.0 */
H A Ds_modff.c38 u_int32_t ix; local
40 GET_FLOAT_WORD(ix,x);
41 SET_FLOAT_WORD(x,ix&0x80000000); /* return +-0 */
49 u_int32_t ix; local
53 GET_FLOAT_WORD(ix,x);
54 SET_FLOAT_WORD(x,ix&0x80000000); /* return +-0 */
H A Ds_nextafter.c32 int32_t hx,hy,ix,iy; local
37 ix = hx&0x7fffffff; /* |x| */
40 if(((ix>=0x7ff00000)&&((ix-0x7ff00000)|lx)!=0) || /* x is nan */
44 if((ix|lx)==0) { /* x == 0 */
H A Ds_nextafterf.c26 int32_t hx,hy,ix,iy; local
30 ix = hx&0x7fffffff; /* |x| */
33 if((ix>0x7f800000) || /* x is nan */
37 if(ix==0) { /* x == 0 */
H A Ds_nexttoward.c37 int32_t hx,ix; local
41 ix = hx&0x7fffffff; /* |x| */
44 if(((ix>=0x7ff00000)&&((ix-0x7ff00000)|lx)!=0) ||
61 ix = hx&0x7ff00000;
62 if(ix>=0x7ff00000) return x+x; /* overflow */
63 if(ix<0x00100000) { /* underflow */
H A Ds_nexttowardf.c28 int32_t hx,ix; local
31 ix = hx&0x7fffffff; /* |x| */
34 if((ix>0x7f800000) ||
39 if(ix==0) { /* x == 0 */
48 ix = hx&0x7f800000;
49 if(ix>=0x7f800000) return x+x; /* overflow */
50 if(ix<0x00800000) { /* underflow */

Completed in 83 milliseconds

1234