Home
last modified time | relevance | path

Searched refs:ay (Results 1 – 17 of 17) sorted by relevance

/titanic_41/usr/src/lib/libm/common/C/
H A Dhypot.c80 double xh, yh, w, ax, ay; in hypot() local
93 ay = fabs(x); in hypot()
102 ay = fabs(y); in hypot()
113 return (ax == ay ? ay : ax); in hypot()
115 return (ay == ax ? ax : ay); in hypot()
117 return (ax * ay); /* + -> * for Cheetah */ in hypot()
120 ay *= twom53; in hypot()
121 ax += ay; in hypot()
127 ay *= twom768; in hypot()
137 return (ay); in hypot()
[all …]
/titanic_41/usr/src/lib/libm/common/complex/
H A Dcabs.c53 double x, y, xh, yh, w, ax, ay; in cabs() local
68 ay = fabs(x); in cabs()
77 ay = fabs(y); in cabs()
88 return ((ax == ay)? ay : ax); in cabs()
90 return ((ay == ax)? ax : ay); in cabs()
92 return (ax * ay); in cabs()
96 ay *= twom53; in cabs()
97 ax += ay; in cabs()
101 ay *= twom768; in cabs()
108 return (ay); in cabs()
[all …]
H A Dcatanl.c128 long double x, y, t1, ax, ay, t; in catanl() local
134 ay = fabsl(y); in catanl()
150 LD_IM(ans) = (fabsl(y) - ay) / (fabsl(y) - ay); in catanl()
174 t = one - ay; in catanl()
175 if (ay == one) { in catanl()
177 LD_IM(ans) = ay / ax; in catanl()
179 } else if (ay > one) { /* y>1 */ in catanl()
183 LD_IM(ans) = half * log1pl((ay + ay) / t); in catanl()
186 } else if (ay < E * (one + ax)) { in catanl()
207 if (ay == zero) in catanl()
[all …]
H A Dcatan.c94 double x, y, ax, ay, t; in catan() local
101 ay = fabs(y); in catan()
119 D_IM(ans) = (fabs(y) - ay) / (fabs(y) - ay); in catan()
143 t = one - ay; in catan()
146 D_IM(ans) = ay / ax; in catan()
152 D_IM(ans) = half * log1p((ay + ay) / t); in catan()
178 D_IM(ans) = ay; in catan()
181 t = ay / ((ay - one) * (ay - one)); in catan()
183 t = (ay / ax) / ax; in catan()
185 t = ay / (ax * ax + (ay - one) * (ay - one)); in catan()
[all …]
H A Dclogl.c51 long double x, y, t, ax, ay; in clogl() local
60 ay = fabsl(y); in clogl()
63 if (ix < iy || (ix == iy && ix < 0x7fff0000 && ax < ay)) { in clogl()
66 ax = ay; in clogl()
67 ay = t; in clogl()
75 else if (isinfl(ay)) in clogl()
76 LD_RE(ans) = ay; in clogl()
78 LD_RE(ans) = ax + ay; in clogl()
79 } else if (ay == zero) in clogl()
85 LD_RE(ans) = half * log1pl(ay * ay); in clogl()
[all …]
H A Dcsqrt.c122 double x, y, t, ax, ay; in csqrt() local
133 ay = fabs(y); in csqrt()
138 D_IM(ans) = D_RE(ans) = ay; in csqrt()
142 D_IM(ans) = ay * zero; in csqrt()
144 D_RE(ans) = ay * zero; in csqrt()
148 D_IM(ans) = D_RE(ans) = ax + ay; in csqrt()
170 t = sqrt(half * (ax + sqrt(ax * ax + ay * ay))); in csqrt()
173 D_IM(ans) = ay / (t + t); in csqrt()
176 D_RE(ans) = ay / (t + t); in csqrt()
182 t = sqrt(half * ay); in csqrt()
[all …]
H A Dclog.c73 double x, y, t, ax, ay, w; in __clog() local
85 ay = fabs(y); in __clog()
91 ax = ay; in __clog()
92 ay = t; in __clog()
103 D_RE(ans) = ay; in __clog()
105 D_RE(ans) = ax * ay; in __clog()
112 D_RE(ans) = half * log1p(ay * ay); in __clog()
116 D_RE(ans) = half * (log1p(ay * ay + (ax - in __clog()
121 D_RE(ans) = __k_clog_r(ax, ay, &w); in __clog()
127 D_RE(ans) = half * log(ax * ax + ay * ay); in __clog()
[all …]
H A Dcsqrtl.c50 long double x, y, t, ax, ay; local
59 ay = fabsl(y);
64 LD_IM(ans) = LD_RE(ans) = ay;
68 LD_IM(ans) = ay * zero;
70 LD_RE(ans) = ay * zero;
74 LD_IM(ans) = LD_RE(ans) = ax + ay;
104 LD_IM(ans) = ay / (t + t);
107 LD_RE(ans) = ay / (t + t);
117 t = sqrtl(half * ay);
119 t = sqrtl(half * ay + half * ax);
[all …]
H A Dcatanf.c48 float x, y, ax, ay, t; in catanf() local
55 ay = fabsf(y); in catanf()
70 F_IM(ans) = (fabsf(y) - ay) / (fabsf(y) - ay); in catanf()
93 t = one - ay; in catanf()
96 F_IM(ans) = ay / ax; in catanf()
102 F_IM(ans) = half * log1pf((ay + ay) / t); in catanf()
122 dy = (double)ay; in catanf()
H A Dcsqrtf.c43 float x, y, t, ax, ay, w; in csqrtf() local
52 ay = fabsf(y); in csqrtf()
57 F_IM(ans) = F_RE(ans) = ay; in csqrtf()
61 F_IM(ans) = ay * zero; in csqrtf()
63 F_RE(ans) = ay * zero; in csqrtf()
67 F_IM(ans) = F_RE(ans) = ax + ay; in csqrtf()
78 dy = (double) ay; in csqrtf()
H A Dclogf.c41 float x, y, ax, ay; in clogf() local
51 ay = fabsf(y); in clogf()
57 F_RE(ans) = ay; in clogf()
61 F_RE(ans) = ax + ay; in clogf()
67 dy = (double)ay; in clogf()
/titanic_41/usr/src/lib/libmvec/common/
H A D__vpowf.c431 unsigned ux, sx, uy, ay, ax0; in __vpowf() local
459 ay = uy & 0x7fffffff; in __vpowf()
465 if (ax0 >= 0x7f800000 || ay >= 0x7f800000) in __vpowf()
467 if (ay == 0) in __vpowf()
470 if (ax0 > 0x7f800000 || ay > 0x7f800000) in __vpowf()
472 if (ay == 0x7f800000) /* |Y| = Inf */ in __vpowf()
478 fy = ((ax0 < 0x3f800000) != (uy >> 31)) ? 0.0f : *(float*) &ay; in __vpowf()
483 exp = ay >> 23; in __vpowf()
488 i0 = ay >> ((0x7f + 23) - exp); in __vpowf()
489 if ((i0 << ((0x7f + 23) - exp)) == ay) in __vpowf()
[all …]
/titanic_41/usr/src/lib/libmvec/common/vis/
H A D__vrhypotf.S226 ! ay = *(int*)py;
229 ! ay &= 0x7fffffff;
234 ! if ( ax >= 0x7f800000 || ay >= 0x7f800000 )
238 ! else if( ay == 0x7f800000 ) *pz = 0.0f;
243 ! if ( ay == 0 )
336 lda [%i2]0x82,%l6 ! (3_0) ay = *(int*)py;
341 and %l6,_0x7fffffff,%l6 ! (3_0) ay &= 0x7fffffff;
344 cmp %l6,_0x7f800000 ! (3_0) ay ? 0x7f800000
345 bge,pn %icc,.spec0 ! (3_0) if ( ay >= 0x7f800000 )
353 be,pn %icc,.spec1 ! (3_0) if ( ay == 0 )
[all …]
H A D__vpowf.S550 ! ay = uy & 0x7fffffff;
554 ! if (ax0 >= 0x7f800000 || ay >= 0x7f800000) { /* |X| or |Y| = Inf,Nan */
555 ! if (ax0 > 0x7f800000 || ay > 0x7f800000) /* |X| or |Y| = Nan */
558 ! if (ay == 0x7f800000) { /* |Y| = Inf */
561 ! else fy = ((ax0 < 0x3f800000) != (uy >> 31)) ? ZERO : *(float*) &ay;
566 ! exp = ay >> 23;
571 ! i0 = ay >> ((0x7f + 23) - exp);
572 ! if ((i0 << ((0x7f + 23) - exp)) == ay) yisint0 = 2 - (i0 & 1);
588 ! exp = ay >> 23;
593 ! i0 = ay >> ((0x7f + 23) - exp);
[all …]
/titanic_41/usr/src/cmd/lp/filter/postscript/dpost/
H A Dps_include.c74 double sx, double sy, double ax, double ay, double rot) in ps_include() argument
174 var(cx); var(cy); var(sx); var(sy); var(ax); var(ay); var(rot); in ps_include()
/titanic_41/usr/src/cmd/krb5/kadmin/cli/
H A Dgetdate.y898 int ay = a->tm_year + (TM_YEAR_ORIGIN - 1); local
907 + ((ay >> 2) - (by >> 2))
908 - (ay/100 - by/100)
909 + ((ay/100 >> 2) - (by/100 >> 2))
911 + (time_t)(ay-by) * 365
/titanic_41/usr/src/lib/libast/common/port/
H A Dlc.tab33 ay aymara