Home
last modified time | relevance | path

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

12345

/illumos-gate/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()
/illumos-gate/usr/src/test/util-tests/tests/awk/examples/awk/
H A Dt.j.x1 {i=i+sqrt($1); print i,sqrt($1)}
2 END {print sqrt(i),i}
H A Dt.builtins4 sqrt($1),
5 int(sqrt($1)),
/illumos-gate/usr/src/cmd/factor/
H A Dfactor.c38 double modf(), sqrt();
87 vv = 1. + sqrt(nn); in main()
101 vv = 1 + sqrt(nn); in main()
123 vv = 1 + sqrt(nn); in try()
/illumos-gate/usr/src/lib/libmvec/common/
H A D__vhypotf.c38 extern double sqrt(double);
186 z0 = sqrt(x0 * (double)x0 + y0 * (double)y0); in __vhypotf()
187 z1 = sqrt(x1 * (double)x1 + y1 * (double)y1); in __vhypotf()
188 z2 = sqrt(x2 * (double)x2 + y2 * (double)y2); in __vhypotf()
201 z1 = sqrt(x1 * (double)x1 + y1 * (double)y1); in __vhypotf()
204 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()
/illumos-gate/usr/src/head/iso/
H A Dmath_iso.h77 extern double sqrt(double);
87 #pragma does_not_read_global_data(exp, log, log10, pow, sqrt)
92 #pragma does_not_write_global_data(exp, log, log10, pow, sqrt)
97 #pragma no_side_effect(exp, log, log10, pow, sqrt)
183 inline float sqrt(float __X) { return __sqrtf(__X); } in sqrt() function
232 inline long double sqrt(long double __X) { return __sqrtl(__X); } in sqrt() function
/illumos-gate/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 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 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 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()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/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)))
/illumos-gate/usr/src/contrib/ast/src/lib/libast/uwin/
H A Dacosh.c104 t=sqrt(x-1.0);
105 return(log1p(t*(t+sqrt(x+1.0))));
/illumos-gate/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 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)
H A Dasin.S48 fsqrt / sqrt((1-x)/(1+x)),x
49 fpatan / atan(x/sqrt((1-x)/(1+x)))
/illumos-gate/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