/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | strtol.c | 41 int xx, neg = 0; local 68 if (!isalnum(c) || (xx = DIGIT(c)) >= base) 73 for (val = -DIGIT(c); isalnum(c = *++str) && (xx = DIGIT(c)) < base; ) 75 val = base * val - xx;
|
/illumos-gate/usr/src/lib/libc/sparc/fp/ |
H A D | _Q_scl.c | 45 } xx; local 48 xx.q = *x; 49 hx = xx.i[0] & ~0x80000000; 52 if ((hx | xx.i[1] | xx.i[2] | xx.i[3]) == 0) 56 while (hx == 0 && xx.i[1] < 0x10000) { 57 hx = xx.i[1]; 58 xx.i[1] = xx 102 } xx; local [all...] |
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | fmax.c | 48 } xx, yy; local 66 xx.d = x; 69 s = ~(xx.i[0] & yy.i[0]) & 0x80000000; 70 xx.i[0] &= ~s; 72 s = ~(xx.i[1] & yy.i[1]) & 0x80000000; 73 xx.i[1] &= ~s; 78 return (xx.d);
|
H A D | fmaxf.c | 117 } xx, yy; local 135 xx.f = x; 137 s = ~(xx.i & yy.i) & 0x80000000; 138 xx.i &= ~s; 140 return (xx.f);
|
H A D | fmaxl.c | 45 } xx, yy; local 63 xx.ld = x; 66 s = ~(xx.i[0] & yy.i[0]) & 0x80000000; 67 xx.i[0] &= ~s; 69 s = ~(xx.i[2] & yy.i[2]) & 0x8000; 70 xx.i[2] &= ~s; 75 return (xx.ld);
|
H A D | fmin.c | 51 } xx, yy; local 69 xx.d = x; 72 s = (xx.i[0] | yy.i[0]) & 0x80000000; 73 xx.i[0] |= s; 75 s = (xx.i[1] | yy.i[1]) & 0x80000000; 76 xx.i[1] |= s; 79 return (xx.d);
|
H A D | fminf.c | 76 } xx, yy; local 94 xx.f = x; 96 s = (xx.i | yy.i) & 0x80000000; 97 xx.i |= s; 99 return (xx.f);
|
H A D | fminl.c | 45 } xx, yy; local 63 xx.ld = x; 66 s = (xx.i[0] | yy.i[0]) & 0x80000000; 67 xx.i[0] |= s; 69 s = (xx.i[2] | yy.i[2]) & 0x8000; 70 xx.i[2] |= s; 75 return (xx.ld);
|
H A D | frexpf.c | 39 } xx; local 43 xx.f = x; 44 hx = xx.i & ~0x80000000; 59 xx.f = (int) xx.i < 0 ? -(int) hx : (int) hx; 60 hx = xx.i & ~0x80000000; 64 /* now xx.f is normal */ 65 xx.i = (xx.i & ~0x7f800000) | 0x3f000000; 67 return (xx [all...] |
H A D | frexpl.c | 41 } xx; local 45 xx.q = x; 46 hx = xx.i[0] & ~0x80000000; 55 if ((hx | xx.i[1] | xx.i[2] | xx.i[3]) == 0) { 61 s = xx.i[0] & 0x80000000; 62 while ((hx | (xx.i[1] & 0xffff0000)) == 0) { 63 hx = xx.i[1]; 64 xx 92 } xx; local [all...] |
H A D | llrint.c | 58 } xx, yy; local 61 xx.d = x; 62 hx = xx.i[HIWORD] & ~0x80000000; 67 yy.i[HIWORD] = (xx.i[HIWORD] & 0x80000000) | 0x43300000; 69 yy.i[HIWORD] = (xx.i[HIWORD] & 0x80000000) | 0x43e00000;
|
H A D | llrintf.c | 48 } xx, yy; local 51 xx.f = x; 52 hx = xx.i & ~0x80000000; 57 yy.i = (xx.i & 0x80000000) | 0x4b000000; 60 yy.i = (xx.i & 0x80000000) | 0x5f000000;
|
H A D | llround.c | 52 } xx; local 55 xx.d = x; 56 hx = xx.i[HIWORD] & ~0x80000000; 57 sx = xx.i[HIWORD] & 0x80000000; 70 xx.i[HIWORD] = (xx.i[HIWORD] + i) & ~(i | (i - 1)); 71 xx.i[LOWORD] = 0; 74 xx.i[LOWORD] += i; 75 if (xx.i[LOWORD] < i) 76 xx [all...] |
H A D | llroundf.c | 43 } xx; local 46 xx.f = x; 47 hx = xx.i & ~0x80000000; 48 sx = xx.i & 0x80000000; 60 xx.i = (xx.i + i) & ~((i << 1) - 1); 66 return ((long) xx.f);
|
H A D | lrint.c | 56 } xx, yy; local 59 xx.d = x; 60 hx = xx.i[HIWORD] & ~0x80000000; 64 yy.i[HIWORD] = (xx.i[HIWORD] & 0x80000000) | 0x43300000; 66 yy.i[HIWORD] = (xx.i[HIWORD] & 0x80000000) | 0x43e00000;
|
H A D | lrintf.c | 46 } xx, yy; local 49 xx.f = x; 50 hx = xx.i & ~0x80000000; 54 yy.i = (xx.i & 0x80000000) | 0x4b000000; 57 yy.i = (xx.i & 0x80000000) | 0x5f000000;
|
H A D | lround.c | 49 } xx; local 52 xx.d = x; 53 hx = xx.i[HIWORD] & ~0x80000000; 54 sx = xx.i[HIWORD] & 0x80000000; 65 xx.i[HIWORD] = (xx.i[HIWORD] + i) & ~(i | (i - 1)); 66 xx.i[LOWORD] = 0; 69 xx.i[LOWORD] += i; 70 if (xx.i[LOWORD] < i) 71 xx [all...] |
H A D | lroundf.c | 41 } xx; local 44 xx.f = x; 45 hx = xx.i & ~0x80000000; 46 sx = xx.i & 0x80000000; 56 xx.i = (xx.i + i) & ~((i << 1) - 1); 57 return ((long) xx.f);
|
H A D | nearbyintf.c | 40 } xx; local 44 xx.f = x; 45 sx = xx.i & 0x80000000; 46 hx = xx.i & ~0x80000000; 66 xx.i = sx | 0x3f800000; 68 xx.i = sx; 69 return (xx.f); 81 xx.i = sx | (hx + i); 83 xx.i = sx | hx; 84 return (xx [all...] |
H A D | round.c | 39 } xx; local 42 xx.d = x; 43 hx = xx.i[HIWORD] & ~0x80000000; 44 sx = xx.i[HIWORD] & 0x80000000; 55 xx.i[HIWORD] = (xx.i[HIWORD] + i) & ~(i | (i - 1)); 56 xx.i[LOWORD] = 0; 59 xx.i[LOWORD] += i; 60 if (xx.i[LOWORD] < i) 61 xx [all...] |
H A D | roundf.c | 39 } xx; local 42 xx.f = x; 43 hx = xx.i & ~0x80000000; 44 sx = xx.i & 0x80000000; 54 xx.i = (xx.i + i) & ~((i << 1) - 1); 55 return (xx.f);
|
H A D | trunc.c | 39 } xx; local 42 xx.d = x; 43 hx = xx.i[HIWORD] & ~0x80000000; 44 sx = xx.i[HIWORD] & 0x80000000; 52 xx.i[HIWORD] &= ~(i | (i - 1)); 53 xx.i[LOWORD] = 0; 56 xx.i[LOWORD] &= ~(i | (i - 1)); 58 return (xx.d);
|
H A D | truncf.c | 39 } xx; local 42 xx.f = x; 43 hx = xx.i & ~0x80000000; 44 sx = xx.i & 0x80000000; 51 xx.i &= ~((i << 1) - 1); 52 return (xx.f);
|
/illumos-gate/usr/src/lib/libc/i386/fp/ |
H A D | _D_cplx_div_ix.c | 69 } xx; local 71 xx.d = x; 72 return (((((xx.i[1] << 1) - 0xffe00000) | xx.i[0]) == 0)? 73 (1 | (xx.i[1] >> 31)) : 0);
|
H A D | _D_cplx_div_rx.c | 69 } xx; local 71 xx.d = x; 72 return (((((xx.i[1] << 1) - 0xffe00000) | xx.i[0]) == 0)? 73 (1 | (xx.i[1] >> 31)) : 0);
|