/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | nextafter.c | 39 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 D | ceil.c | 48 int hx, lx, ix; local 51 lx = ((int *)&x)[LOWORD]; 59 if ((ix | lx) == 0)
|
H A D | floor.c | 48 int hx, lx, ix; local 51 lx = ((int *)&x)[LOWORD]; 59 if ((ix | lx) == 0)
|
H A D | sincospi.c | 91 unsigned h, lx = ((unsigned *) &x)[LOWORD]; local 109 if ((lx & 1) == 0) { 119 if ((lx & 1) == 0) { 127 if ((lx & 2) != 0) { 148 n = lx >> k; 152 k = h == lx;
|
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 | __rem_pio2.c | 67 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 D | hypot.c | 82 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 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 | 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 | 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...] |
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | remquo.c | 62 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 D | nexttoward.c | 83 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 D | nexttowardf.c | 72 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.c | 48 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.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/complex/ |
H A D | cproj.c | 51 int ix, iy, hx, hy, lx, ly; local 56 lx = LO_WORD(x); 64 } else if (ISINF(ix, lx)) {
|
H A D | clog.c | 75 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 D | cabs.c | 55 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 D | refresh.c | 39 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 D | sincospil.c | 106 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 D | sinpil.c | 105 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 D | sincospil.c | 104 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 D | sinpil.c | 104 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.s | 64 ! 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 D | Makefile | 36 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
|