Home
last modified time | relevance | path

Searched refs:sqrt (Results 1 – 25 of 107) sorted by relevance

12345

/titanic_50/usr/src/lib/libm/common/complex/
H A Dcsqrt.c151 D_RE(ans) = sqrt(ax); in csqrt()
154 D_IM(ans) = sqrt(ax); in csqrt()
160 t = sqrt(ax); in csqrt()
164 t = two300 * sqrt(ax + sqrt(ax * ax + y * y)); in csqrt()
168 t = twom300 * sqrt(ax + sqrt(ax * ax + y * y)); in csqrt()
170 t = sqrt(half * (ax + sqrt(ax * ax + ay * ay))); in csqrt()
182 t = sqrt(half * ay); in csqrt()
184 t = sqrt(half * ay + half * ax); in csqrt()
186 t = half * sqrt(two * (ay + ax)); in csqrt()
188 t = sqrt(half * (ay + ax)); in csqrt()
[all …]
H A Dcasin.c299 D_IM(ans) = log(x + sqrt((x - one) * (x + in casin()
303 D_IM(ans) = log1p(xm1 + sqrt(xm1 * (x + one))); in casin()
309 D_IM(ans) = y / sqrt((one + x) * (one - x)); in casin()
315 D_IM(ans) = log(x + sqrt((x - one) * (x + in casin()
318 D_IM(ans) = log1p((x - one) + sqrt((x - one) * in casin()
322 t = sqrt(y); in casin()
335 A = sqrt(one + 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()
[all …]
H A Dcacos.c327 D_IM(ans) = log(x + sqrt((x - one) * (x + in cacos()
331 D_IM(ans) = log1p(xm1 + sqrt(xm1 * (x + one))); in cacos()
337 D_IM(ans) = y / sqrt((one + x) * (one - x)); in cacos()
342 t = sqrt((x - one) * (x + one)); in cacos()
350 t = sqrt(y); in cacos()
364 A = sqrt(one + 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()
385 D_RE(ans) = atan((y * sqrt(half * (Apx / (R + in cacos()
[all …]
H A Dcabs.c151 ax += ay / (ax + sqrt(ax * ax + ay)); in cabs()
155 w = sqrt(ax * ax + ay * ay); in cabs()
164 ax = sqrt(xh * xh + ay); in cabs()
172 ax = sqrt(xh * yh + ay); in cabs()
H A Dcsqrtf.c79 dt = sqrt(0.5 * (sqrt(dx * dx + dy * dy) + dx)); in csqrtf()
/titanic_50/usr/src/lib/libmvec/common/
H A D__vhypotf.c38 extern double sqrt(double);
185 z0 = sqrt(x0 * (double)x0 + y0 * (double)y0); in __vhypotf()
186 z1 = sqrt(x1 * (double)x1 + y1 * (double)y1); in __vhypotf()
187 z2 = sqrt(x2 * (double)x2 + y2 * (double)y2); in __vhypotf()
202 z1 = sqrt(x1 * (double)x1 + y1 * (double)y1); in __vhypotf()
205 z0 = sqrt(x0 * (double)x0 + y0 * (double)y0); in __vhypotf()
H A D__vhypot.c68 extern double sqrt(double);
161 res = sqrt (res); in __vhypot()
203 res = sqrt (res); in __vhypot()
229 res = sqrt(res); in __vhypot()
289 res = sqrt (res); in __vhypot()
315 res = sqrt(res); in __vhypot()
335 res = sqrt(res); in __vhypot()
384 res0 = sqrt(res0); in __vhypot_n()
H A D__vsqrt.c38 extern double sqrt(double);
45 *y = sqrt(*x); in __vsqrt()
H A D__vrhypot.c69 extern double sqrt(double);
197 res0 = sqrt (res0); \
334 res0 = sqrt (res0); in __vrhypot()
335 res1 = sqrt (res1); in __vrhypot()
336 res2 = sqrt (res2); in __vrhypot()
383 res0 = sqrt (res0); in __vrhypot()
419 res1 = sqrt (res1); in __vrhypot()
/titanic_50/usr/src/cmd/factor/
H A Dfactor.c40 double modf(), sqrt();
89 vv = 1. + sqrt(nn); in main()
103 vv = 1 + sqrt(nn); in main()
125 vv = 1 + sqrt(nn); in try()
/titanic_50/usr/src/head/iso/
H A Dmath_iso.h85 extern double sqrt __P((double));
95 #pragma does_not_read_global_data(exp, log, log10, pow, sqrt)
100 #pragma does_not_write_global_data(exp, log, log10, pow, sqrt)
105 #pragma no_side_effect(exp, log, log10, pow, sqrt)
186 inline float sqrt(float __X) { return __sqrtf(__X); } in sqrt() function
218 inline long double sqrt(long double __X) { return __sqrtl(__X); } in sqrt() function
/titanic_50/usr/src/lib/libm/common/C/
H A Dhypot.c175 ax += ay / (ax + sqrt(ax * ax + ay)); in hypot()
180 w = sqrt(ax * ax + ay * ay); in hypot()
189 ax = sqrt(xh * xh + ay); in hypot()
197 ax = sqrt(xh * yh + ay); in hypot()
H A Dsqrt.c29 #pragma weak __sqrt = sqrt
37 sqrt(double x) { in sqrt() function
H A Dacosh.c89 return (log(2.0 * x - one / (x + sqrt(t - one)))); in acosh()
93 return (log1p(t + sqrt(2.0 * t + t * t))); in acosh()
H A Dasinh.c81 w = log(2.0 * t + one / (sqrt(x * x + one) + t)); in asinh()
85 w = log1p(fabs(x) + t / (one + sqrt(one + t))); in asinh()
H A Dj0.c133 if (x > 1.0e40) z = (invsqrtpi*cc)/sqrt(x); in j0()
136 z = invsqrtpi*(u*cc-v*ss)/sqrt(x); in j0()
234 z = (invsqrtpi*ss)/sqrt(x); in y0()
236 z = invsqrtpi*(pzero(x)*ss+qzero(x)*cc)/sqrt(x); in y0()
H A Dj1.c130 d = (invsqrtpi*cc)/sqrt(x); in j1()
132 d = invsqrtpi*(pone(x)*cc-qone(x)*ss)/sqrt(x); in j1()
257 d = (invsqrtpi*ss)/sqrt(x); in y1()
259 d = invsqrtpi*(pone(x)*ss+qone(x)*cc)/sqrt(x); in y1()
H A Dacos.c135 s = sqrt(z); in acos()
142 s = sqrt(z); in acos()
/titanic_50/usr/src/lib/libshell/common/tests/
H A Dpointtype.sh36 print -r $((sqrt(_.x*_.x + _.y*_.y)))
50 (( (q.len - sqrt(5)) < 10e-10 )) || err_exit 'q.len != sqrt(5)'
65 (( (pp[2].len - sqrt(5)) < 10e-10 )) || err_exit 'pp[2].len != sqrt(5)'
88 print -r $((sqrt(_.x*_.x + _.y*_.y + _.z*_.z)))
/titanic_50/usr/src/lib/libast/common/uwin/
H A Dacosh.c104 t=sqrt(x-1.0);
105 return(log1p(t*(t+sqrt(x+1.0))));
/titanic_50/usr/src/lib/libm/i386/src/
H A Dasinf.s48 fsqrt / sqrt((1-x)*(1+x)),x
49 fpatan / atan(x/sqrt((1-x)*(1+x)))
H A Dasinl.s47 fsqrt / sqrt((1-x)*(1+x)),x
48 fpatan / atan(x/sqrt((1-x)*(1+x)))
H A Dasin.s48 fsqrt / sqrt((1-x)/(1+x)),x
49 fpatan / atan(x/sqrt((1-x)/(1+x)))
H A Dhypot.s58 fsqrt / sqrt(x*x+y*y)
61 fldl (%esp) / sqrt(x*x+y*y) rounded to double
63 flds PIC_L(inf) / inf , sqrt(x*x+y*y)
/titanic_50/usr/src/lib/libm/amd64/src/
H A Dasinl.s45 fsqrt / sqrt((1-x)*(1+x)),x
46 fpatan / atan(x/sqrt((1-x)*(1+x)))

12345