/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | atan.c | 128 int ix, lx, hx, j; local 131 lx = ((int *) &x)[LOWORD]; 178 if (((ix - 0x7ff00000) | lx) != 0)
|
H A D | log.c | 159 int i, hx, ix, n, lx; local 164 lx = ((int *)&x)[LOWORD]; 168 if (ix > 0x7ff00000 || (ix == 0x7ff00000 && lx != 0)) /* nan */ 170 if (((hx << 1) | lx) == 0) /* zero */ 174 if (((hx - 0x7ff00000) | lx) == 0) /* +inf */ 181 lx = ((int *)&x)[LOWORD]; 191 if (((ix - 0x3ff00000) | lx) == 0) /* x = 1 */
|
H A D | sin.c | 99 int i, j, n, hx, ix, lx; local 102 lx = ((int *)&x)[LOWORD]; 129 if ((i | ((lx - 0x54442D00) & 0xffffff00)) == 0) { 150 if ((i | ((lx - 0x54442D00) & 0xffffff00)) == 0) {
|
H A D | cos.c | 113 int i, j, n, hx, ix, lx; local 116 lx = ((int *)&x)[LOWORD]; 144 if ((i | ((lx - 0x54442D00) & 0xffffff00)) == 0) { 165 if ((i | ((lx - 0x7f332100) & 0xffffff00)) == 0) { 185 if ((i | ((lx - 0x29553800) & 0xffffff00)) == 0) {
|
H A D | log10.c | 155 int i, hx, ix, n, lx; local 160 lx = ((int *)&x)[LOWORD]; 164 if (ix > 0x7ff00000 || (ix == 0x7ff00000 && lx != 0)) /* nan */ 166 if (((hx << 1) | lx) == 0) /* zero */ 170 if (((hx - 0x7ff00000) | lx) == 0) /* +inf */ 177 lx = ((int *)&x)[LOWORD]; 187 if (((ix - 0x3ff00000) | lx) == 0) /* x = 1 */
|
H A D | log2.c | 153 int i, hx, ix, n, lx; local 157 lx = ((int *) &x)[LOWORD]; 165 if (((hx << 1) | lx) == 0) /* log(0.0) = -inf */ 173 if (((hx - 0x7ff00000) | lx) == 0) /* log(inf) = inf */ 180 lx = ((int *) &x)[LOWORD]; 191 if (((ix << 12) | lx) == 0) 202 if (((ix << 12) | lx) == 0) /* 2's power */ 214 if ((ix | lx) == 0)
|
H A D | pow.c | 166 unsigned lx, ly; local 170 lx = ((unsigned *) &x)[LOWORD]; 176 if ((ahx | lx) == 0) 178 else if ((ahx | (((lx | -lx) >> 31) & 1)) > 0x7ff00000) 183 } else if (hx == 0x3ff00000 && lx == 0 && 186 else if (ahx > 0x7ff00000 || (ahx == 0x7ff00000 && lx != 0) || 220 if (((ahx - 0x3ff00000) | lx) == 0) { 238 lx) == 0) /* overflow */ 249 else if ((ahx < 0x1e56a09e && (ahx | lx) ! [all...] |
H A D | sincos.c | 184 int i, j, n, hx, ix, lx; local 187 lx = ((int *)&x)[LOWORD]; 234 if ((i | ((lx - 0x54442D00) & 255 if ((i | ((lx - 0x54442D00) & 278 if ((i | ((lx - 0x7f332100) & 299 if ((i | ((lx - 0x54442D00) & 322 if ((i | ((lx - 0x29553800) &
|
/illumos-gate/usr/src/lib/libm/common/complex/ |
H A D | cacos.c | 222 unsigned lx, ly; local 228 lx = LO_WORD(x); 235 if ((ix | lx) == 0) { 249 } else if (ISINF(ix, lx)) { 259 if (ISINF(ix, lx)) 272 if (ISINF(ix, lx)) { /* x is INF */
|
H A D | casin.c | 218 unsigned lx, ly; local 224 lx = LO_WORD(x); 236 if (ISINF(ix, lx)) { /* x is INF */ 269 if ((ix | lx | iy | ly) == 0) 278 if ((ix | lx) == 0)
|
H A D | cpow.c | 156 int ix, iy, hx, lx, hy, ly, hv, hu, iu, iv, lu, lv; local 164 lx = ((int *) &x)[LOWORD]; 194 } else if (((ix | lx) == 0) || ix >= hiinf || iy >= hiinf) { 198 if ((ix | lx) == 0) 207 } else if (((ix - iy) | (lx - ly)) == 0) { /* |x| = |y| */ 313 lx = ((int *) &w1)[LOWORD];
|
H A D | k_clog_r.c | 252 unsigned lx, ly; local 255 lx = ((unsigned *)&x)[LOWORD]; 259 if (ix < iy || (ix == iy && lx < ly)) { /* force x >= y */ 262 n = lx, lx = ly; ly = n; 267 if (ISINF(ix, lx)) 278 if ((((ix - 0x3ff00000) | lx) == 0) && ny < (0x3ff - 35)) { 291 if ((ix | lx) == 0) 297 lx = ((unsigned *)&x)[LOWORD]; 303 if ((ix | lx) [all...] |
H A D | k_clog_rl.c | 369 unsigned lx, ly; local 385 lx = ((unsigned *)&s2h)[2]; /* 56 bits rounded */ 386 j = ((lx >> 24) + 1) >> 1; 388 lx = ((unsigned *)&s2h)[1]; 389 ly = lx + (j >> 7); 391 ((unsigned *)&s2h)[0] += (ly == 0 && lx != 0); 417 unsigned lx, ly; local 532 lx = ((unsigned *)&wh)[2]; /* 56 rounded */ 533 j = ((lx >> 24) + 1) >> 1; 535 lx [all...] |
H A D | k_atan2.c | 459 int ix, iy, hx, hy, lx, ly; local 466 lx = ((int *) &x)[LOWORD]; 492 } else if ((ix | lx) == 0 || (iy | ly) == 0) {
|
/illumos-gate/usr/src/ucblib/libcurses/ |
H A D | cr_put.c | 57 mvcur(int ly, int lx, int y, int x) argument 61 ly, lx, y, x); 65 outcol = lx;
|
/illumos-gate/usr/src/lib/libc/sparc/fp/ |
H A D | _Q_div.c | 108 unsigned int xm, ym, fsr, lx, ly, wx[3], wy[3]; local 235 lx = xm & 0xffff; 237 lx |= 0x10000; 242 if (lx | (x->l.frac2 & 0xfffe0000)) { 248 lx = x->l.frac2; 254 lx = x->l.frac3; 259 lx = x->l.frac4; 263 while ((lx & 0x10000) == 0) { 264 lx = (lx << [all...] |
H A D | _Q_mul.c | 90 unsigned int xm, ym, fsr, lx, ly, wx[3], wy[3]; local 203 lx = xm & 0xffff; 205 lx |= 0x10000; 210 if (lx | (x->l.frac2 & 0xfffe0000)) { 216 lx = x->l.frac2; 222 lx = x->l.frac3; 227 lx = x->l.frac4; 231 while ((lx & 0x10000) == 0) { 232 lx = (lx << [all...] |
H A D | _Q_sqrt.c | 99 unsigned int xm, fsr, lx, wx[3]; local 167 lx = xm & 0xffff; 169 lx |= 0x10000; 174 if (lx | (x->l.frac2 & 0xfffe0000)) { 180 lx = x->l.frac2; 186 lx = x->l.frac3; 191 lx = x->l.frac4; 195 while ((lx & 0x10000) == 0) { 196 lx = (lx << [all...] |
/illumos-gate/usr/src/lib/libm/common/Q/ |
H A D | sqrtl.c | 136 unsigned int lx, w[3]; local 141 lx = x->l.msw & 0xffff; 144 lx |= 0x10000; 151 if (lx | (x->l.frac2 & 0xfffe0000)) 160 lx = x->l.frac2; 168 lx = x->l.frac3; 175 lx = x->l.frac4; 179 while ((lx & 0x10000) == 0) 181 lx = (lx << [all...] |
H A D | powl.c | 138 int hx, lx, hy, ly, ahx, ahy; local 144 lx = px[i1] | px[i2] | px[i3]; 152 else if (hx == 0x3fff0000 && lx == 0 && 155 else if (ahx > 0x7fff0000 || (ahx == 0x7fff0000 && lx != 0) || 197 if (((ahx - 0x3fff0000) | lx) == 0) { 217 if (!((ahx | lx) == 0 || ((ahx - 0x7fff0000) | lx) == 224 if (lx == 0) {
|
/illumos-gate/usr/src/lib/libmvec/common/ |
H A D | __vhypot.c | 139 int lx = LO((px - stridex)); local 141 if (hx0 == 0x7ff00000 && lx == 0) res = x == y ? y : x; 181 int lx = LO((px - stridex)); local 183 if (hx0 == 0x7ff00000 && lx == 0) res = x == y ? y : x; 266 int lx = LO(px); local 268 if (hx0 == 0x7ff00000 && lx == 0) res = x == y ? y : x;
|
H A D | __vrsqrt.c | 120 int ax, lx, hx, n_n; local 144 lx = LO((px - stridex)); 147 if ((ax | lx) == 0) /* |X| = zero */ 207 lx = LO(px); 210 if ((ax | lx) == 0) /* |X| = zero */
|
H A D | __vrhypot.c | 139 lx = LO(px); \ 143 if (hx##I == 0x7ff00000 && lx == 0) res0 = 0.0; /* |X| = Inf */ \ 155 lx = LO(px); \ 160 if ((hx##I | hy##I | lx | ly) == 0) /* |X| and |Y| = 0 */ \ 229 int lx, ly; local
|
/illumos-gate/usr/src/lib/libast/common/sfio/ |
H A D | sfcvt.c | 121 static char lx[] = "0123456789abcdef"; local 198 ep = (format & SFFMT_UPPER) ? ux : lx; 372 ep = (format & SFFMT_UPPER) ? ux : lx;
|
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | tgammaf.c | 310 unsigned lx; local 314 lx = __LO(x); 318 __LO(y) = lx;
|