Home
last modified time | relevance | path

Searched refs:ix (Results 51 – 75 of 195) sorted by relevance

12345678

/illumos-gate/usr/src/lib/libm/common/C/
H A D__cos.c95 int i, j, n, hx, ix; in __k_cos() local
98 ix = hx & ~0x80000000; in __k_cos()
100 if (ix <= 0x3fc50000) { /* |x| < 10.5/64 = 0.164062500 */ in __k_cos()
101 if (ix < 0x3e400000) /* |x| < 2**-27 */ in __k_cos()
105 if (ix < 0x3f800000) /* |x| < 0.008 */ in __k_cos()
111 n = ix >> 20; in __k_cos()
112 i = (((ix >> 12) & 0xff) | 0x100) >> (0x401 - n); in __k_cos()
H A D__sin.c95 int i, j, n, hx, ix; in __k_sin() local
98 ix = hx & ~0x80000000; in __k_sin()
100 if (ix <= 0x3fc50000) { /* |x| < 10.5/64 = 0.164062500 */ in __k_sin()
101 if (ix < 0x3e400000) /* |x| < 2**-27 */ in __k_sin()
105 if (ix < 0x3f800000) /* |x| < 0.008 */ in __k_sin()
112 n = ix >> 20; in __k_sin()
113 i = (((ix >> 12) & 0xff) | 0x100) >> (0x401 - n); in __k_sin()
H A D__rem_pio2.c67 int e0, i, j, nx, n, ix, hx, lx; in __rem_pio2() local
70 ix = hx & 0x7fffffff; in __rem_pio2()
72 if (ix < 0x4002d97c) { in __rem_pio2()
75 if (ix != 0x3ff921fb) { /* 33+53 bit pi is good enough */ in __rem_pio2()
91 if (ix <= 0x413921fb) { in __rem_pio2()
97 j = ix >> 20; in __rem_pio2()
144 e0 = (ix >> 20) - 1046; /* e0 = ilogb(x)-23; */ in __rem_pio2()
152 tx[0] = (double)((((ix & 0xfffff) | 0x100000) << 3) | in __rem_pio2()
H A Dremainder.c50 int ix, hx, hp; in remainder() local
52 ix = ((int *)&x)[HIWORD]; in remainder()
53 hx = ix & ~0x80000000; in remainder()
71 return ((ix < 0)? -zero : zero); in remainder()
80 return ((ix < 0)? -zero : zero); in remainder()
86 return ((ix < 0)? -x : x); in remainder()
H A Dexp10.c71 int ix, hx, k; in exp10() local
73 ix = ((int *)&x)[HIWORD]; in exp10()
74 hx = ix & ~0x80000000; in exp10()
78 if (ix == 0xfff00000 && ((int *)&x)[LOWORD] == 0) in exp10()
82 t = (ix < 0)? tiny : huge; in exp10()
106 k = (int)((ix < 0)? t - half : t + half); in exp10()
H A D__sincos.c121 int i, j, n, hx, ix; in __k_sincos() local
124 ix = hx & ~0x80000000; in __k_sincos()
126 if (ix <= 0x3fc50000) { /* |x| < 10.5/64 = 0.164062500 */ in __k_sincos()
127 if (ix < 0x3e400000) { /* |x| < 2**-27 */ in __k_sincos()
133 if (ix < 0x3f800000) { /* |x| < 0.008 */ in __k_sincos()
146 n = ix >> 20; in __k_sincos()
147 i = (((ix >> 12) & 0xff) | 0x100) >> (0x401 - n); in __k_sincos()
H A Dceil.c48 int hx, lx, ix; in ceil() local
52 ix = hx & ~0x80000000; in ceil()
53 if (ix >= 0x43300000) /* return x if |x| >= 2^52, or x is NaN */ in ceil()
58 if (ix < 0x3ff00000) { in ceil()
59 if ((ix | lx) == 0) in ceil()
H A Dfloor.c48 int hx, lx, ix; in floor() local
52 ix = hx & ~0x80000000; in floor()
53 if (ix >= 0x43300000) /* return x if |x| >= 2^52, or x is NaN */ in floor()
58 if (ix < 0x3ff00000) { in floor()
59 if ((ix | lx) == 0) in floor()
/illumos-gate/usr/src/lib/libm/common/Q/
H A Dexpm1l.c131 int hx, ix, j, k, m; in expm1l() local
135 ix = hx & ~0x80000000; in expm1l()
136 if (ix >= 0x7fff0000) { in expm1l()
143 if (ix < 0x3fff4000) { /* |x| < 1.25 */ in expm1l()
144 if (ix < 0x3ffb0000) { /* |x| < 0.0625 */ in expm1l()
145 if (ix < 0x3f8d0000) { in expm1l()
155 m = 0x4009 - (ix >> 16); in expm1l()
156 j = ((ix & 0x0000ffff) | 0x10000) >> m; /* j=4,...,67 */ in expm1l()
H A Dtanl.c69 int n, ix; in tanl() local
71 ix = *(int *) &x; /* High word of x */ in tanl()
72 ix &= 0x7fffffff; in tanl()
73 if (ix <= 0x3ffe9220) /* |x| ~< pi/4 */ in tanl()
75 else if (ix >= 0x7fff0000) /* trig(Inf or NaN) is NaN */ in tanl()
H A Dcosl.c70 int n, ix; in cosl() local
72 ix = *(int *) &x; /* High word of x */ in cosl()
74 ix &= 0x7fffffff; in cosl()
75 if (ix <= 0x3ffe9220) /* |x| ~< pi/4 */ in cosl()
77 else if (ix >= 0x7fff0000) /* trig(Inf or NaN) is NaN */ in cosl()
H A Dsinl.c70 int n, ix; in sinl() local
72 ix = *(int *) &x; /* High word of x */ in sinl()
73 ix &= 0x7fffffff; in sinl()
74 if (ix <= 0x3ffe9220) /* |x| ~< pi/4 */ in sinl()
76 else if (ix >= 0x7fff0000) /* sin(Inf or NaN) is NaN */ in sinl()
H A Dexpl.c96 int *px = (int *) &x, ix, j, k, m; in expl() local
99 ix = px[0]; /* high word of x */ in expl()
100 if (ix >= 0x7fff0000) in expl()
102 if (((unsigned) ix) >= 0xffff0000) in expl()
104 if ((ix & 0x7fffffff) < 0x3fc30000) { in expl()
108 if (ix > 0) { in expl()
/illumos-gate/usr/src/lib/libm/common/complex/
H A Dk_atan2l.c576 int ix, iy, hx, i, j; in mx_atanl() local
580 ix = hx & (~0x80000000); in mx_atanl()
583 if (ix < 0x3ffc0000) { in mx_atanl()
624 if (ix >= 0x40020000) { /* x >= 8 */ in mx_atanl()
626 if (ix >= 0x402e0000) { /* x >= 2**47 */ in mx_atanl()
682 iy = (ix + 0x00000800) & 0x7ffff000; in mx_atanl()
725 int ix, iy, hx, hy; in __k_atan2l() local
730 ix = hx & ~0x80000000; in __k_atan2l()
744 } else if (ix < 0x7fff0000) { in __k_atan2l()
784 if (ix >= 0x5fff3000) { in __k_atan2l()
[all …]
H A Dcsqrtl.c51 int n, ix, iy, hx, hy; local
57 ix = hx & 0x7fffffff;
61 if (ix >= 0x7fff0000 || iy >= 0x7fff0000) {
83 } else if (ix >= iy) {
84 n = (ix - iy) >> 16;
91 else if (ix >= 0x5f3f0000) { /* x > 2**8000 */
110 n = (iy - ix) >> 16;
120 else if (ix <= 0x00010000)
128 } else if (ix <= 0x20bf0000) {
H A Dcacosl.c77 int ix, iy, hx, hy; in cacosl() local
84 ix = hx & 0x7fffffff; in cacosl()
100 if (ix < 0x7fff0000) { in cacosl()
122 if (ix >= 0x7fff0000) { /* x is inf or NaN */ in cacosl()
171 if (ix < 0x3fff0000) { /* |x| < 1 */ in cacosl()
177 if (ix >= ip1) /* i386 ? 2**65 : 2**114 */ in cacosl()
179 else if (ix >= 0x3fff8000) /* x > Acrossover */ in cacosl()
190 if (ix < 0x3fff0000) { /* x < 1 */ in cacosl()
198 if (ix >= ip1 + 0x00040000) in cacosl()
210 if (ix >= 0x3fff8000) /* x > Acrossover */ in cacosl()
[all …]
H A Dclogf.c43 int ix, iy, hx, hy; in clogf() local
49 ix = hx & 0x7fffffff; in clogf()
54 if (ix >= 0x7f800000 || iy >= 0x7f800000) { in clogf()
58 else if (ix == 0x7f800000) in clogf()
68 if (ix == 0x3f800000) in clogf()
72 else if ((ix | iy) == 0) in clogf()
/illumos-gate/usr/src/lib/libm/common/R/
H A Dpowf.c130 int ix, iy, jx, jy, k, iw, yisint; in powf() local
132 ix = *(int *)&x; in powf()
134 jx = ix & ~0x80000000; in powf()
139 else if (ix == 0x3f800000 && (__xpg6 & _C99SUSv3_pow) != 0) in powf()
153 if (ix < 0) { in powf()
206 if (ix < 0) { in powf()
221 if (ix < 0 && yisint == 0) { in powf()
259 if (ix < 0 && yisint == 1) in powf()
285 if (ix < 0 && yisint == 1) in powf()
H A Dlog10f.c37 int hx, ix; in log10f() local
41 ix = hx & ~0x80000000; in log10f()
42 if (ix > 0x7f800000) in log10f()
44 if (ix == 0x7f800000) in log10f()
46 if (ix == 0) { in log10f()
H A Drintf.c89 int hx, k, j, ix; in anintf() local
92 ix = hx & ~0x80000000; in anintf()
93 k = ix >> 23; in anintf()
124 int hx, ix, k, j, m; in nintf() local
130 ix = (hx & 0x00ffffff) | 0x800000; in nintf()
133 if ((ix & (j + j - 1)) != 0) in nintf()
136 return ((((ix + j) >> (m + 1)) ^ hx) - hx); in nintf()
H A Dtanf.c78 int n, ix, hx, hy; in tanf() local
82 ix = hx & 0x7fffffff; in tanf()
86 if (ix <= 0x4016cbe4) { /* |x| < 3*pi/4 */ in tanf()
87 if (ix <= 0x3f490fdb) { /* |x| < pi/4 */ in tanf()
88 if (ix < 0x3c000000) { /* |x| < 2**-7 */ in tanf()
89 if (ix <= 0x39800000) { /* |x| < 2**-12 */ in tanf()
118 if (ix <= 0x49c90fdb) { /* |x| < 2^19*pi */ in tanf()
135 if (ix >= 0x7f800000) in tanf()
/illumos-gate/usr/src/lib/libm/common/LD/
H A Dtanl.c72 int n, ix; in tanl() local
83 XTOI(px, ix); in tanl()
85 ix = *(int *) &x; in tanl()
89 ix &= 0x7fffffff; in tanl()
90 if (ix <= 0x3ffe9220) in tanl()
H A Dcosl.c73 int n, ix; in cosl() local
82 XTOI(px, ix); in cosl()
84 ix = px[0]; in cosl()
88 ix &= 0x7fffffff; in cosl()
89 if (ix <= 0x3ffe9220) in cosl()
H A Dsinl.c73 int n, ix; in sinl() local
84 XTOI(px, ix); in sinl()
86 ix = *(int *) &x; in sinl()
89 ix &= 0x7fffffff; in sinl()
90 if (ix <= 0x3ffe9220) in sinl()
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/
H A Drdsib_ib.c357 for (ix = 0, hcaix = 0; ix < nhcas; ix++) { in rdsib_initialize_ib()
540 uint_t ix; in rds_gid_to_hcap() local
562 for (ix = 0; ix < hcap->hca_nports; ix++) { in rds_gid_to_hcap()
586 uint_t ix; in rds_send_acknowledgement() local
793 for (ix = 0; ix < nspace; ix++) { in rds_post_recv_buf()
813 for (ix = 0; ix < jx; ix++) { in rds_post_recv_buf()
1050 for (ix = 0; ix < nret; ix++) { in rds_poll_send_completions()
1064 wc[ix].wc_id, wc[ix].wc_status); in rds_poll_send_completions()
1082 wc[ix].wc_id, wc[ix].wc_status); in rds_poll_send_completions()
1633 for (ix = 0; ix < hcap->hca_nports; ix++) { in rdsib_del_hca()
[all …]

12345678