/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | fmod.c | 45 long long hx, ix, iy, iz; local 49 ix = hx & ~0x8000000000000000ull; 56 if (ix >= 0x7ff0000000000000ll || iy > 0x7ff0000000000000ll) 59 if (ix <= iy) 60 return ((ix < iy)? x : x * zero); 66 * ix = normalized significand of x 70 k = ix >> 52; 81 while (ix < 0x0010000000000000ll) { 83 ix += ix; [all...] |
H A D | tan.c | 50 int n, ix; local 53 ix = ((int *) &x)[HIWORD]; 56 ix &= 0x7fffffff; 57 if (ix <= 0x3fe921fb) 61 else if (ix >= 0x7ff00000) { 63 return (ix >= 0x7ff80000 ? x : x - x); /* NaN */
|
H A D | significand.c | 36 int ix = ((int *) &x)[HIWORD] & ~0x80000000; local 39 if ((ix | ((int *) &x)[LOWORD]) == 0 || ix >= 0x7ff00000) 41 return ((ix & 0x80000) != 0 ? x : x + x);
|
H A D | atan2pi.c | 39 int ix, iy; local 42 ix = ((int *)&x)[HIWORD]; 44 if (ix >= 0)
|
H A D | ceil.c | 48 int hx, lx, ix; local 52 ix = hx & ~0x80000000; 53 if (ix >= 0x43300000) /* return x if |x| >= 2^52, or x is NaN */ 58 if (ix < 0x3ff00000) { 59 if ((ix | lx) == 0)
|
H A D | floor.c | 48 int hx, lx, ix; local 52 ix = hx & ~0x80000000; 53 if (ix >= 0x43300000) /* return x if |x| >= 2^52, or x is NaN */ 58 if (ix < 0x3ff00000) { 59 if ((ix | lx) == 0)
|
/illumos-gate/usr/src/lib/libm/common/R/ |
H A D | log1pf.c | 37 int ix; local 39 ix = *(int *)&x; 40 if (ix >= 0x7f800000) { 44 if (ix < 0) { 45 ix &= ~0x80000000; 46 if (ix == 0x3f800000) /* x is -1 */ 48 if (ix > 0x3f800000) /* x is < -1 or nan */
|
H A D | nextafterf.c | 40 int ix, iy, iz; local 42 ix = px[0]; 44 if ((ix & ~0x80000000) > 0x7f800000) 48 if (ix == iy || (ix | iy) == 0x80000000) 50 if ((ix & ~0x80000000) == 0) 52 else if (ix > 0) { 53 if (ix > iy) 54 iz = ix - 1; 56 iz = ix [all...] |
H A D | fmodf.c | 46 int hx, ix, iy, iz, k, ny, nd; local 49 ix = hx & 0x7fffffff; 53 if (ix >= ii || iy > ii || iy == 0) { 56 } else if (ix <= iy) { 57 if (ix < iy) 70 k = ix >> 23; 82 while (ix < iu) { 84 ix += ix; 87 ix [all...] |
H A D | acosf.c | 37 int ix; local 39 ix = *(int *)&x & ~0x80000000; 40 if (ix > 0x3f800000) /* |x| > 1 or x is nan */
|
H A D | asinf.c | 37 int ix; local 39 ix = *(int *)&x & ~0x80000000; 40 if (ix > 0x3f800000) /* |x| > 1 or x is nan */
|
H A D | atanhf.c | 37 int ix; local 39 ix = *((int *)&x) & ~0x80000000; 40 if (ix > 0x3f800000) /* |x| > 1 or x is nan */ 42 if (ix == 0x3f800000) /* |x| == 1 */
|
H A D | coshf.c | 37 int ix; local 39 ix = *(int *)&x & ~0x80000000; 40 if (ix >= 0x7f800000) { 44 if (ix >= 0x43000000) /* coshf(x) trivially overflows */
|
H A D | significandf.c | 36 int ix = *(int *) &x & ~0x80000000; local 38 if (ix == 0 || ix >= 0x7f800000) /* 0/+-Inf/NaN */ 40 return (ix > 0x7f800000 ? x * x : x);
|
H A D | sinhf.c | 37 int hx, ix; local 40 ix = hx & ~0x80000000; 41 if (ix >= 0x7f800000) { 45 if (ix >= 0x43000000) /* sinhf(x) trivially overflows */
|
H A D | log10f.c | 37 int hx, ix; local 41 ix = hx & ~0x80000000; 42 if (ix > 0x7f800000) 44 if (ix == 0x7f800000) 46 if (ix == 0) {
|
H A D | hypotf.c | 38 int ix, iy; local 40 ix = (*(int *) &x) & 0x7fffffff; 42 if (ix >= 0x7f800000) { 43 if (ix == 0x7f800000) 44 *(int *) &w = x == y ? iy : ix; /* w = |x| = inf */ 46 *(int *) &w = x == y ? ix : iy; /* w = |y| = inf */ 51 *(int *) &w = x == y ? ix : iy; /* w = |y| = inf */ 54 } else if (ix == 0) 57 *(int *) &w = ix; /* w = |x| */
|
H A D | erff.c | 40 int ix; local 42 ix = *(int *)&x & ~0x80000000; 43 if (ix > 0x7f800000) /* x is NaN */ 51 int ix; local 56 ix = *(int *)&x & ~0x80000000; 57 if (ix > 0x7f800000) /* x is NaN */
|
H A D | atan2pif.c | 35 int ix, iy, hx, hy; local 37 ix = *(int *)&x; 39 hx = ix & ~0x80000000; 45 if (ix == 0)
|
/illumos-gate/usr/src/lib/libm/common/Q/ |
H A D | tanl.c | 69 int n, ix; local 71 ix = *(int *) &x; /* High word of x */ 72 ix &= 0x7fffffff; 73 if (ix <= 0x3ffe9220) /* |x| ~< pi/4 */ 75 else if (ix >= 0x7fff0000) /* trig(Inf or NaN) is NaN */
|
H A D | cosl.c | 70 int n, ix; local 72 ix = *(int *) &x; /* High word of x */ 74 ix &= 0x7fffffff; 75 if (ix <= 0x3ffe9220) /* |x| ~< pi/4 */ 77 else if (ix >= 0x7fff0000) /* trig(Inf or NaN) is NaN */
|
H A D | sinl.c | 70 int n, ix; local 72 ix = *(int *) &x; /* High word of x */ 73 ix &= 0x7fffffff; 74 if (ix <= 0x3ffe9220) /* |x| ~< pi/4 */ 76 else if (ix >= 0x7fff0000) /* sin(Inf or NaN) is NaN */
|
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | remquof.c | 58 int hx, ix, iy, iz, k, ny, nd, m, sq; local 61 ix = hx & 0x7fffffff; 68 if (ix >= ii || iy > ii || iy == 0) { 71 } else if (ix <= iy) { 72 if (ix < iy) 87 k = ix >> 23; 99 while (ix < iu) { 101 ix += ix; 104 ix [all...] |
H A D | ldexp.c | 37 int *px = (int *) &x, ix = px[HIWORD] & ~0x80000000; local 39 if (ix >= 0x7ff00000 || (px[LOWORD] | ix) == 0) 41 return (ix >= 0x7ff80000 ? x : x + x); 47 ix = px[HIWORD] & ~0x80000000; 52 if (ix >= 0x7ff00000 || (px[LOWORD] | ix) == 0)
|
/illumos-gate/usr/src/lib/libm/common/LD/ |
H A D | cosl.c | 73 int n, ix; local 82 XTOI(px, ix); 84 ix = px[0]; 88 ix &= 0x7fffffff; 89 if (ix <= 0x3ffe9220)
|