Home
last modified time | relevance | path

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

/bionic/libm/upstream-freebsd/lib/msun/src/
Dcatrig.c184 *rx = sqrt(x); in do_hard_work()
191 *rx = log1p(Am1 + sqrt(Am1 * (A + 1))); in do_hard_work()
197 *rx = x / sqrt((1 - y) * (1 + y)); in do_hard_work()
202 *rx = log1p((y - 1) + sqrt((y - 1) * (y + 1))); in do_hard_work()
205 *rx = log(A + sqrt(A * A - 1)); in do_hard_work()
237 *sqrt_A2my2 = sqrt(x) * sqrt((A + y) / 2); in do_hard_work()
246 *sqrt_A2my2 = sqrt(Amy * (A + y)); in do_hard_work()
256 sqrt((y + 1) * (y - 1)); in do_hard_work()
263 *sqrt_A2my2 = sqrt((1 - y) * (1 + y)); in do_hard_work()
De_acosh.c59 return __ieee754_log(2.0*x-one/(x+sqrt(t-one))); in __ieee754_acosh()
62 return log1p(t+sqrt(2.0*t+t*t)); in __ieee754_acosh()
Ds_csqrtf.c78 t = sqrt((a + hypot(a, b)) * 0.5); in csqrtf()
81 t = sqrt((-a + hypot(a, b)) * 0.5); in csqrtf()
De_j1.c109 if(ix>0x48000000) z = (invsqrtpi*cc)/sqrt(y); in __ieee754_j1()
112 z = invsqrtpi*(u*cc-v*ss)/sqrt(y); in __ieee754_j1()
180 if(ix>0x48000000) z = (invsqrtpi*ss)/sqrt(x); in __ieee754_y1()
183 z = invsqrtpi*(u*ss+v*cc)/sqrt(x); in __ieee754_y1()
Ds_csqrt.c101 t = sqrt((a + hypot(a, b)) * 0.5); in csqrt()
105 t = sqrt((-a + hypot(a, b)) * 0.5); in csqrt()
De_j0.c108 if(ix>0x48000000) z = (invsqrtpi*cc)/sqrt(x); in __ieee754_j0()
111 z = invsqrtpi*(u*cc-v*ss)/sqrt(x); in __ieee754_j0()
187 if(ix>0x48000000) z = (invsqrtpi*ss)/sqrt(x); in __ieee754_y0()
190 z = invsqrtpi*(u*ss+v*cc)/sqrt(x); in __ieee754_y0()
De_hypot.c109 w = sqrt(t1*t1-(b*(-b)-t2*(a+t1))); in __ieee754_hypot()
118 w = sqrt(t1*y1-(w*(-w)-(t1*y2+t2*b))); in __ieee754_hypot()
De_acos.c91 s = sqrt(z); in __ieee754_acos()
97 s = sqrt(z); in __ieee754_acos()
De_asinf.c61 s = sqrt(t); in __ieee754_asinf()
De_jn.c101 b = invsqrtpi*temp/sqrt(x); in __ieee754_jn()
259 b = invsqrtpi*temp/sqrt(x); in __ieee754_yn()
Ds_ctanh.c137 rho = sqrt(1 + s * s); /* = cosh(x) */ in ctanh()
De_asin.c99 s = sqrt(t); in __ieee754_asin()
De_sqrtl.c126 xn = sqrt(u.e); /* 53-bit estimate of sqrtl(x). */ in sqrtl()
De_pow.c160 return sqrt(x); in __ieee754_pow()
Dmath_private.h831 #define __ieee754_sqrt sqrt
/bionic/tests/
Dtgmath_test.c21 return sqrt(z); in tgmath_h_test_function()
Dmath_test.cpp720 TEST(MATH_TEST, sqrt) { in TEST() argument
721 ASSERT_DOUBLE_EQ(2.0, sqrt(4.0)); in TEST()
2213 DoMathDataTest<1>(g_sqrt_intel_data, sqrt); in TEST()
/bionic/libm/
Dbuiltins.cpp96 double sqrt(double x) { return __builtin_sqrt(x); } in sqrt() function
98 __weak_reference(sqrt, sqrtl);
Dlibm.map.txt249 sqrt;
/bionic/tests/headers/posix/
Dtgmath_h.c71 TGMATHC(sqrt); in tgmath_h()
Dmath_h.c322 FUNCTION(sqrt, double (*f)(double)); in math_h()
/bionic/libc/include/
Dmath.h201 double sqrt(double __x);
203 long double sqrtl(long double __x) __RENAME_LDBL(sqrt, 3, 21);
/bionic/benchmarks/
Dmath_benchmark.cpp42 d += sqrt(v); in BM_math_sqrt()
/bionic/libc/tools/
Dposix-2013.txt977 sqrt