Searched defs:xm (Results 1 - 14 of 14) sorted by relevance

/osnet-11/usr/src/lib/libc/sparc/fp/
H A D_Q_cmp.c42 unsigned int xm, ym, fsr; local
61 xm = x->l.msw;
63 xm &= 0x7fffffff;
68 if ((xm ^ ym) & 0x80000000) /* x and y have opposite signs */
71 if (xm & 0x80000000) {
72 if (xm > ym)
74 if (xm < ym)
90 if (xm < ym)
92 if (xm > ym)
H A D_Q_cmpe.c42 unsigned int xm, ym, fsr; local
58 xm = x->l.msw;
60 xm &= 0x7fffffff;
65 if ((xm ^ ym) & 0x80000000) /* x and y have opposite signs */
68 if (xm & 0x80000000) {
69 if (xm > ym)
71 if (xm < ym)
87 if (xm < ym)
89 if (xm > ym)
H A D_Q_qtoi.c41 unsigned int xm, fsr; local
44 xm = x->l.msw & 0x7fffffff;
49 if (xm >= 0x401e0000) {
74 if (xm < 0x3fff0000) {
76 if (xm | x->l.frac2 | x->l.frac3 | x->l.frac4) {
89 i = (int) (0x40000000 | ((xm & 0xffff) << 14) | (x->l.frac2 >> 18));
90 round = i & ((1 << (0x401d - (xm >> 16))) - 1);
91 i >>= (0x401d - (xm >> 16));
H A D_Q_qtou.c42 unsigned int xm, fsr; local
45 xm = x->l.msw & 0x7fffffff;
50 if (xm >= 0x401e0000) {
52 i = 0x80000000 | ((xm & 0xffff) << 15) |
58 if (xm & 0xffff ||
60 z.l.msw = xm & 0xffff;
80 xm = 0x401e;
89 xm--;
91 z.l.msw |= (xm << 16);
126 if (xm <
[all...]
H A D_Q_qtod.c42 unsigned int xm, round, sticky, fsr, rm; local
45 xm = x->l.msw & 0x7fffffff;
55 if (xm >= 0x43ff0000) {
56 if (xm >= 0x7fff0000) {
57 if ((xm & 0xffff) | x->l.frac2 | x->l.frac3 |
61 u.l.hi |= ((xm & 0x7fff) << 4) |
65 if (!(xm & 0x8000)) {
102 if (xm < 0x3c010000) {
103 if (xm < 0x3bcc0000) {
124 u.l.hi = 0x80000 | ((xm
[all...]
H A D_Q_add.c53 unsigned int xm, ym, tm, fsr; local
56 xm = ox->l.msw & 0x7fffffff;
58 if (ym > xm || ym == xm && (oy->l.frac2 > ox->l.frac2 ||
63 tm = xm;
64 xm = ym;
75 if (xm >= 0x7fff0000) {
88 Z = (xm & 0x8000)? *y : *oy;
100 if (!((xm & 0xffff) | x->l.frac2 | x->l.frac3 |
122 if ((xm
[all...]
H A D_Q_fcc.c109 unsigned int xm, ym, fsr; local
125 xm = x->l.msw;
127 xm &= 0x7fffffff;
132 if ((xm ^ ym) & 0x80000000) /* x and y have opposite signs */
135 if (xm & 0x80000000) {
136 return (xm > ym || xm == ym && (x->l.frac2 > y->l.frac2 ||
140 return (xm < ym || xm == ym && (x->l.frac2 < y->l.frac2 ||
152 unsigned int xm, y local
196 unsigned int xm, ym, fsr; local
239 unsigned int xm, ym, fsr; local
[all...]
H A D_Q_qtos.c45 unsigned int xm, round, sticky, fsr, rm; local
48 xm = x->l.msw & 0x7fffffff;
58 if (xm >= 0x407f0000) {
59 if (xm >= 0x7fff0000) {
60 if ((xm & 0xffff) | x->l.frac2 | x->l.frac3 |
64 u.l |= ((xm & 0x7fff) << 7) |
66 if (!(xm & 0x8000)) {
99 if (xm < 0x3f810000) {
100 if (xm < 0x3f690000) {
120 u.l = 0x800000 | ((xm
[all...]
H A D_Q_sub.c53 unsigned int xm, ym, tm, fsr; local
57 xm = ox->l.msw & 0x7fffffff;
59 if (ym > xm || ym == xm && (oy->l.frac2 > ox->l.frac2 ||
64 tm = xm;
65 xm = ym;
78 if (xm >= 0x7fff0000) {
91 Z = (xm & 0x8000)? *y : *oy;
103 if (!((xm & 0xffff) | x->l.frac2 | x->l.frac3 |
126 if ((xm
[all...]
H A D_Q_div.c108 unsigned int xm, ym, fsr, lx, ly, wx[3], wy[3]; local
112 xm = x->l.msw & 0x7fffffff;
119 if (xm >= 0x7fff0000 || ym >= 0x7fff0000) {
167 if (xm == 0x7fff0000) {
195 if (xm == 0 || ym == 0) {
234 ex = (int)(xm >> 16);
235 lx = xm & 0xffff;
H A D_Q_mul.c90 unsigned int xm, ym, fsr, lx, ly, wx[3], wy[3]; local
94 xm = x->l.msw & 0x7fffffff;
101 if (xm >= 0x7fff0000 || ym >= 0x7fff0000) {
149 if (xm == 0x7fff0000) {
190 if (xm == 0 || ym == 0) {
202 ex = (int)(xm >> 16);
203 lx = xm & 0xffff;
H A D_Q_sqrt.c99 unsigned int xm, fsr, lx, wx[3]; local
108 xm = x->l.msw;
113 if ((xm & 0x7fffffff) >= 0x7fff0000) {
150 if (xm & 0x80000000) {
166 ex = (int)(xm >> 16);
167 lx = xm & 0xffff;
/osnet-11/usr/src/lib/libc/sparcv9/fp/
H A D_Qp_qtoux.c39 unsigned int xm, fsr; local
41 xm = x->l.msw & 0x7fffffff;
46 if (xm >= 0x403e0000) {
49 ((long) (xm & 0xffff) << 47) |
55 if (xm & 0xffff ||
57 z.l.msw = xm & 0xffff;
77 xm = 0x403e;
86 xm--;
88 z.l.msw |= (xm << 16);
124 if (xm <
[all...]
H A D_Qp_qtox.c38 unsigned int xm, fsr; local
40 xm = x->l.msw & 0x7fffffff;
45 if (xm >= 0x403e0000) {
72 if (xm < 0x3fff0000) {
74 if (xm | x->l.frac2 | x->l.frac3 | x->l.frac4) {
87 i = 0x4000000000000000l | ((long) (xm & 0xffff) << 46) |
89 round = i & ((1l << (0x403d - (xm >> 16))) - 1);
90 i >>= (0x403d - (xm >> 16));

Completed in 68 milliseconds