Home
last modified time | relevance | path

Searched refs:LOWORD (Results 1 – 25 of 64) sorted by relevance

123

/titanic_41/usr/src/lib/libm/common/m9x/
H A Dnearbyint.c67 } else if ((hx | xx.i[LOWORD]) == 0) /* x is zero */ in __nearbyint()
80 (hx >= 0x3fe00000 && ((hx & 0xfffff) | xx.i[LOWORD])))) in __nearbyint()
84 xx.i[LOWORD] = 0; in __nearbyint()
93 (xx.i[LOWORD] >> (j - 32)); in __nearbyint()
94 if (xx.i[LOWORD] & (i - 1)) in __nearbyint()
98 xx.i[LOWORD] = 0; in __nearbyint()
106 frac = (xx.i[LOWORD] << 1) << (31 - j); in __nearbyint()
109 xx.i[LOWORD] &= ~(i - 1); in __nearbyint()
112 (xx.i[LOWORD] & i))))) { in __nearbyint()
113 xx.i[LOWORD] += i; in __nearbyint()
[all …]
H A Dmodf.c61 xx.i[LOWORD] == 0)) { in __modf()
63 xx.i[LOWORD] = 0; in __modf()
70 xx.i[LOWORD] = 0; in __modf()
80 yy.i[LOWORD] = 0; in __modf()
83 yy.i[LOWORD] = xx.i[LOWORD] & ~((1 << (0x433 - (hx >> 20))) - in __modf()
H A Dlround.c66 xx.i[LOWORD] = 0; in lround()
69 xx.i[LOWORD] += i; in lround()
70 if (xx.i[LOWORD] < i) in lround()
72 xx.i[LOWORD] &= ~(i | (i - 1)); in lround()
H A Dllround.c71 xx.i[LOWORD] = 0; in llround()
74 xx.i[LOWORD] += i; in llround()
75 if (xx.i[LOWORD] < i) in llround()
77 xx.i[LOWORD] &= ~(i | (i - 1)); in llround()
H A Dround.c56 xx.i[LOWORD] = 0; in round()
59 xx.i[LOWORD] += i; in round()
60 if (xx.i[LOWORD] < i) in round()
62 xx.i[LOWORD] &= ~(i | (i - 1)); in round()
H A Dfrexp.c68 if ((hx | xx.i[LOWORD]) == 0) { in __frexp()
87 yy.i[LOWORD] = xx.i[LOWORD]; in __frexp()
90 yy.i[LOWORD] = 0; in __frexp()
H A Dscalbln.c45 unsigned v = px[HIWORD] & ~0x80000000, w = px[LOWORD], t = v; in ilogb_biased()
67 px[LOWORD] = w; in ilogb_biased()
85 if ((px[LOWORD] | ix) == 0 || n == 0) in scalbln()
H A Dldexp.c39 if (ix >= 0x7ff00000 || (px[LOWORD] | ix) == 0) in ldexp()
52 if (ix >= 0x7ff00000 || (px[LOWORD] | ix) == 0) in ldexp()
H A Dtrunc.c53 xx.i[LOWORD] = 0; in trunc()
56 xx.i[LOWORD] &= ~(i | (i - 1)); in trunc()
/titanic_41/usr/src/lib/libm/common/complex/
H A Dk_clog_r.c230 ((int *)&zk)[LOWORD] = 0; in k_log_NKz()
234 ((int *)&s2h)[LOWORD] &= 0xe0000000; in k_log_NKz()
255 lx = ((unsigned *)&x)[LOWORD]; in __k_clog_r()
257 ly = ((unsigned *)&y)[LOWORD]; in __k_clog_r()
282 ((unsigned *)&wh)[LOWORD] = ly & 0xf8000000; in __k_clog_r()
297 lx = ((unsigned *)&x)[LOWORD]; in __k_clog_r()
299 ly = ((unsigned *)&y)[LOWORD]; in __k_clog_r()
309 ly = ((unsigned *)&y)[LOWORD]; in __k_clog_r()
323 ((int *)&zk)[LOWORD] = 0; /* zk matches 7.5 bits of x */ in __k_clog_r()
345 ((unsigned *)&wh)[LOWORD] = (j << 27); in __k_clog_r()
[all …]
H A Dcabs.c61 lx = ((int *)&x)[LOWORD]; in cabs()
63 ly = ((int *)&y)[LOWORD]; in cabs()
162 ((int *)&xh)[LOWORD] = 0; in cabs()
168 ((int *)&xh)[LOWORD] = 0; in cabs()
170 ((int *)&yh)[LOWORD] = 0; in cabs()
H A Dcpow.c164 lx = ((int *) &x)[LOWORD]; in cpow()
166 ly = ((int *) &y)[LOWORD]; in cpow()
168 lu = ((int *) &u)[LOWORD]; in cpow()
170 lv = ((int *) &v)[LOWORD]; in cpow()
264 ((int *) &u1)[LOWORD] &= 0xf8000000; in cpow()
265 ((int *) &v1)[LOWORD] &= 0xf8000000; in cpow()
266 ((int *) &x1)[LOWORD] &= 0xf8000000; in cpow()
267 ((int *) &y1)[LOWORD] &= 0xf8000000; in cpow()
313 lx = ((int *) &w1)[LOWORD]; in cpow()
H A Dcomplex_wrapper.h66 #define LOWORD 1 macro
72 #define LOWORD 0 macro
81 #define LO_WORD(x) ((int *) &x)[LOWORD] /* for double */
H A Dk_atan2.c409 ((int *) &y)[LOWORD] = 0; in mx_atan()
462 ly = ((int *) &y)[LOWORD]; in __k_atan2()
466 lx = ((int *) &x)[LOWORD]; in __k_atan2()
514 ((int *) &th)[LOWORD] &= 0xf8000000; in __k_atan2()
516 ((int *) &xh)[LOWORD] &= 0xf8000000; in __k_atan2()
534 ((int *) &th)[LOWORD] &= 0xf8000000; in __k_atan2()
536 ((int *) &xh)[LOWORD] &= 0xf8000000; in __k_atan2()
H A Dcarg.c44 if ((((ix | iy) & ~0x80000000) | ((int *)&(D_RE(z)))[LOWORD] | in carg()
45 ((int *)&(D_IM(z)))[LOWORD]) == 0) { in carg()
/titanic_41/usr/src/lib/libm/common/C/
H A Dnextafter.c43 lx = ((int *)&x)[LOWORD]; in nextafter()
54 ((int *)&ans)[LOWORD] = 1; in nextafter()
57 ((int *)&ans)[LOWORD] = lx - 1; in nextafter()
61 ((int *)&ans)[LOWORD] = lx + 1; in nextafter()
67 ((int *)&ans)[LOWORD] = lx - 1; in nextafter()
71 ((int *)&ans)[LOWORD] = lx + 1; in nextafter()
H A Datan2.c424 if (hy > hx || (hy == hx && ((unsigned *)&oy)[LOWORD] > in atan2()
425 ((unsigned *)&ox)[LOWORD])) { in atan2()
453 if (((hx ^ 0x7ff00000) | ((int *)&x)[LOWORD]) != 0) in atan2()
472 if ((hy | ((int *)&y)[LOWORD]) == 0) { in atan2()
473 if ((hx | ((int *)&x)[LOWORD]) == 0) in atan2()
494 ((int *)&xh)[LOWORD] = 0; in atan2()
H A Dhypot.c85 lx = ((int *) &x)[LOWORD]; in hypot()
87 ly = ((int *) &y)[LOWORD]; in hypot()
187 ((int *) &xh)[LOWORD] = 0; in hypot()
193 ((int *) &xh)[LOWORD] = 0; in hypot()
195 ((int *) &yh)[LOWORD] = 0; in hypot()
H A D__tan.c151 ((int *) &rh)[LOWORD] = 0; in __k_tan()
153 ((int *) &xh)[LOWORD] = 0; in __k_tan()
188 ((int *) &rh)[LOWORD] = 0; in __k_tan()
190 ((int *) &xh)[LOWORD] = 0; in __k_tan()
H A Dremainder.c56 if (hp > 0x7ff00000 || (hp == 0x7ff00000 && ((int *)&p)[LOWORD] != 0)) in remainder()
58 if (hx > 0x7ff00000 || (hx == 0x7ff00000 && ((int *)&x)[LOWORD] != 0)) in remainder()
61 if ((hp | ((int *)&p)[LOWORD]) == 0 || hx == 0x7ff00000) in remainder()
H A Dpow.c104 if (((ix - 0x3ff00000) | px[LOWORD]) == 0) { in log2_x()
133 pz[LOWORD] = 0; in log2_x()
170 lx = ((unsigned *) &x)[LOWORD]; in pow()
172 ly = ((unsigned *) &y)[LOWORD]; in pow()
303 if (!(j == 0x40900000 && pz[LOWORD] == 0)) /* z > 1024 */ in pow()
314 if (!(j == 0xc090cc00 && pz[LOWORD] == 0)) /* z < -1075 */ in pow()
H A Dscalbn.c48 unsigned v = px[HIWORD] & ~0x80000000, w = px[LOWORD], t = v; in ilogb_biased()
70 px[LOWORD] = w; in ilogb_biased()
88 if ((hx | px[LOWORD]) == 0 || n == 0) in scalbn()
H A Dlibm_macros.h37 #define LOWORD 1 macro
47 #define LOWORD 0 macro
/titanic_41/usr/src/lib/libm/common/Q/
H A Dsqrtl.c50 #define LOWORD 0 macro
77 #define LOWORD 1 macro
191 u.l[LOWORD] = 0; in __q_unpack()
193 u.l[LOWORD] = lx; in __q_unpack()
197 u.l[LOWORD] = 0; in __q_unpack()
199 u.l[LOWORD] = w[0] & 0xffffff00; in __q_unpack()
203 u.l[LOWORD] = 0; in __q_unpack()
206 u.l[LOWORD] = w[1] & 0xffff0000; in __q_unpack()
210 u.l[LOWORD] = 0; in __q_unpack()
213 u.l[LOWORD] = w[2] & 0xff000000; in __q_unpack()
[all …]
/titanic_41/usr/src/lib/libmvec/common/
H A D__vlog.c66 #define LOWORD 0 macro
71 #define LOWORD 1 macro
622 w##N.i[LOWORD] = 0; \
644 if (((i##N << 1) | z##N.i[LOWORD]) == 0) { \
672 w0.i[LOWORD] = 0; in __vlog()
673 w1.i[LOWORD] = 0; in __vlog()
674 w2.i[LOWORD] = 0; in __vlog()
675 w3.i[LOWORD] = 0; in __vlog()

123