Home
last modified time | relevance | path

Searched refs:lx (Results 1 – 25 of 78) sorted by relevance

1234

/titanic_41/usr/src/lib/libm/common/m9x/
H A Dremquo.c62 unsigned lx, ly, lz; in fmodquo() local
65 lx = __LO(x); /* low word of x */ in fmodquo()
79 if (hx < hy || lx < ly) in fmodquo()
81 if (lx == ly) { in fmodquo()
91 for (ix = -1043, i = lx; i > 0; i <<= 1) in fmodquo()
118 hx = (hx << n) | (lx >> (32 - n)); in fmodquo()
119 lx <<= n; in fmodquo()
121 hx = lx << (n - 32); in fmodquo()
122 lx = 0; in fmodquo()
143 lz = lx - ly; in fmodquo()
[all …]
H A Dnexttowardf.c72 long double lx; in __nexttowardf() local
84 lx = xx.f = x; in __nexttowardf()
88 rel = _Q_cmp(&lx, &y); in __nexttowardf()
139 long double lx; in __nexttowardf() local
142 lx = xx.f = x; in __nexttowardf()
146 if (isunordered(lx, y)) in __nexttowardf()
147 return ((float) (lx + y)); in __nexttowardf()
149 if (lx == y) in __nexttowardf()
152 if (lx < y) { in __nexttowardf()
H A Dnexttoward.c83 long double lx; in __nexttoward() local
95 lx = xx.d = x; in __nexttoward()
99 rel = _Q_cmp(&lx, &y); in __nexttoward()
169 long double lx; in __nexttoward() local
172 lx = xx.d = x; in __nexttoward()
176 if (isunordered(lx, y)) in __nexttoward()
177 return ((double) (lx + y)); in __nexttoward()
179 if (lx == y) in __nexttoward()
182 if (lx < y) { in __nexttoward()
/titanic_41/usr/src/cmd/lvm/etc/
H A Dmd.ctlrmap27 "/SUNW,pln@.*/ssd@0,[0-9]:[a-h](,raw){0,1}$" 0 0 "/SUNW,pln@" "%*04lx%04lx,%08lx/"
28 "/SUNW,pln@.*/ssd@1,[0-9]:[a-h](,raw){0,1}$" 0 1 "/SUNW,pln@" "%*04lx%04lx,%08lx/"
29 "/SUNW,pln@.*/ssd@2,[0-9]:[a-h](,raw){0,1}$" 1 2 "/SUNW,pln@" "%*04lx%04lx,%08lx/"
30 "/SUNW,pln@.*/ssd@3,[0-9]:[a-h](,raw){0,1}$" 1 3 "/SUNW,pln@" "%*04lx%04lx,%08lx/"
31 "/SUNW,pln@.*/ssd@4,[0-9]:[a-h](,raw){0,1}$" 2 4 "/SUNW,pln@" "%*04lx%04lx,%08lx/"
32 "/SUNW,pln@.*/ssd@5,[0-9]:[a-h](,raw){0,1}$" 2 5 "/SUNW,pln@" "%*04lx%04lx,%08lx/"
/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
54 lx = x->l.msw & 0xffff; in __quad_mag_add()
58 lx |= 0x10000; in __quad_mag_add()
127 lx += ly; in __quad_mag_add()
129 lx++; in __quad_mag_add()
132 if (lx >= 0x20000) { in __quad_mag_add()
137 frac2 = (frac2 >> 1) | (lx << 31); in __quad_mag_add()
138 lx >>= 1; in __quad_mag_add()
144 uflo = (lx < 0x10000); in __quad_mag_add()
162 if (++lx >= 0x20000) { in __quad_mag_add()
[all …]
H A D_Q_sqrt.c99 unsigned int xm, fsr, lx, wx[3]; in _Qp_sqrt() local
167 lx = xm & 0xffff; in _Qp_sqrt()
169 lx |= 0x10000; in _Qp_sqrt()
174 if (lx | (x->l.frac2 & 0xfffe0000)) { in _Qp_sqrt()
180 lx = x->l.frac2; in _Qp_sqrt()
186 lx = x->l.frac3; in _Qp_sqrt()
191 lx = x->l.frac4; in _Qp_sqrt()
195 while ((lx & 0x10000) == 0) { in _Qp_sqrt()
196 lx = (lx << 1) | (wx[0] >> 31); in _Qp_sqrt()
206 lx = (lx << 1) | (wx[0] >> 31); in _Qp_sqrt()
[all …]
/titanic_41/usr/src/lib/libm/common/C/
H A Dnextafter.c39 unsigned lx; in nextafter() local
43 lx = ((int *)&x)[LOWORD]; in nextafter()
45 k = (hx & ~0x80000000) | lx; in nextafter()
57 ((int *)&ans)[LOWORD] = lx - 1; in nextafter()
58 k = (lx == 0)? hx - 1 : hx; in nextafter()
61 ((int *)&ans)[LOWORD] = lx + 1; in nextafter()
62 k = (lx == 0xffffffff)? hx + 1 : hx; in nextafter()
67 ((int *)&ans)[LOWORD] = lx - 1; in nextafter()
68 k = (lx == 0)? hx - 1 : hx; in nextafter()
71 ((int *)&ans)[LOWORD] = lx + 1; in nextafter()
[all …]
H A Dpow.c166 unsigned lx, ly; in pow() local
170 lx = ((unsigned *) &x)[LOWORD]; in pow()
176 if ((ahx | lx) == 0) in pow()
178 else if ((ahx | (((lx | -lx) >> 31) & 1)) > 0x7ff00000) in pow()
183 } else if (hx == 0x3ff00000 && lx == 0 && in pow()
186 else if (ahx > 0x7ff00000 || (ahx == 0x7ff00000 && lx != 0) || in pow()
220 if (((ahx - 0x3ff00000) | lx) == 0) { in pow()
238 lx) == 0) /* overflow */ in pow()
249 else if ((ahx < 0x1e56a09e && (ahx | lx) != 0) || in pow()
250 (ahx == 0x1e56a09e && lx < 0x667f3bcd)) in pow()
[all …]
H A Dlog2.c153 int i, hx, ix, n, lx; in log2() local
157 lx = ((int *) &x)[LOWORD]; in log2()
165 if (((hx << 1) | lx) == 0) /* log(0.0) = -inf */ in log2()
173 if (((hx - 0x7ff00000) | lx) == 0) /* log(inf) = inf */ in log2()
180 lx = ((int *) &x)[LOWORD]; in log2()
191 if (((ix << 12) | lx) == 0) in log2()
202 if (((ix << 12) | lx) == 0) /* 2's power */ in log2()
214 if ((ix | lx) == 0) in log2()
H A Dsincospi.c91 unsigned h, lx = ((unsigned *) &x)[LOWORD]; in sincospi() local
109 if ((lx & 1) == 0) { in sincospi()
119 if ((lx & 1) == 0) { in sincospi()
127 if ((lx & 2) != 0) { in sincospi()
148 n = lx >> k; in sincospi()
152 k = h == lx; in sincospi()
H A Dlog.c159 int i, hx, ix, n, lx; in log() local
164 lx = ((int *)&x)[LOWORD]; in log()
168 if (ix > 0x7ff00000 || (ix == 0x7ff00000 && lx != 0)) /* nan */ in log()
170 if (((hx << 1) | lx) == 0) /* zero */ in log()
174 if (((hx - 0x7ff00000) | lx) == 0) /* +inf */ in log()
181 lx = ((int *)&x)[LOWORD]; in log()
191 if (((ix - 0x3ff00000) | lx) == 0) /* x = 1 */ in log()
H A Dhypot.c82 unsigned lx, ly; in hypot() local
85 lx = ((int *) &x)[LOWORD]; in hypot()
97 i = lx; in hypot()
98 lx = ly; in hypot()
112 if (((ix - 0x7ff00000) | lx) == 0) in hypot()
136 if ((ix | lx) == 0) in hypot()
173 if (((lx | ly) << 5) == 0) { in hypot()
H A Dlog10.c155 int i, hx, ix, n, lx; in log10() local
160 lx = ((int *)&x)[LOWORD]; in log10()
164 if (ix > 0x7ff00000 || (ix == 0x7ff00000 && lx != 0)) /* nan */ in log10()
166 if (((hx << 1) | lx) == 0) /* zero */ in log10()
170 if (((hx - 0x7ff00000) | lx) == 0) /* +inf */ in log10()
177 lx = ((int *)&x)[LOWORD]; in log10()
187 if (((ix - 0x3ff00000) | lx) == 0) /* x = 1 */ in log10()
H A D__rem_pio2.c67 int e0, i, j, nx, n, ix, hx, lx; in __rem_pio2() local
147 lx = ((int *)&x)[LOWORD]; in __rem_pio2()
148 i = (lx & 0x1f) << 19; in __rem_pio2()
150 j = (lx >> 5) & 0xffffff; in __rem_pio2()
153 ((unsigned)lx >> 29)); in __rem_pio2()
/titanic_41/usr/src/ucblib/libcurses/
H A Drefresh.c39 DEBUGSTATIC short ly, lx; variable
67 lx = curscr->_curx; in wrefresh()
75 lx = 0; in wrefresh()
121 domvcur(ly, lx, win->_cury, win->_curx); in wrefresh()
125 curscr->_curx = lx; in wrefresh()
127 lx -= win->_begx; in wrefresh()
128 if (ly >= 0 && ly < win->_maxy && lx >= 0 && in wrefresh()
129 lx < win->_maxx) { in wrefresh()
131 win->_curx = lx; in wrefresh()
136 domvcur(ly, lx, win->_cury + win->_begy, in wrefresh()
[all …]
/titanic_41/usr/src/lib/libm/common/complex/
H A Dk_clog_rl.c369 unsigned lx, ly; in k_log_NKzl() local
385 lx = ((unsigned *)&s2h)[2]; /* 56 bits rounded */ in k_log_NKzl()
386 j = ((lx >> 24) + 1) >> 1; in k_log_NKzl()
388 lx = ((unsigned *)&s2h)[1]; in k_log_NKzl()
389 ly = lx + (j >> 7); in k_log_NKzl()
391 ((unsigned *)&s2h)[0] += (ly == 0 && lx != 0); in k_log_NKzl()
417 unsigned lx, ly; local
532 lx = ((unsigned *)&wh)[2]; /* 56 rounded */
533 j = ((lx >> 24) + 1) >> 1;
535 lx = ((unsigned *)&wh)[1];
[all …]
H A Dclog.c75 unsigned lx, ly; in __clog() local
80 lx = LO_WORD(x); in __clog()
88 if (ix < iy || (ix == iy && lx < ly)) { in __clog()
95 n = lx, lx = ly; in __clog()
100 if (ISINF(ix, lx)) in __clog()
107 D_RE(ans) = ((ix | lx) == 0)? -one / ax : log(ax); in __clog()
111 if (((ix - 0x3ff00000) | lx) == 0) in __clog()
H A Dk_clog_r.c252 unsigned lx, ly; in __k_clog_r() local
255 lx = ((unsigned *)&x)[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()
267 if (ISINF(ix, lx)) in __k_clog_r()
278 if ((((ix - 0x3ff00000) | lx) == 0) && ny < (0x3ff - 35)) { in __k_clog_r()
291 if ((ix | lx) == 0) in __k_clog_r()
297 lx = ((unsigned *)&x)[LOWORD]; in __k_clog_r()
303 if ((ix | lx) == 0) in __k_clog_r()
343 j = ((lx >> 26) + 1) >> 1; in __k_clog_r()
H A Dcabs.c55 unsigned lx, ly; in cabs() local
61 lx = ((int *)&x)[LOWORD]; in cabs()
72 i = lx; in cabs()
73 lx = ly; in cabs()
87 if (((ix - 0x7ff00000) | lx) == 0) in cabs()
107 if ((ix | lx) == 0) in cabs()
149 if (((lx | ly) << 5) == 0) { in cabs()
/titanic_41/usr/src/lib/libc/sparcv9/fp/
H A D__quad_mag64.s64 ! unsigned long lx, ly, frac, sticky;
70 ! lx = x->ll.msll & ~0xffff000000000000ul;
74 ! lx |= 0x0001000000000000ul;
107 ! lx += ly;
109 ! lx++;
112 ! if (lx >= 0x0002000000000000ul) {
115 ! frac = (frac >> 1) | (lx << 63);
116 ! lx >>= 1;
122 ! uflo = (lx < 0x0001000000000000ul);
138 ! if (++lx >= 0x0002000000000000ul) {
[all …]
/titanic_41/usr/src/cmd/oawk/
H A DMakefile36 OBJS = awk.g.o awk.lx.o proctab.o tmptoken.o \
55 tmptoken.c awk.lx.c $(NATIVEOBJS) $(MAKEPRCTAB) \
90 awk.lx.c: awk.lx.l
91 $(LEX.l) -w awk.lx.l > awk.lx.c
/titanic_41/usr/src/lib/libm/common/LD/
H A Dsinpil.c105 unsigned lx; in sinpil() local
108 lx = LDBL_LEAST_SIGNIF_U(x); in sinpil()
117 y = (lx & 1) == 0 ? zero: -zero; in sinpil()
119 y = (lx & 1) == 0 ? zero : one; in sinpil()
120 if ((lx & 2) != 0) in sinpil()
H A Dsincospil.c106 unsigned lx; in sincospil() local
109 lx = LDBL_LEAST_SIGNIF_U(x); in sincospil()
121 if ((lx & 1) == 0) { in sincospil()
131 if ((lx & 1) == 0) { in sincospil()
139 if ((lx & 2) != 0) { in sincospil()
/titanic_41/usr/src/lib/libm/common/Q/
H A Dsinpil.c104 unsigned lx; in sinpil() local
107 lx = LDBL_LEAST_SIGNIF_U(x); in sinpil()
116 y = (lx & 1) == 0 ? zero: -zero; in sinpil()
118 y = (lx & 1) == 0 ? zero : one; in sinpil()
119 if ((lx & 2) != 0) in sinpil()
H A Dsqrtl.c136 unsigned int lx, w[3]; in __q_unpack() local
141 lx = x->l.msw & 0xffff; in __q_unpack()
144 lx |= 0x10000; in __q_unpack()
151 if (lx | (x->l.frac2 & 0xfffe0000)) in __q_unpack()
160 lx = x->l.frac2; in __q_unpack()
168 lx = x->l.frac3; in __q_unpack()
175 lx = x->l.frac4; in __q_unpack()
179 while ((lx & 0x10000) == 0) in __q_unpack()
181 lx = (lx << 1) | (w[0] >> 31); in __q_unpack()
193 u.l[LOWORD] = lx; in __q_unpack()

1234