Searched refs:ix (Results 1 - 25 of 199) sorted by relevance

12345678

/illumos-gate/usr/src/lib/libm/common/C/
H A Dfmod.c45 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 Dtan.c50 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 Dsignificand.c36 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 Datan2pi.c39 int ix, iy; local
42 ix = ((int *)&x)[HIWORD];
44 if (ix >= 0)
H A Dceil.c48 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 Dfloor.c48 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 Dlog1pf.c37 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 Dnextafterf.c40 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 Dfmodf.c46 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 Dacosf.c37 int ix; local
39 ix = *(int *)&x & ~0x80000000;
40 if (ix > 0x3f800000) /* |x| > 1 or x is nan */
H A Dasinf.c37 int ix; local
39 ix = *(int *)&x & ~0x80000000;
40 if (ix > 0x3f800000) /* |x| > 1 or x is nan */
H A Datanhf.c37 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 Dcoshf.c37 int ix; local
39 ix = *(int *)&x & ~0x80000000;
40 if (ix >= 0x7f800000) {
44 if (ix >= 0x43000000) /* coshf(x) trivially overflows */
H A Dsignificandf.c36 int ix = *(int *) &x & ~0x80000000; local
38 if (ix == 0 || ix >= 0x7f800000) /* 0/+-Inf/NaN */
40 return (ix > 0x7f800000 ? x * x : x);
H A Dsinhf.c37 int hx, ix; local
40 ix = hx & ~0x80000000;
41 if (ix >= 0x7f800000) {
45 if (ix >= 0x43000000) /* sinhf(x) trivially overflows */
H A Dlog10f.c37 int hx, ix; local
41 ix = hx & ~0x80000000;
42 if (ix > 0x7f800000)
44 if (ix == 0x7f800000)
46 if (ix == 0) {
H A Dhypotf.c38 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 Derff.c40 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 Datan2pif.c35 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 Dtanl.c69 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 Dcosl.c70 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 Dsinl.c70 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 Dremquof.c58 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 Dldexp.c37 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 Dcosl.c73 int n, ix; local
82 XTOI(px, ix);
84 ix = px[0];
88 ix &= 0x7fffffff;
89 if (ix <= 0x3ffe9220)

Completed in 91 milliseconds

12345678