/illumos-gate/usr/src/lib/libm/common/Q/ |
H A D | powl.c | 138 int hx, lx, hy, ly, ahx, ahy; in powl() local 144 lx = px[i1] | px[i2] | px[i3]; in powl() 152 else if (hx == 0x3fff0000 && lx == 0 && in powl() 155 else if (ahx > 0x7fff0000 || (ahx == 0x7fff0000 && lx != 0) || in powl() 197 if (((ahx - 0x3fff0000) | lx) == 0) { in powl() 217 if (!((ahx | lx) == 0 || ((ahx - 0x7fff0000) | lx) == in powl() 224 if (lx == 0) { in powl()
|
/illumos-gate/usr/src/lib/libc/sparc/fp/ |
H A D | _Q_mul.c | 88 unsigned int xm, ym, fsr, lx, ly, wx[3], wy[3]; in _Qp_mul() local 201 lx = xm & 0xffff; in _Qp_mul() 203 lx |= 0x10000; in _Qp_mul() 208 if (lx | (x->l.frac2 & 0xfffe0000)) { in _Qp_mul() 214 lx = x->l.frac2; in _Qp_mul() 220 lx = x->l.frac3; in _Qp_mul() 225 lx = x->l.frac4; in _Qp_mul() 229 while ((lx & 0x10000) == 0) { in _Qp_mul() 230 lx = (lx << 1) | (wx[0] >> 31); in _Qp_mul() 280 xx[0] = (double)((int)lx) * c; in _Qp_mul()
|
H A D | _Q_div.c | 106 unsigned int xm, ym, fsr, lx, ly, wx[3], wy[3]; in _Qp_div() local 233 lx = xm & 0xffff; in _Qp_div() 235 lx |= 0x10000; in _Qp_div() 240 if (lx | (x->l.frac2 & 0xfffe0000)) { in _Qp_div() 246 lx = x->l.frac2; in _Qp_div() 252 lx = x->l.frac3; in _Qp_div() 257 lx = x->l.frac4; in _Qp_div() 261 while ((lx & 0x10000) == 0) { in _Qp_div() 262 lx = (lx << 1) | (wx[0] >> 31); in _Qp_div() 312 xx[0] = (double)((int)lx) * c; in _Qp_div()
|
/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | ceil.c | 48 int hx, lx, ix; in ceil() local 51 lx = ((int *)&x)[LOWORD]; in ceil() 59 if ((ix | lx) == 0) in ceil()
|
H A D | floor.c | 48 int hx, lx, ix; in floor() local 51 lx = ((int *)&x)[LOWORD]; in floor() 59 if ((ix | lx) == 0) in floor()
|
H A D | sincos.c | 184 int i, j, n, hx, ix, lx; in sincos() local 187 lx = ((int *)&x)[LOWORD]; in sincos() 234 if ((i | ((lx - 0x54442D00) & in sincos() 255 if ((i | ((lx - 0x54442D00) & in sincos() 278 if ((i | ((lx - 0x7f332100) & in sincos() 299 if ((i | ((lx - 0x54442D00) & in sincos() 322 if ((i | ((lx - 0x29553800) & in sincos()
|
H A D | cos.c | 113 int i, j, n, hx, ix, lx; in cos() local 116 lx = ((int *)&x)[LOWORD]; in cos() 144 if ((i | ((lx - 0x54442D00) & 0xffffff00)) == 0) { in cos() 165 if ((i | ((lx - 0x7f332100) & 0xffffff00)) == 0) { in cos() 185 if ((i | ((lx - 0x29553800) & 0xffffff00)) == 0) { in cos()
|
H A D | sin.c | 99 int i, j, n, hx, ix, lx; in sin() local 102 lx = ((int *)&x)[LOWORD]; in sin() 129 if ((i | ((lx - 0x54442D00) & 0xffffff00)) == 0) { in sin() 150 if ((i | ((lx - 0x54442D00) & 0xffffff00)) == 0) { in sin()
|
H A D | atan.c | 128 int ix, lx, hx, j; in atan() local 131 lx = ((int *) &x)[LOWORD]; in atan() 178 if (((ix - 0x7ff00000) | lx) != 0) in atan()
|
/illumos-gate/usr/src/lib/libm/common/complex/ |
H A D | cproj.c | 51 int ix, iy, hx, hy, lx, ly; in cproj() local 56 lx = LO_WORD(x); in cproj() 64 } else if (ISINF(ix, lx)) { in cproj()
|
H A D | ctanh.c | 100 int hx, ix, lx, hy, iy, ly; in ctanh() local 106 lx = LO_WORD(x); in ctanh() 120 else if (((ix - 0x7ff00000) | lx) == 0) { /* x is inf */ in ctanh() 141 if (((ix - 0x7ff00000) | lx) != 0) in ctanh()
|
H A D | cacos.c | 222 unsigned lx, ly; in cacos() local 228 lx = LO_WORD(x); in cacos() 235 if ((ix | lx) == 0) { in cacos() 249 } else if (ISINF(ix, lx)) { in cacos() 259 if (ISINF(ix, lx)) in cacos() 272 if (ISINF(ix, lx)) { /* x is INF */ in cacos()
|
H A D | k_cexp.c | 122 unsigned hx, lx; in __k_cexp() local 125 lx = LO_WORD(x); /* low word of x */ in __k_cexp() 133 if (((hx & 0xfffff) | lx) != 0) in __k_cexp()
|
H A D | ccosh.c | 84 int hx, ix, lx, hy, iy, ly, n; in ccosh() local 90 lx = LO_WORD(x); in ccosh() 124 if ((ix | lx) == 0) { /* x = 0, return (C,0) */ in ccosh()
|
H A D | cexp.c | 70 int n, ix, iy, hx, hy, lx, ly; in cexp() local 75 lx = LO_WORD(x); in cexp() 83 } else if (ISINF(ix, lx)) { /* x is +-inf */ in cexp()
|
H A D | csinh.c | 84 int hx, ix, lx, hy, iy, ly, n; in csinh() local 90 lx = LO_WORD(x); in csinh() 124 if ((ix | lx) == 0) { /* x = 0, return (0,S) */ in csinh()
|
H A D | casin.c | 218 unsigned lx, ly; in casin() local 224 lx = LO_WORD(x); in casin() 236 if (ISINF(ix, lx)) { /* x is INF */ in casin() 269 if ((ix | lx | iy | ly) == 0) in casin() 278 if ((ix | lx) == 0) in casin()
|
H A D | catan.c | 96 unsigned lx, ly; in catan() local 103 lx = LO_WORD(x); in catan() 111 if (ISINF(ix, lx)) { in catan() 130 } else if ((ix | lx) == 0) { in catan()
|
H A D | cpow.c | 156 int ix, iy, hx, lx, hy, ly, hv, hu, iu, iv, lu, lv; in cpow() local 164 lx = ((int *) &x)[LOWORD]; in cpow() 194 } else if (((ix | lx) == 0) || ix >= hiinf || iy >= hiinf) { in cpow() 198 if ((ix | lx) == 0) in cpow() 207 } else if (((ix - iy) | (lx - ly)) == 0) { /* |x| = |y| */ in cpow() 313 lx = ((int *) &w1)[LOWORD]; in cpow()
|
H A D | csqrt.c | 123 int n, ix, iy, hx, hy, lx, ly; in csqrt() local 128 lx = LO_WORD(x); in csqrt() 139 else if (ISINF(ix, lx)) { in csqrt()
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | m_cc.c | 775 for (cp = w->_line[y], i = 0; x <= lx; ++x, ++i) { in __m_cc_erase_in_line() 791 int lx, int bgWidth, int parentBGWidth) in __m_cc_erase_in_line_sub() argument 804 wlx = lx = __m_cc_next(parent, parentY, dx + lx) - 1; in __m_cc_erase_in_line_sub() 807 for (cp = parent->_line[parentY]; x <= lx; ) { in __m_cc_erase_in_line_sub() 810 for (i = 0; x <= lx && i <= parentBGWidth; x++, i++) { in __m_cc_erase_in_line_sub() 859 __m_cc_erase(WINDOW *w, int y, int x, int ly, int lx) in __m_cc_erase() argument 894 __m_cc_erase_in_line_sub(w, y, x, lx, bgWidth, parentBGWidth); in __m_cc_erase() 897 if (w->_maxx <= lx) in __m_cc_erase() 898 lx = w->_maxx - 1; in __m_cc_erase() 905 lx = __m_cc_next(w, ly, lx) - 1; in __m_cc_erase() [all …]
|
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | tgamma.c | 1214 unsigned lx; in large_gam() local 1244 lx = __LO(x); in large_gam() 1249 __LO(y) = lx; in large_gam() 1536 unsigned lx; in tgamma() local 1539 lx = __LO(x); in tgamma() 1549 (hx == 0x406573fa && lx > 0xE561F647)) { in tgamma() 1580 xk = -2 + (lx & 1); in tgamma() 1584 j = lx >> (52 - k); in tgamma() 1585 if ((j << (52 - k)) == lx) in tgamma() 1591 if ((j << (20 - k)) == ix && lx == 0) in tgamma() [all …]
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | m_cc.c | 675 __m_cc_erase(w, y, x, ly, lx) in __m_cc_erase() argument 677 int y, x, ly, lx; 687 if (w->_maxx <= lx) 688 lx = w->_maxx - 1; 694 lx = __m_cc_next(w, ly, lx) - 1; 701 if (y < ly && (lx + 1) % width != 0) 703 if ((lx - x + 1) % width != 0) 727 for (cp = w->_line[y], i = 0; x <= lx; ++x, ++i) {
|
/illumos-gate/usr/src/lib/libmvec/common/ |
H A D | __vpow.c | 519 lx = LO(px); \ 535 else if ((hx | lx) == 0 || (hx == 0x7ff00000 && lx == 0)) /* X = 0 or Inf */ \ 538 LO(pz) = lx; \ 598 hx = lx = 0; \ 601 LO(pz) = lx; \ 610 LO(pz) = lx; \ 622 if ((sx || (hx | lx)) == 0) /* X <= 0 */ \ 644 if ((hx | lx) == 0) /* X == 0 */ \ 696 unsigned hx, lx, sx, hy, ly, sy; in __vpow() local 720 unsigned lx = LO(px); in __vpow() local [all …]
|
H A D | __vhypot.c | 139 int lx = LO((px - stridex)); in __vhypot() local 141 if (hx0 == 0x7ff00000 && lx == 0) res = x == y ? y : x; in __vhypot() 181 int lx = LO((px - stridex)); in __vhypot() local 183 if (hx0 == 0x7ff00000 && lx == 0) res = x == y ? y : x; in __vhypot() 266 int lx = LO(px); in __vhypot() local 268 if (hx0 == 0x7ff00000 && lx == 0) res = x == y ? y : x; in __vhypot()
|