/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/ |
H A D | math_hypot_test.cpp | 65 * @tc.desc: Obtain test data in sequence and check if it is within the expected error range of the hypotf interface. 72 bool testResult = FloatUlpCmp(g_hypotfData[i].expected, hypotf(g_hypotfData[i].input1, g_hypotfData[i].input2), 1); in HWTEST_F() 84 EXPECT_DOUBLE_EQ(10.0f, hypotf(6.0f, 8.0f)); in HWTEST_F() 95 EXPECT_EQ(HUGE_VAL, hypotf(4.0f, HUGE_VAL)); in HWTEST_F() 96 EXPECT_EQ(HUGE_VAL, hypotf(4.0f, -HUGE_VAL)); in HWTEST_F() 97 EXPECT_EQ(HUGE_VAL, hypotf(HUGE_VAL, 5.0f)); in HWTEST_F() 98 EXPECT_EQ(HUGE_VAL, hypotf(-HUGE_VAL, 5.0f)); in HWTEST_F() 108 EXPECT_TRUE(isnan(hypotf(6.0f, nan("")))); in HWTEST_F() 109 EXPECT_TRUE(isnan(hypotf(nan(""), 8.0f))); in HWTEST_F()
|
/third_party/musl/src/math/i386/ |
H A D | hypotf.s | 1 .global hypotf 2 .type hypotf,@function 3 hypotf: label
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_surround.c | 330 r = hypotf(*x, *y); in stereo_transform() 1114 float l_mag = hypotf(l_re, l_im); in filter_stereo() 1115 float r_mag = hypotf(r_re, r_im); in filter_stereo() 1121 float mag_total = hypotf(l_mag, r_mag); in filter_stereo() 1148 float c_mag = hypotf(c_re, c_im); in filter_surround() 1150 float l_mag = hypotf(l_re, l_im); in filter_surround() 1151 float r_mag = hypotf(r_re, r_im); in filter_surround() 1157 float mag_total = hypotf(l_mag, r_mag); in filter_surround() 1185 float l_mag = hypotf(l_re, l_im); in filter_2_1() 1186 float r_mag = hypotf(r_r in filter_2_1() [all...] |
H A D | af_dialoguenhance.c | 174 sum += sqrf(hypotf(c_re, c_im) - hypotf(p_re, p_im)); in flux() 196 sum += sqrf(hypotf(c_re, c_im) - hypotf(p_re, p_im)); in fluxlr()
|
H A D | vf_v360.c | 1861 const float r = hypotf(x, y); in stereographic_to_xyz() 1907 const float c = r / hypotf(vec[0], vec[1]); in xyz_to_stereographic() 1965 const float r = hypotf(x, y); in equisolid_to_xyz() 2011 const float c = r / hypotf(vec[0], vec[1]); in xyz_to_equisolid() 2069 const float r = hypotf(x, y); in orthographic_to_xyz() 2122 const float c = r / hypotf(vec[0], vec[1]); in xyz_to_orthographic() 2280 const float rr = fabsf(r) < 1e+6f ? r : hypotf(width, height); in xyz_to_flat() 2282 const float h = hypotf(vec[0], vec[1]); in xyz_to_flat() 2393 const float l = hypotf(vec[0], vec[1]); in xyz_to_ball() 2432 const float l = hypotf( in ball_to_xyz() [all...] |
H A D | avf_showspatial.c | 234 float l = hypotf(RE(idx, 0), IM(idx, 0)); in draw_spatial() 235 float r = hypotf(RE(idx, 1), IM(idx, 1)); in draw_spatial()
|
H A D | af_apsyclip.c | 299 magnitude = hypotf(spectrum[2 * i], spectrum[2 * i + 1]) * 2; in calculate_mask_curve() 321 magnitude = hypotf(spectrum[2 * i], spectrum[2 * i + 1]) * 2; in calculate_mask_curve() 363 relative_distortion_level = hypotf(real, imag) * 2 / mask_curve[i]; in limit_clip_spectrum()
|
H A D | vf_xfade.c | 553 float z = powf(2.f * fabsf(progress - 0.5f), 3.f) * hypotf(width/2, height/2); \ 564 float dist = hypotf(x - width / 2, y - height / 2); \ 860 const float z = hypotf(width / 2, height / 2); \ 865 const float smooth = hypotf(x - width / 2, y - height / 2) / z + p; \ 889 const float z = hypotf(width / 2, height / 2); \ 894 const float smooth = hypotf(x - width / 2, y - height / 2) / z + p; \
|
H A D | vf_signalstats.c | 483 p_sat[i] = hypotf(yuvu - 128, yuvv - 128); // int or round? in compute_sat_hue_metrics8() 522 p_sat[i] = hypotf(yuvu - mid, yuvv - mid); // int or round? in compute_sat_hue_metrics16()
|
H A D | af_aspectralstats.c | 425 magnitude[n] = hypotf(fft_out[n].re, fft_out[n].im); in filter_channel()
|
H A D | af_firequalizer.c | 373 yb = s->min_phase && (i > 1) ? hypotf(s->analysis_buf[i], s->analysis_buf[i+1]) : s->analysis_buf[i]; in dump_fir()
|
H A D | avf_showspectrum.c | 1313 #define MAGNITUDE(y, ch) hypotf(RE(y, ch), IM(y, ch))
|
/third_party/musl/src/complex/ |
H A D | cabsf.c | 5 return hypotf(crealf(z), cimagf(z)); in cabsf()
|
/third_party/musl/src/math/ |
H A D | hypotf.c | 4 float hypotf(float x, float y) in hypotf() function
|
/third_party/musl/porting/liteos_a/kernel/src/math/ |
H A D | hypotf.c | 4 float hypotf(float x, float y) in hypotf() function
|
/third_party/musl/libc-test/src/math/ |
H A D | hypotf.c | 6 #include "ucb/hypotf.h" 7 #include "sanity/hypotf.h" 8 #include "special/hypotf.h" 27 y = hypotf(p->x, p->x2); in main() 31 printf("%s:%d: bad fp exception: %s hypotf(%a,%a)=%a, want %s", in main() 38 printf("%s:%d: %s hypotf(%a,%a) want %a got %a ulperr %.3f = %a + %a\n", in main()
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | math.h | 236 float hypotf(float, float);
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | math.h | 236 float hypotf(float, float);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | math.h | 236 float hypotf(float, float);
|
/third_party/musl/include/ |
H A D | math.h | 236 float hypotf(float, float);
|
/third_party/musl/libc-test/src/api/ |
H A D | math.c | 130 {float(*p)(float,float) = hypotf;} in f()
|
/third_party/FreeBSD/lib/msun/src/ |
H A D | math_private.h | 881 #define __ieee754_hypotf hypotf
|
/third_party/musl/libc-test/src/math/gen/ |
H A D | mplibm.c | 151 int mphypotf(struct t *t) { return mpf2(t, hypotf); } in mphypotf()
|
/third_party/optimized-routines/math/test/ |
H A D | mathtest.c | 264 TFUNC(at_s2, rt_s, hypotf, 4*ULPUNIT),
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/ |
H A D | stylo.hpp | 33871 extern float hypotf (float __x, float __y) throw (); extern float __hypotf (float __x, float __y) throw (); 35266 using ::hypotf; [all...] |