Home
last modified time | relevance | path

Searched refs:y2 (Results 1 – 25 of 54) sorted by relevance

123

/illumos-gate/usr/src/lib/libm/common/Q/
H A Dfmodl.c61 unsigned x1, x2, x3, y1, y2, y3, z1, z2, z3; in fmodl() local
69 y2 = __H2(y); in fmodl()
79 (y0 | y1 | y2 | y3) == 0) /* isnanl(y) || y = 0 */ in fmodl()
117 y1 = (y1 << 16) | (y2 >> 16); in fmodl()
118 y2 = (y2 << 16) | (y3 >> 16); in fmodl()
124 y1 = (y1 << 1) | (y2 >> 31); in fmodl()
125 y2 = (y2 << 1) | (y3 >> 31); in fmodl()
154 z2 = x2 - y2; in fmodl()
157 z2 = x2 - y2 - 1; in fmodl()
197 z2 = x2 - y2; in fmodl()
[all …]
/illumos-gate/usr/src/common/ficl/emu/
H A Dgfx_fb.c213 int x1, y1, x2, y2; in gfx_term_drawrect() local
238 gfx_fb_drawrect(x1, y2, x2, y2 + width, 1); in gfx_term_drawrect()
261 gfx_fb_bezier(x1 + i, y1, x1 + i, y2 + i, x2, y2 + i, width-i); in gfx_term_drawrect()
279 y2 += fb.font_height; in gfx_term_drawrect()
298 int err, e2, x2, y2, ed; in gfx_fb_line() local
319 y2 = y0; in gfx_fb_line()
321 y2 += sy; in gfx_fb_line()
322 gfx_fb_setpixel(x0, y2); in gfx_fb_line()
359 sy = y2 - y1; in gfx_fb_bezier()
367 y2 = y0; in gfx_fb_bezier()
[all …]
/illumos-gate/usr/src/lib/libmvec/common/
H A D__vcosf.c148 double y0, y1, y2, y3; in __vcosf() local
198 y2 = (y2 - z2 * pio2_1) - z2 * pio2_t; in __vcosf()
204 z2 = y2 * y2; in __vcosf()
213 f2 = (float)(y2 + y2 * z2 * (S0 + z2 * (S1 + z2 * S2))); in __vcosf()
221 f2 = (float)(y2 + y2 * z2 * (S0 + z2 * (S1 + z2 * S2))); in __vcosf()
229 f2 = (float)(y2 + y2 * z2 * (S0 + z2 * (S1 + z2 * S2))); in __vcosf()
238 f2 = (float)(y2 + y2 * z2 * (S0 + z2 * (S1 + z2 * S2))); in __vcosf()
281 f2 = (float)(y2 + y2 * z2 * (S0 + z2 * (S1 + z2 * S2))); in __vcosf()
290 f2 = (float)(y2 + y2 * z2 * (S0 + z2 * (S1 + z2 * S2))); in __vcosf()
299 f2 = (float)(y2 + y2 * z2 * (S0 + z2 * (S1 + z2 * S2))); in __vcosf()
[all …]
H A D__vsinf.c152 double y0, y1, y2, y3; in __vsinf() local
202 y2 = (y2 - z2 * pio2_1) - z2 * pio2_t; in __vsinf()
208 z2 = y2 * y2; in __vsinf()
217 f2 = (float)(y2 + y2 * z2 * (S0 + z2 * (S1 + z2 * S2))); in __vsinf()
225 f2 = (float)(y2 + y2 * z2 * (S0 + z2 * (S1 + z2 * S2))); in __vsinf()
233 f2 = (float)(y2 + y2 * z2 * (S0 + z2 * (S1 + z2 * S2))); in __vsinf()
242 f2 = (float)(y2 + y2 * z2 * (S0 + z2 * (S1 + z2 * S2))); in __vsinf()
285 f2 = (float)(y2 + y2 * z2 * (S0 + z2 * (S1 + z2 * S2))); in __vsinf()
294 f2 = (float)(y2 + y2 * z2 * (S0 + z2 * (S1 + z2 * S2))); in __vsinf()
303 f2 = (float)(y2 + y2 * z2 * (S0 + z2 * (S1 + z2 * S2))); in __vsinf()
[all …]
H A D__vexp.c411 double y0, y1, y2, y3, y4, y5; in __vexp() local
454 y2 = (x2 * invln2_256) + round; in __vexp()
461 j2 = LO(y2); in __vexp()
468 y2 -= round; in __vexp()
489 x2 = (x2 - y2 * ln2_256h) - y2 * ln2_256l; in __vexp()
496 y2 = x2 * (one + x2 * (B1 + x2 * (B2 + x2 * B3))); in __vexp()
510 y2 = t2 + (TBL[j2 + 1] + t2 * y2); in __vexp()
528 HI(y2) += (k2 + 0x3ef) << 20; in __vexp()
529 y2 *= tiny; in __vexp()
531 HI(y2) += k2 << 20; in __vexp()
[all …]
H A D__vatan2f.c54 float x0, x1, x2, y0, y1, y2, *pz0 = 0, *pz1, *pz2; in __vatan2f() local
309 y2 = *x; in __vatan2f()
320 y2 = -y2; in __vatan2f()
331 y2 = *y; in __vatan2f()
335 y2 = -y2; in __vatan2f()
353 ah2 = x2 + y2; in __vatan2f()
358 ah2 = y2 / x2; in __vatan2f()
380 y2 *= twop24; /* scale subnormal y */ in __vatan2f()
382 hy2 = *(int*)&y2; in __vatan2f()
413 dy2 = y2; in __vatan2f()
H A D__vpow.c773 y2 = s2 * s2; in __vpow()
779 s2 = (KA5 * y2 + KA3) * y2 * s2; in __vpow()
815 m_h2 = y2 + yd2; in __vpow()
819 y2 = s2 - ((m_h2 - y2 - yd2) - s_l2); in __vpow()
827 s_h2 = y2 + m_h2; in __vpow()
845 y2 = y2 - (s_h2 - m_h2); in __vpow()
905 y2 = s2 - u2 + yd2; in __vpow()
912 y2 = ((((KB5 * y2 + KB4) * y2 + KB3) * y2 + KB2) * y2 + KB1) * y2; in __vpow()
1136 double y2, yd2, u2, s2; in __vpowx() local
1275 y2 = s2 - u2 + yd2; in __vpowx()
[all …]
H A D__vpowf.c581 double y2, yy2; in __vpowf_n() local
612 y2 = (double) i2 * __TBL_log2f[ind2 + 1]; in __vpowf_n()
618 yy2 += (((KA3 * y2 + KA2) * y2 + KA1) * y2 + KA0) * y2; in __vpowf_n()
645 y2 = yy2 - (double)ind2; in __vpowf_n()
648 yy2 = (KB2 * y2 + KB1) * y2 + DONE; in __vpowf_n()
761 double y2, yy2, di2; in __vpowfx_n() local
790 y2 = yy2 - (double)ind2; in __vpowfx_n()
793 yy2 = (KB2 * y2 + KB1) * y2 + DONE; in __vpowfx_n()
H A D__vatan2.c71 double x0, x1, x2, y0, y1, y2, *pz0, *pz1, *pz2; in __vatan2() local
324 y2 = fabs(*x); in __vatan2()
340 y2 = fabs(*y); in __vatan2()
356 ah2 = x2 + y2; in __vatan2()
371 ah2 = y2 / x2; in __vatan2()
381 y2 *= twom3; in __vatan2()
388 if ((hy | LO(&y2)) == 0) in __vatan2()
399 y2 *= two110; in __vatan2()
401 hy = HI(&y2); in __vatan2()
414 z2 = ((y2 - t2 * xh) - t2 * (x2 - xh)) / (x2 + y2 * t2); in __vatan2()
H A D__vhypotf.c52 float x0, x1, x2, y0, y1, y2, z0, z1, z2, *pz0, *pz1, *pz2; in __vhypotf() local
153 y2 = hy2.f; in __vhypotf()
168 z2 = x2 + y2; in __vhypotf()
172 z2 = y2; in __vhypotf()
188 z2 = sqrt(x2 * (double)x2 + y2 * (double)y2); in __vhypotf()
H A D__vsincosf.c167 double y0, y1, y2, y3; in __vsincosf() local
206 z2 = y2 * invpio2 + c3two51; in __vsincosf()
221 y2 = (y2 - z2 * pio2_1) - z2 * pio2_t; in __vsincosf()
227 z2 = y2 * y2; in __vsincosf()
232 f2 = (float)(y2 + y2 * z2 * (S0 + z2 * (S1 + z2 * S2))); in __vsincosf()
H A D__vsinbig_ultra3.c193 y2 = (a2 - x2) - w2; in __vlibm_vsin_big_ultra3()
205 y2 = (a2 - x2) - w2; in __vlibm_vsin_big_ultra3()
217 y2 = (a2 - x2) - w2; in __vlibm_vsin_big_ultra3()
241 x2 = (x2 - t2) + y2; in __vlibm_vsin_big_ultra3()
287 x2 = (x2 - t2) + y2; in __vlibm_vsin_big_ultra3()
328 x2 = (x2 - t2) + y2; in __vlibm_vsin_big_ultra3()
370 x2 = (x2 - t2) + y2; in __vlibm_vsin_big_ultra3()
405 y2_or_zero[0] = y2; in __vlibm_vsin_big_ultra3()
447 y2_or_zero[0] = y2; in __vlibm_vsin_big_ultra3()
484 y2_or_zero[0] = y2; in __vlibm_vsin_big_ultra3()
[all …]
H A D__vcosbig_ultra3.c193 y2 = (a2 - x2) - w2; in __vlibm_vcos_big_ultra3()
205 y2 = (a2 - x2) - w2; in __vlibm_vcos_big_ultra3()
217 y2 = (a2 - x2) - w2; in __vlibm_vcos_big_ultra3()
241 x2 = (x2 - t2) + y2; in __vlibm_vcos_big_ultra3()
287 x2 = (x2 - t2) + y2; in __vlibm_vcos_big_ultra3()
328 x2 = (x2 - t2) + y2; in __vlibm_vcos_big_ultra3()
370 x2 = (x2 - t2) + y2; in __vlibm_vcos_big_ultra3()
405 y2_or_zero[0] = y2; in __vlibm_vcos_big_ultra3()
447 y2_or_zero[0] = y2; in __vlibm_vcos_big_ultra3()
484 y2_or_zero[0] = y2; in __vlibm_vcos_big_ultra3()
[all …]
/illumos-gate/usr/src/lib/libm/common/m9x/
H A Dremquol.c63 unsigned x1, x2, x3, y1, y2, y3, z1, z2, z3; in fmodquol() local
71 y2 = __H2(y); in fmodquol()
118 y1 = (y1 << 16) | (y2 >> 16); in fmodquol()
119 y2 = (y2 << 16) | (y3 >> 16); in fmodquol()
125 y1 = (y1 << 1) | (y2 >> 31); in fmodquol()
126 y2 = (y2 << 1) | (y3 >> 31); in fmodquol()
159 z2 = x2 - y2; in fmodquol()
162 z2 = x2 - y2 - 1; in fmodquol()
211 z2 = x2 - y2; in fmodquol()
214 z2 = x2 - y2 - 1; in fmodquol()
/illumos-gate/usr/src/cmd/ast/libshell/common/tests/
H A Dsun_solaris_compoundvario.sh222 read -C y2
232 [[ "$y2" != "" ]] || err_exit "y2 is empty"
236 (( isnan(y2.myarray3[a_nan].my_nan) )) || err_exit "y2.myarray3[a_nan].my_nan not a NaN"
238 (( signbit(y2.myarray3[a_nan].my_nan) )) || err_exit "y2.myarray3[a_nan].my_nan not negative"
242 count_brackets "$y2" || err_exit "y2: bracket open ${bracketstat.bopen} != bracket close ${brackets…
245 [[ "$y1" == "$y2" ]] || err_exit "Expected $(printf "%q\n" "${y1}") == $(printf "%q\n" "${y2}")."
249 unset x y1 y2 || err_exit "unset failed"
252 [[ "$y2" == "" ]] || err_exit "cleanup failed for y2"
/illumos-gate/usr/src/lib/libm/common/complex/
H A Dcasinl.c70 long double x, y, t, R, S, A, Am1, B, y2, xm1, xp1, Apx; in casinl() local
196 y2 = y * y; in casinl()
199 R = sqrtl(xp1 * xp1 + y2); in casinl()
200 S = sqrtl(xm1 * xm1 + y2); in casinl()
208 LD_RE(ans) = atanl(x / sqrtl(half * Apx * (y2 / in casinl()
217 Am1 = half * (y2 / (R + xp1) + y2 / (S - xm1)); in casinl()
219 Am1 = half * (y2 / (R + xp1) + (S + xm1)); in casinl()
H A Dcacos.c220 double x, y, t, R, S, A, Am1, B, y2, xm1, xp1, Apx; in cacos() local
370 y2 = y * y; in cacos()
373 R = sqrt(xp1 * xp1 + y2); in cacos()
374 S = sqrt(xm1 * xm1 + y2); in cacos()
382 D_RE(ans) = atan(sqrt(half * Apx * (y2 / (R + in cacos()
391 Am1 = half * (y2 / (R + xp1) + y2 / (S - xm1)); in cacos()
393 Am1 = half * (y2 / (R + xp1) + (S + xm1)); in cacos()
H A Dcasin.c216 double x, y, t, R, S, A, Am1, B, y2, xm1, xp1, Apx; in casin() local
342 y2 = y * y; in casin()
345 R = sqrt(xp1 * xp1 + y2); in casin()
346 S = sqrt(xm1 * xm1 + y2); in casin()
355 D_RE(ans) = atan(x / sqrt(half * Apx * (y2 / in casin()
364 Am1 = half * (y2 / (R + xp1) + y2 / (S - xm1)); in casin()
366 Am1 = half * (y2 / (R + xp1) + (S + xm1)); in casin()
H A Dcacosl.c76 long double x, y, t, R, S, A, Am1, B, y2, xm1, xp1, Apx; in cacosl() local
237 y2 = y * y; in cacosl()
240 R = sqrtl(xp1 * xp1 + y2); in cacosl()
241 S = sqrtl(xm1 * xm1 + y2); in cacosl()
250 LD_RE(ans) = atan2l(sqrtl(half * Apx * (y2 / in cacosl()
259 Am1 = half * (y2 / (R + xp1) + y2 / (S - xm1)); in cacosl()
261 Am1 = half * (y2 / (R + xp1) + (S + xm1)); in cacosl()
/illumos-gate/usr/src/ucblib/libcurses/
H A Doverlay.c39 int y1, y2; in overlay() local
55 y2 = starty - win2->_begy; in overlay()
56 for (y = starty; y < endy; y++, y1++, y2++) { in overlay()
61 (void) mvwaddch(win2, y2, x, *sp); in overlay()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dcomvario.sh241 read -C y2
251 [[ "$y2" != "" ]] || err_exit "y2 is empty"
255 (( isnan(y2.myarray3[a_nan].my_nan) )) || err_exit "y2.myarray3[a_nan].my_nan not a NaN"
258 (( signbit(y2.myarray3[a_nan].my_nan) )) || err_exit "y2.myarray3[a_nan].my_nan not negative"
263 count_brackets "$y2" || err_exit "y2: bracket open ${bracketstat.bopen} != bracket close ${brackets…
266 [[ "$y1" == "$y2" ]] || err_exit "Expected $(printf "%q\n" "${y1}") == $(printf "%q\n" "${y2}")."
270 unset x y1 y2 || err_exit "unset failed"
273 [[ "$y2" == '' ]] || err_exit "cleanup failed for y2"
/illumos-gate/usr/src/lib/libm/common/C/
H A Dpow.c163 double y1, y2, w1, w2; in pow() local
294 y2 = y * w2; in pow()
297 y2 = (y - y1) * w1 + y * w2; in pow()
300 z = y1 + y2; in pow()
307 w2 += y2; in pow()
318 w2 += y2; in pow()
328 w1 = y2 - ((double) k * 0.015625 - y1); in pow()
/illumos-gate/usr/src/common/ficl/
H A Dloader.c83 uint32_t x1, y1, x2, y2, f; in ficl_term_putimage() local
102 if (y2 != 0) { in ficl_term_putimage()
103 y2 = tems.ts_p_offset.y + in ficl_term_putimage()
104 y2 * tems.ts_font.vf_height; in ficl_term_putimage()
130 uint32_t x1, y1, x2, y2, f; in ficl_fb_putimage() local
192 ficlUnsigned x0, y0, x1, y1, x2, y2, width; in ficl_fb_bezier() local
203 gfx_fb_bezier(x0, y0, x1, y1, x2, y2, width); in ficl_fb_bezier()
209 ficlUnsigned x1, x2, y1, y2, fill; in ficl_fb_drawrect() local
218 gfx_fb_drawrect(x1, y1, x2, y2, fill); in ficl_fb_drawrect()
224 ficlUnsigned x1, x2, y1, y2; in ficl_term_drawrect() local
[all …]
/illumos-gate/usr/src/cmd/cron/
H A Dfuncs.c64 days_btwn(int m1, int d1, int y1, int m2, int d2, int y2) in days_btwn() argument
76 if ((m1 == m2) && (d1 == d2) && (y1 == y2)) in days_btwn()
84 if (d2 > days_in_mon(m2, y2)) { in days_btwn()
86 for (p = 1; ! isleap(y2+YEAR+p); p++) in days_btwn()
/illumos-gate/usr/src/boot/common/
H A Dgfx_fb.c1369 y2 = y0; in gfx_fb_line()
1372 y2 += sy; in gfx_fb_line()
1373 gfx_fb_setpixel(x0, y2); in gfx_fb_line()
1414 sy = y2 - y1; in gfx_fb_bezier()
1422 y2 = y0; in gfx_fb_bezier()
1431 sy = y0 < y2? 1 : -1; in gfx_fb_bezier()
1450 if (x0 == x2 && y0 == y2) in gfx_fb_bezier()
1476 int x1, y1, x2, y2; in gfx_term_drawrect() local
1510 gfx_fb_drawrect(x1, y2, x2, y2 + width, 1); in gfx_term_drawrect()
1533 gfx_fb_bezier(x1 + i, y1, x1 + i, y2 + i, x2, y2 + i, width-i); in gfx_term_drawrect()
[all …]

123