Home
last modified time | relevance | path

Searched refs:sqrtf (Results 1 - 25 of 153) sorted by relevance

1234567

/third_party/musl/porting/liteos_a/kernel/src/math/
H A Dacoshf.c4 #undef sqrtf macro
5 #define sqrtf sqrtl macro
7 #undef sqrtf macro
8 #define sqrtf sqrt macro
20 return log1pf(x-1 + sqrtf((x-1)*(x-1)+2*(x-1))); in acoshf()
23 return logf(2*x - 1/(x+sqrtf(x*x-1))); in acoshf()
H A Dasinhf.c19 x = logf(2*x + 1/(sqrtf(x*x+1)+x)); in asinhf()
22 x = log1pf(x + x*x/(sqrtf(x*x+1)+1)); in asinhf()
H A Dacosf.c59 s = sqrtf(z); in acosf()
65 s = sqrtf(z); in acosf()
/third_party/musl/src/math/
H A Dacoshf.c4 #undef sqrtf macro
5 #define sqrtf sqrtl macro
7 #undef sqrtf macro
8 #define sqrtf sqrt macro
20 return log1pf(x-1 + sqrtf((x-1)*(x-1)+2*(x-1))); in acoshf()
23 return logf(2*x - 1/(x+sqrtf(x*x-1))); in acoshf()
H A Dasinhf.c19 x = logf(2*x + 1/(sqrtf(x*x+1)+x)); in asinhf()
22 x = log1pf(x + x*x/(sqrtf(x*x+1)+1)); in asinhf()
H A Dacosf.c59 s = sqrtf(z); in acosf()
65 s = sqrtf(z); in acosf()
/third_party/ffmpeg/libavcodec/
H A Dopusenc_utils.h42 c = (1.0f/sqrtf(sqrtf(pow(2.0f, 1.0f/n) - 3.0f/4.0f) - 0.5f))/sqrtf(3.0f); in bessel_reinit()
46 c = sqrtf(3.0f)*sqrtf(sqrtf(pow(2.0f, 1.0f/n) - 3.0f/4.0f) - 0.5f); in bessel_reinit()
H A Daacenc_utils.h45 out[i] = sqrtf(a * sqrtf(a)); in abs_pow34_v()
51 return sqrtf(a * sqrtf(a)); in pos_pow34()
62 return sqrtf(a * sqrtf(a)) + rounding; in quant()
141 var = sqrtf(var * iswb_sizem1); in find_form_factor()
145 form += e2 * sqrtf(frm) / FFMAX(0.5f,nzl); in find_form_factor()
H A Daacps_tablegen.h148 float c1 = (float)M_SQRT2 / sqrtf(1.0f + c*c); in ps_tableinit()
164 mu = sqrtf(1 + (4 * rho * rho - 4)/(mu * mu)); in ps_tableinit()
165 gamma = atanf(sqrtf((1.0f - mu)/(1.0f + mu))); in ps_tableinit()
H A Daacsbr.c233 sbr->q_m[e][m] = sqrtf(temp * sbr->q_mapped[e][m]); in sbr_gain_calc()
234 sbr->s_m[e][m] = sqrtf(temp * ch_data->s_indexmapped[e + 1][m]); in sbr_gain_calc()
236 sbr->gain[e][m] = sqrtf(sbr->e_origmapped[e][m] / in sbr_gain_calc()
240 sbr->gain[e][m] = sqrtf(sbr->e_origmapped[e][m] * sbr->q_mapped[e][m] / in sbr_gain_calc()
250 gain_max = limgain[sbr->bs_limiter_gains] * sqrtf((FLT_EPSILON + sum[0]) / (FLT_EPSILON + sum[1])); in sbr_gain_calc()
264 gain_boost = sqrtf((FLT_EPSILON + sum[0]) / (FLT_EPSILON + sum[1])); in sbr_gain_calc()
/third_party/musl/src/math/x32/
H A Dsqrtf.s1 .global sqrtf
2 .type sqrtf,@function
3 sqrtf: sqrtss %xmm0, %xmm0 label
/third_party/skia/src/gpu/tessellate/
H A DWangsFormula.h40 return sqrtf(sqrtf(x)); in root4()
221 const float max_len = sqrtf(std::max(dot(p0, p0), std::max(dot(p1, p1), dot(p2, p2)))); in conic_pow2()
230 const float numer = sqrtf(dot(dp, dp)) * precision + rp_minus_1 * dw; in conic_pow2()
244 return sqrtf(conic_pow2(tolerance, pts, w, vectorXform)); in conic()
/third_party/rust/crates/minimal-lexical/tests/
H A Dlibm_tests.rs30 assert_eq!(libm::sqrtf(100.0), 10.0); in sqrtf_sanity_test()
31 assert_eq!(libm::sqrtf(4.0), 2.0); in sqrtf_sanity_test()
38 assert!(libm::sqrtf(-1.0).is_nan()); in sqrtf_spec_test()
39 assert!(libm::sqrtf(f32::NAN).is_nan()); in sqrtf_spec_test()
41 assert_eq!(libm::sqrtf(f), f); in sqrtf_spec_test()
/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/
H A Dmath_sqrt_test.cpp41 * @tc.desc: Obtain test data in sequence and check if it is within the expected error range of the sqrtf interface.
48 bool testResult = FloatUlpCmp(g_sqrtfData[i].expected, sqrtf(g_sqrtfData[i].input), 1); in HWTEST_F()
60 EXPECT_FLOAT_EQ(4.0f, sqrtf(16.0f)); in HWTEST_F()
/third_party/ffmpeg/libavfilter/
H A Davf_avectorscope.c310 max = sqrtf(max); in filter_frame()
343 src[0] = FFSIGN(src[0]) * sqrtf(FFABS(src[0])); in filter_frame()
344 src[1] = FFSIGN(src[1]) * sqrtf(FFABS(src[1])); in filter_frame()
376 cx = sx * sqrtf(1 - 0.5 * sy * sy); in filter_frame()
377 cy = sy * sqrtf(1 - 0.5 * sx * sx); in filter_frame()
/third_party/alsa-utils/bat/
H A Danalyze.c124 sigma = sqrtf(sigma); in check()
173 a->mag[i] = sqrtf(r2 + i2); in calc_magnitude()
270 rms = sqrtf(tmp / na->nsamples); in calculate_noise_one_period()
284 tmp = na->rms_tgt / sqrtf(residual / na->nsamples); in calculate_noise_one_period()
329 na.rms_tgt = sqrtf(tmp / nsamples); in calculate_noise()
/third_party/ffmpeg/libavcodec/mips/
H A Daacpsy_mips.h116 Temp = sqrtf((float)band_sizes[g] / band->energy); in calc_thr_3gpp_mips()
118 band->nz_lines = form_factor * sqrtf(Temp); in calc_thr_3gpp_mips()
/third_party/musl/src/math/riscv32/
H A Dsqrtf.c5 float sqrtf(float x) in sqrtf() function
13 #include "../sqrtf.c"
/third_party/musl/src/math/riscv64/
H A Dsqrtf.c5 float sqrtf(float x) in sqrtf() function
13 #include "../sqrtf.c"
/third_party/musl/src/math/x86_64/
H A Dsqrtf.c3 float sqrtf(float x) in sqrtf() function
/third_party/musl/src/math/powerpc64/
H A Dsqrtf.c3 float sqrtf(float x) in sqrtf() function
/third_party/musl/src/math/s390x/
H A Dsqrtf.c5 float sqrtf(float x) in sqrtf() function
13 #include "../sqrtf.c"
/third_party/musl/src/math/aarch64/
H A Dsqrtf.c3 float sqrtf(float x) in sqrtf() function
/third_party/musl/src/math/i386/
H A Dsqrtf.c3 float sqrtf(float x) in sqrtf() function
/third_party/musl/src/math/powerpc/
H A Dsqrtf.c5 float sqrtf(float x) in sqrtf() function
13 #include "../sqrtf.c"

Completed in 11 milliseconds

1234567