Lines Matching refs:ix
95 #define EXTRACT_WORD64(ix, d) \ argument
99 (ix) = ew_u.xparts.w; \
131 #define INSERT_WORD64(d, ix) \ argument
134 iw_u.xparts.w = (ix); \
223 int32_t e0, i, j, nx, n, ix, hx; in __ieee754_rem_pio2() local
228 ix = hx & 0x7fffffff; in __ieee754_rem_pio2()
229 if (ix <= 0x3fe921fb) { /* |x| ~<= pi/4 , no need for reduction */ in __ieee754_rem_pio2()
234 if (ix < 0x4002d97c) { /* |x| < 3pi/4, special case with n=+-1 */ in __ieee754_rem_pio2()
237 if (ix != 0x3ff921fb) { /* 33+53 bit pi is good enough */ in __ieee754_rem_pio2()
248 if (ix != 0x3ff921fb) { /* 33+53 bit pi is good enough */ in __ieee754_rem_pio2()
259 if (ix <= 0x413921fb) { /* |x| ~<= 2^19*(pi/2), medium size */ in __ieee754_rem_pio2()
265 if (n < 32 && ix != npio2_hw[n - 1]) { in __ieee754_rem_pio2()
269 j = ix >> 20; in __ieee754_rem_pio2()
302 if (ix >= 0x7ff00000) { /* x is inf or NaN */ in __ieee754_rem_pio2()
309 e0 = (ix >> 20) - 1046; /* e0 = ilogb(z)-23; */ in __ieee754_rem_pio2()
310 SET_HIGH_WORD(z, ix - static_cast<int32_t>(e0 << 20)); in __ieee754_rem_pio2()
371 int32_t ix; in __kernel_cos() local
372 GET_HIGH_WORD(ix, x); in __kernel_cos()
373 ix &= 0x7fffffff; /* ix = |x|'s high word*/ in __kernel_cos()
374 if (ix < 0x3e400000) { /* if x < 2**27 */ in __kernel_cos()
379 if (ix < 0x3FD33333) { /* if |x| < 0.3 */ in __kernel_cos()
382 if (ix > 0x3fe90000) { /* x > 0.78125 */ in __kernel_cos()
385 INSERT_WORDS(qx, ix - 0x00200000, 0); /* x/4 */ in __kernel_cos()
739 int32_t ix; in __kernel_sin() local
740 GET_HIGH_WORD(ix, x); in __kernel_sin()
741 ix &= 0x7fffffff; /* high word of x */ in __kernel_sin()
742 if (ix < 0x3e400000) { /* |x| < 2**-27 */ in __kernel_sin()
813 int32_t ix, hx; in __kernel_tan() local
816 ix = hx & 0x7fffffff; /* high word of |x| */ in __kernel_tan()
817 if (ix < 0x3e300000) { /* x < 2**-28 */ in __kernel_tan()
821 if (((ix | low) | (iy + 1)) == 0) { in __kernel_tan()
840 if (ix >= 0x3FE59428) { /* |x| >= 0.6744 */ in __kernel_tan()
864 if (ix >= 0x3FE59428) { in __kernel_tan()
935 int32_t hx, ix; in acos() local
937 ix = hx & 0x7fffffff; in acos()
938 if (ix >= 0x3ff00000) { /* |x| >= 1 */ in acos()
941 if (((ix - 0x3ff00000) | lx) == 0) { /* |x|==1 */ in acos()
949 if (ix < 0x3fe00000) { /* |x| < 0.5 */ in acos()
950 if (ix <= 0x3c600000) return pio2_hi + pio2_lo; /*if|x|<2**-57*/ in acos()
1066 int32_t hx, ix; in asin() local
1070 ix = hx & 0x7fffffff; in asin()
1071 if (ix >= 0x3ff00000) { /* |x|>= 1 */ in asin()
1074 if (((ix - 0x3ff00000) | lx) == 0) /* asin(1)=+-pi/2 with inexact */ in asin()
1077 } else if (ix < 0x3fe00000) { /* |x|<0.5 */ in asin()
1078 if (ix < 0x3e400000) { /* if |x| < 2**-27 */ in asin()
1094 if (ix >= 0x3FEF3333) { /* if |x| > 0.975 */ in asin()
1128 int32_t hx, ix; in asinh() local
1130 ix = hx & 0x7fffffff; in asinh()
1131 if (ix >= 0x7ff00000) return x + x; /* x is inf or NaN */ in asinh()
1132 if (ix < 0x3e300000) { /* |x|<2**-28 */ in asinh()
1135 if (ix > 0x41b00000) { /* |x| > 2**28 */ in asinh()
1137 } else if (ix > 0x40000000) { /* 2**28 > |x| > 2.0 */ in asinh()
1202 int32_t ix, hx, id; in atan() local
1205 ix = hx & 0x7fffffff; in atan()
1206 if (ix >= 0x44100000) { /* if |x| >= 2^66 */ in atan()
1209 if (ix > 0x7ff00000 || (ix == 0x7ff00000 && (low != 0))) in atan()
1216 if (ix < 0x3fdc0000) { /* |x| < 0.4375 */ in atan()
1217 if (ix < 0x3e400000) { /* |x| < 2^-27 */ in atan()
1223 if (ix < 0x3ff30000) { /* |x| < 1.1875 */ in atan()
1224 if (ix < 0x3fe60000) { /* 7/16 <=|x|<11/16 */ in atan()
1232 if (ix < 0x40038000) { /* |x| < 2.4375 */ in atan()
1293 int32_t k, m, hx, hy, ix, iy; in atan2() local
1297 ix = hx & 0x7fffffff; in atan2()
1300 if (((ix | ((lx | -static_cast<int32_t>(lx)) >> 31)) > 0x7ff00000) || in atan2()
1320 if ((ix | lx) == 0) return (hy < 0) ? -pi_o_2 - tiny : pi_o_2 + tiny; in atan2()
1323 if (ix == 0x7ff00000) { in atan2()
1352 k = (iy - ix) >> 20; in atan2()
1405 int32_t n, ix; in cos() local
1408 GET_HIGH_WORD(ix, x); in cos()
1411 ix &= 0x7fffffff; in cos()
1412 if (ix <= 0x3fe921fb) { in cos()
1414 } else if (ix >= 0x7ff00000) { in cos()
1607 int32_t hx, ix; in atanh() local
1610 ix = hx & 0x7fffffff; in atanh()
1611 if ((ix | ((lx | -static_cast<int32_t>(lx)) >> 31)) > 0x3ff00000) /* |x|>1 */ in atanh()
1613 if (ix == 0x3ff00000) return x / zero; in atanh()
1614 if (ix < 0x3e300000 && (huge + x) > zero) return x; /* x<2**-28 */ in atanh()
1615 SET_HIGH_WORD(x, ix); in atanh()
1616 if (ix < 0x3fe00000) { /* x < 0.5 */ in atanh()
2489 int32_t n, ix; in sin() local
2492 GET_HIGH_WORD(ix, x); in sin()
2495 ix &= 0x7fffffff; in sin()
2496 if (ix <= 0x3fe921fb) { in sin()
2498 } else if (ix >= 0x7ff00000) { in sin()
2548 int32_t n, ix; in tan() local
2551 GET_HIGH_WORD(ix, x); in tan()
2554 ix &= 0x7fffffff; in tan()
2555 if (ix <= 0x3fe921fb) { in tan()
2557 } else if (ix >= 0x7ff00000) { in tan()
2595 int32_t ix; in cosh() local
2598 GET_HIGH_WORD(ix, x); in cosh()
2599 ix &= 0x7fffffff; in cosh()
2602 if (ix < 0x3fd62e43) { in cosh()
2606 if (ix < 0x3c800000) return w; in cosh()
2611 if (ix < 0x40360000) { in cosh()
2617 if (ix < 0x40862e42) return half * exp(fabs(x)); in cosh()
2627 if (ix >= 0x7ff00000) return x * x; in cosh()
2712 int32_t jx, ix; in tanh() local
2715 ix = jx & 0x7fffffff; in tanh()
2718 if (ix >= 0x7ff00000) { in tanh()
2726 if (ix < 0x40360000) { /* |x|<22 */ in tanh()
2727 if (ix < 0x3e300000) { /* |x|<2**-28 */ in tanh()
2730 if (ix >= 0x3ff00000) { /* |x|>=1 */ in tanh()