Searched refs:msw (Results 1 - 25 of 32) sorted by relevance

12

/osnet-11/usr/src/lib/libc/sparc/fp/
H A D_Q_ulltoq.c42 Z.l.msw = Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0;
51 Z.l.msw = (x >> (e - 16)) & 0xffff;
55 Z.l.msw = (x >> (e - 16)) & 0xffff;
59 Z.l.msw = (x << (16 - e)) & 0xffff;
63 Z.l.msw |= ((e + 0x3fff) << 16);
H A D_Q_utoq.c57 Z.l.msw = Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0;
66 Z.l.msw = ((unsigned) x >> (e - 16)) & 0xffff;
69 Z.l.msw = ((unsigned) x << (16 - e)) & 0xffff;
73 Z.l.msw |= ((e + 0x3fff) << 16);
H A D_Q_neg.c54 Z.l.msw = x->l.msw ^ 0x80000000;
H A D_Q_lltoq.c45 Z.l.msw = 0xc03e0000;
52 Z.l.msw = Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0;
61 Z.l.msw = ((unsigned long long) x >> (e - 16)) & 0xffff;
65 Z.l.msw = ((unsigned long long) x >> (e - 16)) & 0xffff;
69 Z.l.msw = ((unsigned long long) x << (16 - e)) & 0xffff;
73 Z.l.msw |= s | ((e + 0x3fff) << 16);
H A D_Q_qtou.c45 xm = x->l.msw & 0x7fffffff;
51 if (x->l.msw < 0x401f0000) {
60 z.l.msw = xm & 0xffff;
66 z.l.msw = x->l.frac2;
72 z.l.msw = x->l.frac3;
76 z.l.msw = x->l.frac4;
81 while ((z.l.msw & 0x10000) == 0) {
82 z.l.msw = (z.l.msw << 1) |
91 z.l.msw |
[all...]
H A D_Q_sub.c57 xm = ox->l.msw & 0x7fffffff;
58 ym = oy->l.msw & 0x7fffffff;
92 Z.l.msw |= 0x8000;
106 if (!((x->l.msw ^ y->l.msw) & 0x80000000)) {
111 Z.l.msw = 0x7fffffff;
122 Z.l.msw ^= flip;
134 Z.l.msw |= 0x8000;
146 Z.l.msw ^= flip;
152 z.l.msw
[all...]
H A D_Q_itoq.c60 Z.l.msw = 0xc01e0000;
67 Z.l.msw = Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0;
76 Z.l.msw = ((unsigned) x >> (e - 16)) & 0xffff;
79 Z.l.msw = ((unsigned) x << (16 - e)) & 0xffff;
83 Z.l.msw |= s | ((e + 0x3fff) << 16);
H A D_Q_add.c56 xm = ox->l.msw & 0x7fffffff;
57 ym = oy->l.msw & 0x7fffffff;
89 Z.l.msw |= 0x8000;
103 if ((x->l.msw ^ y->l.msw) & 0x80000000) {
108 Z.l.msw = 0x7fffffff;
130 Z.l.msw |= 0x8000;
147 z.l.msw = (x->l.msw & 0x80000000);
148 if ((x->l.msw
[all...]
H A D_Q_mul.c91 unsigned int msw, frac2, frac3, frac4, rm; local
94 xm = x->l.msw & 0x7fffffff;
95 ym = y->l.msw & 0x7fffffff;
96 sign = (x->l.msw ^ y->l.msw) & ~0x7fffffff;
104 if (!(y->l.msw & 0x8000)) {
110 Z.l.msw |= 0x8000;
116 } else if (QUAD_ISNAN(*x) && !(x->l.msw & 0x8000)) {
122 Z.l.msw |= 0x8000;
133 if (!(x->l.msw
[all...]
H A D_Q_qtos.c48 xm = x->l.msw & 0x7fffffff;
54 if (x->l.msw & 0x80000000)
63 u.l = (x->l.msw & 0x80000000) | 0x7fc00000;
79 u.l = (x->l.msw & 0x80000000) | 0x7f800000;
87 u.l |= (x->l.msw & 0x80000000);
102 u.l = (x->l.msw & 0x80000000);
107 u.l |= (x->l.msw & 0x80000000);
155 u.l |= (x->l.msw & 0x80000000);
H A D_Q_fcc.c51 if ((QUAD_ISNAN(*x) && !(x->l.msw & 0x8000)) ||
52 (QUAD_ISNAN(*y) && !(y->l.msw & 0x8000))) {
67 return ((x->l.msw ^ y->l.msw | x->l.frac2 ^ y->l.frac2 |
82 if ((QUAD_ISNAN(*x) && !(x->l.msw & 0x8000)) ||
83 (QUAD_ISNAN(*y) && !(y->l.msw & 0x8000))) {
98 return ((x->l.msw ^ y->l.msw | x->l.frac2 ^ y->l.frac2 |
125 xm = x->l.msw;
128 ym = y->l.msw;
[all...]
H A D_Q_qtoi.c44 xm = x->l.msw & 0x7fffffff;
50 if (x->l.msw == 0xc01e0000 && (x->l.frac2 & 0xfffe0000) == 0) {
65 i = ((x->l.msw & 0x80000000)? 0x80000000 : 0x7fffffff);
92 if (x->l.msw & 0x80000000)
H A Dquad.h85 * in struct longdouble, msw implicitly consists of
94 unsigned int msw; member in struct:longdouble::__anon1475
104 (((x).l.msw & 0x7fff0000) == 0x7fff0000 && \
105 (((x).l.msw & 0xffff) | (x).l.frac2 | (x).l.frac3 | (x).l.frac4))
108 (!(((x).l.msw & 0x7fffffff) | (x).l.frac2 | (x).l.frac3 | (x).l.frac4))
H A D__quad_mag.c53 ex = (x->l.msw & 0x7fffffff) >> 16;
54 lx = x->l.msw & 0xffff;
60 ey = (y->l.msw & 0x7fffffff) >> 16;
61 ly = y->l.msw & 0xffff;
149 if (z->l.msw)
174 z->l.msw |= 0x7fff0000;
177 z->l.msw |= 0x7ffeffff;
183 z->l.msw |= (ex << 16);
184 z->l.msw |= (lx & 0xffff);
213 ex = (x->l.msw
[all...]
H A D_Q_sqrt.c100 unsigned int msw, frac2, frac3, frac4, rm; local
108 xm = x->l.msw;
114 if ((x->l.msw & 0xffff) | x->l.frac2 | x->l.frac3 |
116 if (!(x->l.msw & 0x8000)) {
122 Z.l.msw |= 0x8000;
132 if (x->l.msw & 0x80000000) {
137 Z.l.msw = 0x7fffffff;
154 Z.l.msw = 0x7fffffff;
302 msw = u.l.lo;
343 if (++msw
[all...]
/osnet-11/usr/src/lib/libc/sparcv9/fp/
H A D_Qp_uxtoq.c41 Z.l.msw = Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0;
50 Z.l.msw = (x >> (e - 16)) & 0xffff;
54 Z.l.msw = (x >> (e - 16)) & 0xffff;
58 Z.l.msw = (x << (16 - e)) & 0xffff;
62 Z.l.msw |= ((e + 0x3fff) << 16);
H A D_Qp_xtoq.c44 Z.l.msw = 0xc03e0000;
51 Z.l.msw = Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0;
60 Z.l.msw = ((unsigned long) x >> (e - 16)) & 0xffff;
64 Z.l.msw = ((unsigned long) x >> (e - 16)) & 0xffff;
68 Z.l.msw = ((unsigned long) x << (16 - e)) & 0xffff;
72 Z.l.msw |= s | ((e + 0x3fff) << 16);
H A D_Qp_qtoux.c41 xm = x->l.msw & 0x7fffffff;
47 if (x->l.msw < 0x403f0000) {
57 z.l.msw = xm & 0xffff;
63 z.l.msw = x->l.frac2;
69 z.l.msw = x->l.frac3;
73 z.l.msw = x->l.frac4;
78 while ((z.l.msw & 0x10000) == 0) {
79 z.l.msw = (z.l.msw << 1) |
88 z.l.msw |
[all...]
H A D_Qp_qtox.c40 xm = x->l.msw & 0x7fffffff;
46 if (x->l.msw == 0xc03e0000 && x->l.frac2 == 0 &&
62 i = ((x->l.msw & 0x80000000)? 0x8000000000000000ul :
91 if (x->l.msw & 0x80000000)
/osnet-11/usr/src/lib/libc/port/fp/
H A Dpack_float.c108 unsigned msw; /* msw before increment */ local
134 msw = pu->significand[0]; /* save msw before round */
141 if (pu->significand[0] < msw) { /* rounding carried out */
161 kluge.f.msw.sign = pu->sign;
164 kluge.f.msw.exponent = 0;
165 kluge.f.msw.significand = 0;
169 kluge.f.msw.exponent = 0xff;
170 kluge.f.msw
[all...]
H A D_base_sup.c100 if (kluge.f.msw.exponent == 0) { /* 0 or sub */
101 if ((kluge.f.msw.significand == 0) &&
108 } else if (kluge.f.msw.exponent == 0x7fff) { /* inf or nan */
109 if ((kluge.f.msw.significand == 0) &&
114 else if ((kluge.f.msw.significand & 0xffff) >=
H A Dhex_bin.c122 kluge.f.msw.sign = pd->sign? 1 : 0;
123 kluge.f.msw.exponent = 0;
124 kluge.f.msw.significand = 0;
143 kluge.f.msw.sign = pd->sign? 1 : 0;
144 kluge.f.msw.exponent = 0;
145 kluge.f.msw.significand = 0;
167 kluge.f.msw.sign = pd->sign? 1 : 0;
168 kluge.f.msw.exponent = 0;
169 kluge.f.msw.significand = 0;
193 kluge.f.msw
[all...]
H A Ddecimal_bin.c507 kluge->f.msw.sign = (pd->sign)? 1 : 0;
508 kluge->f.msw.exponent = 0;
509 kluge->f.msw.significand = 0;
514 kluge->f.msw.sign = (pd->sign)? 1 : 0;
515 kluge->f.msw.exponent = 0xff;
516 kluge->f.msw.significand = 0;
521 kluge->f.msw.sign = (pd->sign)? 1 : 0;
522 kluge->f.msw.exponent = 0xff;
523 kluge->f.msw.significand = 0x7fffff;
528 kluge->f.msw
[all...]
H A Ddouble_decim.c456 pf->bexponent = x->f.msw.exponent - DOUBLE_BIAS - 52;
460 pf->bsignificand[2] = x->f.msw.significand & 0xffff;
461 pf->bsignificand[3] = x->f.msw.significand >> 16;
462 if (x->f.msw.exponent == 0) {
482 pf->bexponent = x->f.msw.exponent - EXTENDED_BIAS - 63;
488 if (x->f.msw.exponent == 0) {
506 pf->bexponent = x->f.msw.exponent - QUAD_BIAS - 112;
513 pf->bsignificand[6] = x->f.msw.significand;
514 if (x->f.msw.exponent == 0) {
538 pd->sign = kluge->f.msw
[all...]
/osnet-11/usr/src/lib/libc/inc/
H A Dbase_conversion.h101 single_msw msw; member in struct:__anon1303
106 double_msw msw; member in struct:__anon1304
112 extended_msw msw; member in struct:__anon1305
119 quadruple_msw msw; member in struct:__anon1306
149 single_msw msw; member in struct:__anon1311
153 double_msw msw; member in struct:__anon1312
158 extended_msw msw; member in struct:__anon1313
164 quadruple_msw msw; member in struct:__anon1314

Completed in 46 milliseconds

12