Searched refs:lx (Results 1 - 25 of 67) sorted by relevance

123

/illumos-gate/usr/src/lib/libm/common/C/
H A Dnextafter.c39 unsigned lx; local
43 lx = ((int *)&x)[LOWORD];
45 k = (hx & ~0x80000000) | lx;
57 ((int *)&ans)[LOWORD] = lx - 1;
58 k = (lx == 0)? hx - 1 : hx;
61 ((int *)&ans)[LOWORD] = lx + 1;
62 k = (lx == 0xffffffff)? hx + 1 : hx;
67 ((int *)&ans)[LOWORD] = lx - 1;
68 k = (lx == 0)? hx - 1 : hx;
71 ((int *)&ans)[LOWORD] = lx
[all...]
H A Dceil.c48 int hx, lx, ix; local
51 lx = ((int *)&x)[LOWORD];
59 if ((ix | lx) == 0)
H A Dfloor.c48 int hx, lx, ix; local
51 lx = ((int *)&x)[LOWORD];
59 if ((ix | lx) == 0)
H A Dsincospi.c92 unsigned h, lx = ((unsigned *)&x)[LOWORD]; local
109 if ((lx & 1) == 0) {
117 if ((lx & 1) == 0) {
124 if ((lx & 2) != 0) {
143 n = lx >> k;
147 k = h == lx;
H A Dlog2.c153 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__rem_pio2.c67 int e0, i, j, nx, n, ix, hx, lx; local
147 lx = ((int *)&x)[LOWORD];
148 i = (lx & 0x1f) << 19;
150 j = (lx >> 5) & 0xffffff;
153 ((unsigned)lx >> 29));
H A Dhypot.c82 unsigned lx, ly; local
85 lx = ((int *) &x)[LOWORD];
97 i = lx;
98 lx = ly;
112 if (((ix - 0x7ff00000) | lx) == 0)
136 if ((ix | lx) == 0)
173 if (((lx | ly) << 5) == 0) {
H A Dlog.c159 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 Dlog10.c155 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 Dpow.c166 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...]
/illumos-gate/usr/src/lib/libm/common/m9x/
H A Dremquo.c62 unsigned lx, ly, lz; local
65 lx = __LO(x); /* low word of x */
79 if (hx < hy || lx < ly)
81 if (lx == ly) {
91 for (ix = -1043, i = lx; i > 0; i <<= 1)
112 /* set up {hx,lx}, {hy,ly} and align y to x */
118 hx = (hx << n) | (lx >> (32 - n));
119 lx <<= n;
121 hx = lx << (n - 32);
122 lx
[all...]
H A Dnexttoward.c83 long double lx; local
95 lx = xx.d = x;
99 rel = _Q_cmp(&lx, &y);
169 long double lx; local
172 lx = xx.d = x;
176 if (isunordered(lx, y))
177 return ((double) (lx + y));
179 if (lx == y)
182 if (lx < y) {
H A Dnexttowardf.c72 long double lx; local
84 lx = xx.f = x;
88 rel = _Q_cmp(&lx, &y);
139 long double lx; local
142 lx = xx.f = x;
146 if (isunordered(lx, y))
147 return ((float) (lx + y));
149 if (lx == y)
152 if (lx < y) {
/illumos-gate/usr/src/lib/libc/sparc/fp/
H A D__quad_mag.c48 unsigned int lx, ly, ex, ey, frac2, frac3, frac4; local
54 lx = x->l.msw & 0xffff;
58 lx |= 0x10000;
127 lx += ly;
129 lx++;
132 if (lx >= 0x20000) {
137 frac2 = (frac2 >> 1) | (lx << 31);
138 lx >>= 1;
144 uflo = (lx < 0x10000);
162 if (++lx >
208 unsigned int lx, ly, ex, ey, frac2, frac3, frac4; local
[all...]
H A D_Q_sqrt.c99 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/complex/
H A Dcproj.c51 int ix, iy, hx, hy, lx, ly; local
56 lx = LO_WORD(x);
64 } else if (ISINF(ix, lx)) {
H A Dclog.c75 unsigned lx, ly; local
80 lx = LO_WORD(x);
88 if (ix < iy || (ix == iy && lx < ly)) {
95 n = lx, lx = ly;
100 if (ISINF(ix, lx))
107 D_RE(ans) = ((ix | lx) == 0)? -one / ax : log(ax);
111 if (((ix - 0x3ff00000) | lx) == 0)
H A Dcabs.c55 unsigned lx, ly; local
61 lx = ((int *)&x)[LOWORD];
72 i = lx;
73 lx = ly;
87 if (((ix - 0x7ff00000) | lx) == 0)
107 if ((ix | lx) == 0)
149 if (((lx | ly) << 5) == 0) {
/illumos-gate/usr/src/ucblib/libcurses/
H A Drefresh.c39 DEBUGSTATIC short ly, lx; variable
67 lx = curscr->_curx;
75 lx = 0;
121 domvcur(ly, lx, win->_cury, win->_curx);
125 curscr->_curx = lx;
127 lx -= win->_begx;
128 if (ly >= 0 && ly < win->_maxy && lx >= 0 &&
129 lx < win->_maxx) {
131 win->_curx = lx;
136 domvcur(ly, lx, wi
[all...]
/illumos-gate/usr/src/lib/libm/common/LD/
H A Dsincospil.c106 unsigned lx; local
109 lx = LDBL_LEAST_SIGNIF_U(x);
121 if ((lx & 1) == 0) {
131 if ((lx & 1) == 0) {
139 if ((lx & 2) != 0) {
H A Dsinpil.c105 unsigned lx; local
108 lx = LDBL_LEAST_SIGNIF_U(x);
117 y = (lx & 1) == 0 ? zero: -zero;
119 y = (lx & 1) == 0 ? zero : one;
120 if ((lx & 2) != 0)
/illumos-gate/usr/src/lib/libm/common/Q/
H A Dsincospil.c104 unsigned lx; local
107 lx = LDBL_LEAST_SIGNIF_U(x);
117 if ((lx & 1) == 0) {
125 if ((lx & 1) == 0) {
132 if ((lx & 2) != 0) {
H A Dsinpil.c104 unsigned lx; local
107 lx = LDBL_LEAST_SIGNIF_U(x);
116 y = (lx & 1) == 0 ? zero: -zero;
118 y = (lx & 1) == 0 ? zero : one;
119 if ((lx & 2) != 0)
/illumos-gate/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 >
[all...]
/illumos-gate/usr/src/cmd/oawk/
H A DMakefile37 OBJS = awk.g.o awk.lx.o proctab.o tmptoken.o \
57 tmptoken.c awk.lx.c $(NATIVEOBJS) $(MAKEPRCTAB) \
94 awk.lx.c: awk.lx.l
95 $(LEX.l) -w awk.lx.l > awk.lx.c

Completed in 224 milliseconds

123