Home
last modified time | relevance | path

Searched refs:ym (Results 1 – 7 of 7) sorted by relevance

/titanic_44/usr/src/lib/libc/sparc/fp/
H A D_Q_fcc.c109 unsigned int xm, ym, fsr; in _Q_flt() local
128 ym = y->l.msw; in _Q_flt()
130 ym &= 0x7fffffff; in _Q_flt()
132 if ((xm ^ ym) & 0x80000000) /* x and y have opposite signs */ in _Q_flt()
133 return ((ym & 0x80000000) == 0); in _Q_flt()
136 return (xm > ym || xm == ym && (x->l.frac2 > y->l.frac2 || in _Q_flt()
140 return (xm < ym || xm == ym && (x->l.frac2 < y->l.frac2 || in _Q_flt()
152 unsigned int xm, ym, fsr; in _Q_fle() local
172 ym = y->l.msw; in _Q_fle()
174 ym &= 0x7fffffff; in _Q_fle()
[all …]
H A D_Q_cmpe.c42 unsigned int xm, ym, fsr; in _Q_cmpe() local
61 ym = y->l.msw; in _Q_cmpe()
63 ym &= 0x7fffffff; in _Q_cmpe()
65 if ((xm ^ ym) & 0x80000000) /* x and y have opposite signs */ in _Q_cmpe()
66 return ((ym & 0x80000000)? fcc_greater : fcc_less); in _Q_cmpe()
69 if (xm > ym) in _Q_cmpe()
71 if (xm < ym) in _Q_cmpe()
87 if (xm < ym) in _Q_cmpe()
89 if (xm > ym) in _Q_cmpe()
H A D_Q_cmp.c42 unsigned int xm, ym, fsr; in _Q_cmp() local
64 ym = y->l.msw; in _Q_cmp()
66 ym &= 0x7fffffff; in _Q_cmp()
68 if ((xm ^ ym) & 0x80000000) /* x and y have opposite signs */ in _Q_cmp()
69 return ((ym & 0x80000000)? fcc_greater : fcc_less); in _Q_cmp()
72 if (xm > ym) in _Q_cmp()
74 if (xm < ym) in _Q_cmp()
90 if (xm < ym) in _Q_cmp()
92 if (xm > ym) in _Q_cmp()
H A D_Q_add.c53 unsigned int xm, ym, tm, fsr; in _Qp_add() local
57 ym = oy->l.msw & 0x7fffffff; in _Qp_add()
58 if (ym > xm || ym == xm && (oy->l.frac2 > ox->l.frac2 || in _Qp_add()
64 xm = ym; in _Qp_add()
65 ym = tm; in _Qp_add()
77 if (ym >= 0x7fff0000) { in _Qp_add()
79 if ((ym & 0xffff) | y->l.frac2 | y->l.frac3 | in _Qp_add()
83 if (!(ym & 0x8000)) { in _Qp_add()
H A D_Q_sub.c53 unsigned int xm, ym, tm, fsr; in _Qp_sub() local
58 ym = oy->l.msw & 0x7fffffff; in _Qp_sub()
59 if (ym > xm || ym == xm && (oy->l.frac2 > ox->l.frac2 || in _Qp_sub()
65 xm = ym; in _Qp_sub()
66 ym = tm; in _Qp_sub()
80 if (ym >= 0x7fff0000) { in _Qp_sub()
82 if ((ym & 0xffff) | y->l.frac2 | y->l.frac3 | in _Qp_sub()
86 if (!(ym & 0x8000)) { in _Qp_sub()
H A D_Q_mul.c90 unsigned int xm, ym, fsr, lx, ly, wx[3], wy[3]; in _Qp_mul() local
95 ym = y->l.msw & 0x7fffffff; in _Qp_mul()
101 if (xm >= 0x7fff0000 || ym >= 0x7fff0000) { in _Qp_mul()
190 if (xm == 0 || ym == 0) { in _Qp_mul()
241 ey = (int)(ym >> 16); in _Qp_mul()
242 ly = ym & 0xffff; in _Qp_mul()
H A D_Q_div.c108 unsigned int xm, ym, fsr, lx, ly, wx[3], wy[3]; in _Qp_div() local
113 ym = y->l.msw & 0x7fffffff; in _Qp_div()
119 if (xm >= 0x7fff0000 || ym >= 0x7fff0000) { in _Qp_div()
169 if (ym == 0x7fff0000) { in _Qp_div()
195 if (xm == 0 || ym == 0) { in _Qp_div()
273 ey = (int)(ym >> 16); in _Qp_div()
274 ly = ym & 0xffff; in _Qp_div()