Home
last modified time | relevance | path

Searched refs:ly (Results 1 – 25 of 47) sorted by relevance

12

/titanic_41/usr/src/lib/libm/common/m9x/
H A Dremquo.c62 unsigned lx, ly, lz; in fmodquo() local
67 ly = __LO(y); /* low word of y */ in fmodquo()
75 if ((hy | ly) == 0 || hx >= 0x7ff00000 || /* y=0, or x !finite */ in fmodquo()
76 (hy | ((ly | -ly) >> 31)) > 0x7ff00000) /* or y is NaN */ in fmodquo()
79 if (hx < hy || lx < ly) in fmodquo()
81 if (lx == ly) { in fmodquo()
103 for (iy = -1043, i = ly; i > 0; i <<= 1) in fmodquo()
130 hy = (hy << n) | (ly >> (32 - n)); in fmodquo()
131 ly <<= n; in fmodquo()
133 hy = ly << (n - 32); in fmodquo()
[all …]
/titanic_41/usr/src/lib/libc/sparc/fp/
H A D__quad_mag.c48 unsigned int lx, ly, ex, ey, frac2, frac3, frac4; in __quad_mag_add() local
61 ly = y->l.msw & 0xffff; in __quad_mag_add()
65 ly |= 0x10000; in __quad_mag_add()
74 sticky = ly | y->l.frac2 | y->l.frac3 | y->l.frac4; in __quad_mag_add()
82 frac4 = ly; in __quad_mag_add()
83 frac3 = frac2 = ly = 0; in __quad_mag_add()
89 frac3 = ly; in __quad_mag_add()
90 frac2 = ly = 0; in __quad_mag_add()
97 frac2 = ly; in __quad_mag_add()
98 ly = 0; in __quad_mag_add()
[all …]
H A D_Q_mul.c90 unsigned int xm, ym, fsr, lx, ly, wx[3], wy[3]; in _Qp_mul() local
242 ly = ym & 0xffff; in _Qp_mul()
244 ly |= 0x10000; in _Qp_mul()
249 if (ly | (y->l.frac2 & 0xfffe0000)) { in _Qp_mul()
255 ly = y->l.frac2; in _Qp_mul()
261 ly = y->l.frac3; in _Qp_mul()
266 ly = y->l.frac4; in _Qp_mul()
270 while ((ly & 0x10000) == 0) { in _Qp_mul()
271 ly = (ly << 1) | (wy[0] >> 31); in _Qp_mul()
283 yy[0] = (double)((int)ly) * c; in _Qp_mul()
H A D_Q_div.c108 unsigned int xm, ym, fsr, lx, ly, wx[3], wy[3]; in _Qp_div() local
274 ly = ym & 0xffff; in _Qp_div()
276 ly |= 0x10000; in _Qp_div()
281 if (ly | (y->l.frac2 & 0xfffe0000)) { in _Qp_div()
287 ly = y->l.frac2; in _Qp_div()
293 ly = y->l.frac3; in _Qp_div()
298 ly = y->l.frac4; in _Qp_div()
302 while ((ly & 0x10000) == 0) { in _Qp_div()
303 ly = (ly << 1) | (wy[0] >> 31); in _Qp_div()
315 yy[0] = (double)((int)ly) * c; in _Qp_div()
/titanic_41/usr/src/lib/libm/common/complex/
H A Dk_clog_rl.c369 unsigned lx, ly; in k_log_NKzl() local
389 ly = lx + (j >> 7); in k_log_NKzl()
390 ((unsigned *)&s2h)[1] = ly; in k_log_NKzl()
391 ((unsigned *)&s2h)[0] += (ly == 0 && lx != 0); in k_log_NKzl()
417 unsigned lx, ly; local
536 ly = lx + (j >> 7);
537 ((unsigned *)&wh)[1] = ly;
538 ((unsigned *)&wh)[0] += (ly == 0 && lx != 0);
554 ly = ((unsigned *)&wh)[2]; /* 56 bits rounded */
555 j = ((ly >> 24) + 1) >> 1;
[all …]
H A Dclog.c75 unsigned lx, ly; in __clog() local
82 ly = LO_WORD(y); in __clog()
88 if (ix < iy || (ix == iy && lx < ly)) { in __clog()
95 n = lx, lx = ly; in __clog()
96 ly = n; in __clog()
102 else if (ISINF(iy, ly)) in __clog()
106 } else if ((iy | ly) == 0) { in __clog()
H A Dk_clog_r.c252 unsigned lx, ly; in __k_clog_r() local
257 ly = ((unsigned *)&y)[LOWORD]; in __k_clog_r()
259 if (ix < iy || (ix == iy && lx < ly)) { /* force x >= y */ in __k_clog_r()
262 n = lx, lx = ly; ly = n; in __k_clog_r()
269 else if (ISINF(iy, ly)) in __k_clog_r()
282 ((unsigned *)&wh)[LOWORD] = ly & 0xf8000000; in __k_clog_r()
299 ly = ((unsigned *)&y)[LOWORD]; in __k_clog_r()
309 ly = ((unsigned *)&y)[LOWORD]; in __k_clog_r()
318 if (n > 62 || (iy | ly) == 0) { in __k_clog_r()
352 j = ((ly >> 26) + 1) >> 1; in __k_clog_r()
H A Dcabs.c55 unsigned lx, ly; in cabs() local
63 ly = ((int *)&y)[LOWORD]; in cabs()
73 lx = ly; in cabs()
74 ly = i; in cabs()
89 else if (((iy - 0x7ff00000) | ly) == 0) in cabs()
109 if ((iy | ly) == 0) in cabs()
149 if (((lx | ly) << 5) == 0) { in cabs()
H A Dcatan.c96 unsigned lx, ly; in catan() local
105 ly = LO_WORD(y); in catan()
116 if ((iy | ly) == 0 || (ISINF(iy, ly))) in catan()
123 if (ISINF(iy, ly)) { in catan()
144 if (((iy - 0x3ff00000) | ly) == 0) { in catan()
177 if ((iy | ly) == 0) { in catan()
204 } else if (((iy - 0x3ff00000) | ly) == 0) { in catan()
H A Dcproj.c51 int ix, iy, hx, hy, lx, ly; in cproj() local
58 ly = LO_WORD(y); in cproj()
61 if (ISINF(iy, ly)) { in cproj()
H A Dcacos.c222 unsigned lx, ly; in cacos() local
230 ly = LO_WORD(y); in cacos()
236 if (((iy | ly) == 0) || (iy >= 0x7ff00000)) { in cacos()
245 if (ISINF(iy, ly)) { /* cacos(x + i inf) = pi/2 - i inf */ in cacos()
275 if (ISINF(iy, ly)) { in cacos()
318 if ((iy | ly) == 0) { /* region 1: y=0 */ in cacos()
H A Dcasin.c218 unsigned lx, ly; in casin() local
226 ly = LO_WORD(y); in casin()
239 if (ISINF(iy, ly)) in casin()
269 if ((ix | lx | iy | ly) == 0) in casin()
273 if (ISINF(iy, ly)) { /* casin(x + i inf) = 0 + i inf */ in casin()
290 if ((iy | ly) == 0) { /* region 1: y=0 */ in casin()
H A Dcsinh.c84 int hx, ix, lx, hy, iy, ly, n; in csinh() local
93 ly = LO_WORD(y); in csinh()
102 if ((iy | ly) == 0) { in csinh()
H A Dccosh.c84 int hx, ix, lx, hy, iy, ly, n; in ccosh() local
93 ly = LO_WORD(y); in ccosh()
102 if ((iy | ly) == 0) { in ccosh()
H A Dcexp.c70 int n, ix, iy, hx, hy, lx, ly; in cexp() local
77 ly = LO_WORD(y); in cexp()
80 if ((iy | ly) == 0) { /* y = 0 */ in cexp()
H A Dcsqrt.c123 int n, ix, iy, hx, hy, lx, ly; in csqrt() local
130 ly = LO_WORD(y); in csqrt()
137 if (ISINF(iy, ly)) in csqrt()
149 } else if ((iy | ly) == 0) { /* y = 0 */ in csqrt()
H A Dctanh.c100 int hx, ix, lx, hy, iy, ly; in ctanh() local
109 ly = LO_WORD(y); in ctanh()
114 if ((iy | ly) == 0) { /* ctanh(x,0) = (x,0) for x = 0 or NaN */ in ctanh()
/titanic_41/usr/src/ucblib/libcurses/
H A Drefresh.c39 DEBUGSTATIC short ly, lx; variable
66 ly = curscr->_cury; in wrefresh()
74 ly = 0; in wrefresh()
121 domvcur(ly, lx, win->_cury, win->_curx); in wrefresh()
124 curscr->_cury = ly; in wrefresh()
126 ly -= win->_begy; in wrefresh()
128 if (ly >= 0 && ly < win->_maxy && lx >= 0 && in wrefresh()
130 win->_cury = ly; in wrefresh()
136 domvcur(ly, lx, win->_cury + win->_begy, in wrefresh()
192 domvcur(ly, lx, y, wx + win->_begx); in makech()
[all …]
/titanic_41/usr/src/lib/libm/common/C/
H A Dhypot.c82 unsigned lx, ly; in hypot() local
87 ly = ((int *) &y)[LOWORD]; in hypot()
98 lx = ly; in hypot()
99 ly = i; in hypot()
114 else if (((iy - 0x7ff00000) | ly) == 0) in hypot()
138 if ((iy | ly) == 0) in hypot()
173 if (((lx | ly) << 5) == 0) { in hypot()
H A Dpow.c166 unsigned lx, ly; in pow() local
172 ly = ((unsigned *) &y)[LOWORD]; in pow()
175 if ((ahy | ly) == 0) { /* y==zero */ in pow()
187 ahy > 0x7ff00000 || (ahy == 0x7ff00000 && ly != 0)) in pow()
207 j = ly >> (52 - k); in pow()
208 if ((j << (52 - k)) == ly) in pow()
210 } else if (ly == 0) { in pow()
218 if (ly == 0) { in pow()
290 if (((ly & 0x07ffffff) == 0) || ahy >= 0x47e00000 || in pow()
/titanic_41/usr/src/lib/libc/sparcv9/fp/
H A D__quad_mag64.s64 ! unsigned long lx, ly, frac, sticky;
77 ! ly = y->ll.msll & ~0xffff000000000000ul;
81 ! ly |= 0x0001000000000000ul;
88 ! sticky = ly | y->ll.frac;
94 ! frac = ly;
95 ! ly = 0;
101 ! frac = (frac >> e) | (ly << (64 - e));
102 ! ly >>= e;
107 ! lx += ly;
197 andn %o1,%g1,%o1 ! o1 = ly
[all …]
/titanic_41/usr/src/lib/libm/common/Q/
H A Dpowl.c138 int hx, lx, hy, ly, ahx, ahy; in powl() local
146 ly = py[i1] | py[i2] | py[i3]; in powl()
150 if ((ahy | ly) == 0) in powl()
156 ahy > 0x7fff0000 || (ahy == 0x7fff0000 && ly != 0)) in powl()
186 } else if (ly == 0) { in powl()
195 if (ly == 0) { in powl()
250 if (ly == 0 || ahy >= 0x43fe0000) { in powl()
/titanic_41/usr/src/lib/libmvec/common/
H A D__vpow.c521 ly = LO(py); \
531 if ((hy | ly) == 0) /* pow(X,0) */ \
557 hy > 0x7ff00000 || (hy == 0x7ff00000 && ly != 0)) /* |X| or |Y| = Nan */ \
559 if (hy == 0x7ff00000 && (ly == 0)) /* |Y| = Inf */ \
568 LO(pz) = ly; \
584 i0 = ly >> (52 - (exp - 0x3ff)); \
585 if ((i0 << (52 - (exp - 0x3ff))) == ly) \
588 else if (ly == 0) \
632 i0 = ly >> (52 - (exp - 0x3ff)); \
633 if ((i0 << (52 - (exp - 0x3ff))) == ly) \
[all …]
H A D__vhypot.c140 int ly = LO(py); in __vhypot() local
142 else if (hy0 == 0x7ff00000 && ly == 0) res = x == y ? x : y; in __vhypot()
182 int ly = LO(py); in __vhypot() local
184 else if (hy0 == 0x7ff00000 && ly == 0) res = x == y ? x : y; in __vhypot()
267 int ly = LO(py); in __vhypot() local
269 else if (hy0 == 0x7ff00000 && ly == 0) res = x == y ? x : y; in __vhypot()
/titanic_41/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dm_cc.c677 __m_cc_erase(w, y, x, ly, lx) in __m_cc_erase() argument
679 int y, x, ly, lx;
684 if (ly < y)
687 if (w->_maxy <= ly)
688 ly = w->_maxy - 1;
696 lx = __m_cc_next(w, ly, lx) - 1;
703 if (y < ly && (lx + 1) % width != 0)
708 for (; y < ly; ++y, x = 0) {

12