Home
last modified time | relevance | path

Searched refs:iy (Results 1 – 25 of 58) sorted by relevance

123

/titanic_50/usr/src/lib/libm/common/R/
H A Dfmodf.c46 int hx, ix, iy, iz, k, ny, nd; in fmodf() local
50 iy = *(int *)&y & 0x7fffffff; in fmodf()
53 if (ix >= ii || iy > ii || iy == 0) { in fmodf()
56 } else if (ix <= iy) { in fmodf()
57 if (ix < iy) in fmodf()
69 ny = iy >> 23; in fmodf()
75 while (iy < iu) { in fmodf()
77 iy += iy; in fmodf()
92 iy = iu | (iy & im); in fmodf()
115 iz = ix - iy; in fmodf()
[all …]
H A Dhypotf.c38 int ix, iy; in hypotf() local
41 iy = (*(int *) &y) & 0x7fffffff; in hypotf()
44 *(int *) &w = x == y ? iy : ix; /* w = |x| = inf */ in hypotf()
45 else if (iy == 0x7f800000) in hypotf()
46 *(int *) &w = x == y ? ix : iy; /* w = |y| = inf */ in hypotf()
49 } else if (iy >= 0x7f800000) { in hypotf()
50 if (iy == 0x7f800000) in hypotf()
51 *(int *) &w = x == y ? ix : iy; /* w = |y| = inf */ in hypotf()
55 *(int *) &w = iy; /* w = |y| */ in hypotf()
56 else if (iy == 0) in hypotf()
H A Dnextafterf.c40 int ix, iy, iz; in nextafterf() local
43 iy = py[0]; in nextafterf()
46 if ((iy & ~0x80000000) > 0x7f800000) in nextafterf()
48 if (ix == iy || (ix | iy) == 0x80000000) in nextafterf()
51 iz = 1 | (iy & 0x80000000); in nextafterf()
53 if (ix > iy) in nextafterf()
58 if (iy < 0 && ix < iy) in nextafterf()
H A Dpowf.c130 int ix, iy, jx, jy, k, iw, yisint; in powf() local
133 iy = *(int *)&y; in powf()
135 jy = iy & ~0x80000000; in powf()
176 if (iy > 0) in powf()
181 if (iy < 0) in powf()
188 if (iy < 0) in powf()
191 } else if (iy == 0x40000000) { /* y is 2 */ in powf()
193 } else if (iy == 0x3f000000) { /* y is 0.5 */ in powf()
204 if (iy < 0) in powf()
H A Dscalbf.c35 int ix, iy, hx, hy, n; in scalbf() local
38 iy = *(int *)&y; in scalbf()
40 hy = iy & ~0x80000000; in scalbf()
44 return ((iy < 0)? x / -y : x * y); in scalbf()
50 n = (iy < 0)? -65000 : 65000; in scalbf()
H A Datan2pif.c35 int ix, iy, hx, hy; in atan2pif() local
38 iy = *(int *)&y; in atan2pif()
40 hy = iy & ~0x80000000; in atan2pif()
47 return ((iy == 0)? 1.0f : -1.0f); in atan2pif()
/titanic_50/usr/src/lib/libm/common/C/
H A Dfmod.c45 long long hx, ix, iy, iz; in fmod() local
50 iy = *(long long *)&y & ~0x8000000000000000ull; in fmod()
53 if (iy == 0ll) in fmod()
56 if (ix >= 0x7ff0000000000000ll || iy > 0x7ff0000000000000ll) in fmod()
59 if (ix <= iy) in fmod()
60 return ((ix < iy)? x : x * zero); in fmod()
69 ny = iy >> 52; in fmod()
74 while (iy < 0x0010000000000000ll) { in fmod()
76 iy += iy; in fmod()
92 iy = 0x0010000000000000ll | (iy & 0x000fffffffffffffll); in fmod()
[all …]
H A Dhypot.c81 int i, j, nx, ny, ix, iy, iscale = 0; in hypot() local
86 iy = ((int *) &y)[HIWORD] & ~0x80000000; in hypot()
91 if (iy > ix) { in hypot()
95 ix = iy; in hypot()
96 iy = i; in hypot()
105 ny = iy >> 20; in hypot()
114 else if (((iy - 0x7ff00000) | ly) == 0) in hypot()
130 iy -= 768 << 20; in hypot()
138 if ((iy | ly) == 0) in hypot()
154 iy = ((int *) &ay)[HIWORD]; in hypot()
[all …]
/titanic_50/usr/src/lib/libm/common/m9x/
H A Dremquof.c58 int hx, ix, iy, iz, k, ny, nd, m, sq; in fmodquof() local
62 iy = *(int *) &y; in fmodquof()
63 sq = (iy ^ hx) & is; /* sign of x/y */ in fmodquof()
64 iy &= 0x7fffffff; in fmodquof()
68 if (ix >= ii || iy > ii || iy == 0) { in fmodquof()
71 } else if (ix <= iy) { in fmodquof()
72 if (ix < iy) in fmodquof()
86 ny = iy >> 23; in fmodquof()
92 while (iy < iu) { in fmodquof()
94 iy += iy; in fmodquof()
[all …]
H A Dremquo.c61 int n, hx, hy, hz, ix, iy, sx, sq, i, m; in fmodquo() local
103 for (iy = -1043, i = ly; i > 0; i <<= 1) in fmodquo()
104 iy -= 1; in fmodquo()
106 for (iy = -1022, i = (hy << 11); i > 0; i <<= 1) in fmodquo()
107 iy -= 1; in fmodquo()
110 iy = (hy >> 20) - 1023; in fmodquo()
125 if (iy >= -1022) in fmodquo()
128 n = -1022 - iy; in fmodquo()
139 n = ix - iy; in fmodquo()
184 iy -= 1; in fmodquo()
[all …]
/titanic_50/usr/src/lib/libm/common/complex/
H A Dcatan.c95 int hx, hy, ix, iy; in catan() local
107 iy = hy & 0x7fffffff; in catan()
116 if ((iy | ly) == 0 || (ISINF(iy, ly))) in catan()
121 } else if (iy >= 0x7ff00000) { in catan()
123 if (ISINF(iy, ly)) { in catan()
144 if (((iy - 0x3ff00000) | ly) == 0) { in catan()
148 } else if (iy >= 0x3ff00000) { /* y>1 */ in catan()
155 } else if (iy < 0x3e200000 || ((ix - iy) >> 20) >= 30) { in catan()
177 if ((iy | ly) == 0) { in catan()
188 } else if (iy >= 0x41c00000 && ((iy - ix) >> 20) >= 30) { in catan()
[all …]
H A Dcabs.c54 int i, j, nx, ny, ix, iy, iscale = 0; in cabs() local
62 iy = ((int *)&y)[HIWORD] & ~0x80000000; in cabs()
66 if (iy > ix) { in cabs()
70 ix = iy; in cabs()
71 iy = i; in cabs()
80 ny = iy >> 20; in cabs()
89 else if (((iy - 0x7ff00000) | ly) == 0) in cabs()
104 iy -= 768 << 20; in cabs()
109 if ((iy | ly) == 0) in cabs()
126 iy = ((int *)&ay)[HIWORD]; in cabs()
[all …]
H A Dk_clog_r.c251 int n, k, ix, iy, iz, nx, ny, nz, i, j; in __k_clog_r() local
256 iy = (((int *)&y)[HIWORD]) & ~0x80000000; in __k_clog_r()
259 if (ix < iy || (ix == iy && lx < ly)) { /* force x >= y */ in __k_clog_r()
261 n = ix, ix = iy; iy = n; in __k_clog_r()
265 nx = ix >> 20; ny = iy >> 20; in __k_clog_r()
269 else if (ISINF(iy, ly)) in __k_clog_r()
281 ((int *)&wh)[HIWORD] = iy; in __k_clog_r()
298 iy = ((int *)&y)[HIWORD]; in __k_clog_r()
301 ny = (iy >> 20) - 120; in __k_clog_r()
308 iy = ((int *)&y)[HIWORD]; in __k_clog_r()
[all …]
H A Dclog.c74 int n, ix, iy, hx, hy; in __clog() local
84 iy = hy & 0x7fffffff; in __clog()
88 if (ix < iy || (ix == iy && lx < ly)) { in __clog()
93 n = ix, ix = iy; in __clog()
94 iy = n; in __clog()
98 n = (ix - iy) >> 20; in __clog()
102 else if (ISINF(iy, ly)) in __clog()
106 } else if ((iy | ly) == 0) { in __clog()
125 } else if (ix < 0x5f300000 && iy >= 0x20b00000) { in __clog()
H A Dcsqrt.c123 int n, ix, iy, hx, hy, lx, ly; in csqrt() local
132 iy = hy & 0x7fffffff; in csqrt()
135 if (ix >= 0x7ff00000 || iy >= 0x7ff00000) { in csqrt()
137 if (ISINF(iy, ly)) in csqrt()
149 } else if ((iy | ly) == 0) { /* y = 0 */ in csqrt()
157 } else if (ix >= iy) { in csqrt()
158 n = (ix - iy) >> 20; in csqrt()
165 } else if (iy < 0x20b00000) { /* y < 2**-500 */ in csqrt()
179 n = (iy - ix) >> 20; in csqrt()
183 else if (iy >= 0x7fe00000) in csqrt()
[all …]
H A Dclogl.c52 int n, ix, iy, hx, hy; in clogl() local
59 iy = hy & 0x7fffffff; in clogl()
63 if (ix < iy || (ix == iy && ix < 0x7fff0000 && ax < ay)) { in clogl()
68 n = ix, ix = iy; in clogl()
69 iy = n; in clogl()
71 n = (ix - iy) >> 16; in clogl()
97 else if (ix < 0x5f3f0000 && iy >= 0x20bf0000) in clogl()
H A Dcatanf.c50 int hx, hy, ix, iy; in catanf() local
59 iy = hy & 0x7fffffff; in catanf()
67 if (iy == 0 || iy == 0x7f800000) in catanf()
72 } else if (iy >= 0x7f800000) { /* y is inf or NaN */ in catanf()
73 if (iy == 0x7f800000) { in catanf()
94 if (iy == 0x3f800000) { in catanf()
98 } else if (iy > 0x3f800000) { /* y>1 */ in catanf()
H A Dk_clog_rl.c412 int n, k, ix, iy, iz, nx, ny, nz, i; local
421 iy = HI_XWORD(y) & ~0x80000000;
423 if (ix < iy || (ix < 0x7fff0000 && ix == iy && x < y)) {
426 n = ix, ix = iy; iy = n;
429 nx = ix >> 16; ny = iy >> 16;
472 iy = HI_XWORD(y);
474 ny = (iy >> 16) - 240;
481 iy = HI_XWORD(y);
482 ny = (iy >> 16) - 240;
521 XFSCALE(y, (0x3fff - n - (iy >> 16)));
[all …]
H A Dcsqrtl.c51 int n, ix, iy, hx, hy; local
58 iy = hy & 0x7fffffff;
61 if (ix >= 0x7fff0000 || iy >= 0x7fff0000) {
83 } else if (ix >= iy) {
84 n = (ix - iy) >> 16;
95 } else if (iy <= 0x20bf0000) { /* y < 2**-8000 */
110 n = (iy - ix) >> 16;
118 else if (iy >= 0x7ffe0000)
124 } else if (iy >= 0x5f3f0000) { /* y > 2**8000 */
H A Dcacos.c221 int ix, iy, hx, hy; in cacos() local
232 iy = hy & 0x7fffffff; in cacos()
236 if (((iy | ly) == 0) || (iy >= 0x7ff00000)) { in cacos()
244 if (iy >= 0x7ff00000) { in cacos()
245 if (ISINF(iy, ly)) { /* cacos(x + i inf) = pi/2 - i inf */ in cacos()
274 if (iy >= 0x7ff00000) { in cacos()
275 if (ISINF(iy, ly)) { in cacos()
307 if (iy >= 0x7ff00000) { in cacos()
318 if ((iy | ly) == 0) { /* region 1: y=0 */ in cacos()
356 } else if (ix >= 0x5fc00000 || iy >= 0x5fc00000) { /* x,y>2**509 */ in cacos()
[all …]
H A Dclogf.c43 int ix, iy, hx, hy; in clogf() local
50 iy = hy & 0x7fffffff; in clogf()
54 if (ix >= 0x7f800000 || iy >= 0x7f800000) { in clogf()
56 if (iy == 0x7f800000) in clogf()
70 else if (iy == 0x3f800000) in clogf()
72 else if ((ix | iy) == 0) in clogf()
H A Dcasin.c217 int ix, iy, hx, hy; in casin() local
228 iy = hy & 0x7fffffff; in casin()
238 if (iy >= 0x7ff00000) { in casin()
239 if (ISINF(iy, ly)) in casin()
247 if (iy >= 0x7ff00000) { in casin()
269 if ((ix | lx | iy | ly) == 0) in casin()
272 if (iy >= 0x7ff00000) { /* y is inf or NaN */ in casin()
273 if (ISINF(iy, ly)) { /* casin(x + i inf) = 0 + i inf */ in casin()
290 if ((iy | ly) == 0) { /* region 1: y=0 */ in casin()
328 } else if (ix >= 0x5fc00000 || iy >= 0x5fc00000) { /* x,y>2**509 */ in casin()
[all …]
H A Dcpowf.c58 int ix, iy, hx, hy, hv, hu, iu, iv, j; in cpowf() local
69 iy = hy & 0x7fffffff; in cpowf()
81 } else if (iy == 0) { /* (real)**(real) */ in cpowf()
92 } else if (ix == 0 || ix >= hiinf || iy >= hiinf) { in cpowf()
93 if (ix > hiinf || iy > hiinf || iu > hiinf) { in cpowf()
104 } else if (ix == iy) { /* if |x| == |y| */ in cpowf()
127 if (iu >= hiinf || iv >= hiinf || ix >= hiinf || iy >= hiinf) { in cpowf()
153 else if (iy > 0x3f000000 && iy < 0x40000000) /* .5 < |y| < 2 */ in cpowf()
/titanic_50/usr/src/lib/libmvec/common/vis/
H A D__vlogf.S194 ! int ival, iy, i, ind, iexp;
208 ! iy = ival & 0x007fffff;
209 ! ival = iy + 0x20000;
213 ! iy = iy - ival;
218 ! yy = (double) iy;
244 ! iy = ival & 0x007fffff;
245 ! ival = iy + 0x20000;
249 ! iy = iy - ival;
254 ! yy = (double) iy;
321 and ival0,MASK_0x007fffff,iy0 ! (Y0_0) iy = ival & 0x007fffff
[all …]
/titanic_50/usr/src/lib/libm/common/Q/
H A Dlog1pl.c144 int i, j, ix, iy, n, hx, m; in log1pl() local
171 iy = H0(y); in log1pl()
172 n = ((iy + 0x200) >> 16) - 0x3fff; in log1pl()
173 iy = (iy & 0x0000ffff) | 0x3fff0000; /* scale 1+x to [1,2] */ in log1pl()
174 H0(y) = iy; in log1pl()
203 i = (iy + 0x200) >> 10; in log1pl()

123