/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/ |
H A D | math_fmax_test.cpp | 17 * @tc.desc: Obtain test data in sequence and check if it is within the expected error range of the fmax interface. 24 bool testResult = DoubleUlpCmp(g_fmaxData[i].expected, fmax(g_fmaxData[i].input1, g_fmaxData[i].input2), 1); in HWTEST_F() 31 * @tc.desc: When the parameter of fmax is valid, test the return value of the function. 36 EXPECT_DOUBLE_EQ(17.0, fmax(17.0, 17.0)); in HWTEST_F() 37 EXPECT_DOUBLE_EQ(15.0, fmax(15.0, nan(""))); in HWTEST_F() 38 EXPECT_DOUBLE_EQ(14.0, fmax(nan(""), 14.0)); in HWTEST_F()
|
/third_party/backends/backend/ |
H A D | hp-accessor.c | 538 SANE_Fixed fmax; member 557 return this->fmax; in sanei_hp_accessor_vector_maxval() 630 if (*ptr > this->fmax) in hp_accessor_vector_set() 631 *ptr = this->fmax; in hp_accessor_vector_set() 682 new->fmax = SANE_FIX(1.0); in sanei_hp_accessor_vector_new() 725 this->fmax = SANE_FIX(255.0); in sanei_hp_accessor_gamma_vector_new() 745 return sign | ((fval * max_val + this->fmax / 2) / this->fmax); in _matrix_vector_unscale() 758 fval = (this->fmax * (val & max_val) + max_val / 2) / max_val; in _matrix_vector_scale() 779 this->fmax in sanei_hp_accessor_matrix_vector_new() [all...] |
/third_party/skia/third_party/externals/swiftshader/tests/MathUnitTests/ |
H A D | unittests.cpp | 71 const float max_c = fmax(fmax(red_c, green_c), blue_c); in RGB9E5_reference() 72 const float exp_p = fmax(-g_sharedexp_bias - 1, floor(log2(max_c))) + 1 + g_sharedexp_bias; in RGB9E5_reference()
|
/third_party/musl/libc-test/src/api/ |
H A D | tgmath.c | 136 #ifdef fmax in f() 137 {double r = fmax(x,y);} in f() 139 #error no fmax(x,y) in f()
|
/third_party/musl/src/math/aarch64/ |
H A D | fmax.c | 3 double fmax(double x, double y) in fmax() function
|
/third_party/musl/src/math/powerpc64/ |
H A D | fmax.c | 5 double fmax(double x, double y) in fmax() function 13 #include "../fmax.c"
|
/third_party/musl/src/math/riscv32/ |
H A D | fmax.c | 5 double fmax(double x, double y) in fmax() function 7 __asm__ ("fmax.d %0, %1, %2" : "=f"(x) : "f"(x), "f"(y)); in fmax() 13 #include "../fmax.c"
|
/third_party/musl/src/math/riscv64/ |
H A D | fmax.c | 5 double fmax(double x, double y) in fmax() function 7 __asm__ ("fmax.d %0, %1, %2" : "=f"(x) : "f"(x), "f"(y)); in fmax() 13 #include "../fmax.c"
|
/third_party/musl/src/math/ |
H A D | fmax.c | 3 double fmax(double x, double y) in fmax() function
|
H A D | fmaxl.c | 7 return fmax(x, y); in fmaxl()
|
/third_party/musl/porting/liteos_a/kernel/src/math/ |
H A D | fmax.c | 3 double fmax(double x, double y) in fmax() function
|
H A D | fmaxl.c | 7 return fmax(x, y); in fmaxl()
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_silenceremove.c | 185 new_sum = fmax(new_sum, 0.); in compute_peak_double() 199 s->sum = fmax(s->sum, 0.); in update_peak_double() 243 new_sum = fmax(new_sum, 0.); in compute_rms_double() 258 s->sum = fmax(s->sum, 0.); in update_rms_double() 303 new_sum = fmax(new_sum, 0.); in compute_peak_doublep() 317 s->sum = fmax(s->sum, 0.); in update_peak_doublep() 361 new_sum = fmax(new_sum, 0.); in compute_rms_doublep() 376 s->sum = fmax(s->sum, 0.); in update_rms_doublep()
|
H A D | af_afftdn.c | 342 offset = fmax(offset, fabs(p)); in floor_offset() 370 new_mag_abs_var = ratio * prior[i] + rratio * fmax(mag_abs_var - 1.0, 0.0); in process_frame() 402 band_excit[i] = fmax(band_excit[i], in process_frame() 556 dnch->last_noise_floor = fmax(dnch->last_noise_floor, dnch->residual_floor); in set_parameters() 568 dnch->last_noise_reduction = fmax(dnch->last_noise_floor - dnch->last_residual_floor + 100., 0); in set_parameters() 584 dnch->abs_var[i] = fmax(dnch->max_var * dnch->rel_var[i], 1.0); in set_parameters() 904 mag2 = fmax(mag2, s->sample_floor); in sample_noise_block() 1033 max = fmax(max, dnch->noise_floor); in output_frame()
|
H A D | af_dynaudnorm.c | 387 max = fmax(max, fabs(data_ptr[i])); in find_peak_magnitude() 393 max = fmax(max, fabs(data_ptr[i])); in find_peak_magnitude() 422 return fmax(sqrt(rms_value), DBL_EPSILON); in compute_frame_rms() 605 return fmax(sqrt(variance), DBL_EPSILON); in compute_frame_std_dev()
|
/third_party/ffmpeg/compat/djgpp/ |
H A D | math.c | 30 FUN(fmax, double, >)
|
/third_party/pulseaudio/speex/tmv/ |
H A D | speex_config_types.h | 23 #define VMAX(a,b) fmax((a),(b))
|
H A D | _kiss_fft_guts_tm.h | 94 #define MAX(a,b) fmax(a,b)
|
/third_party/musl/libc-test/src/math/ |
H A D | fmax.c | 6 #include "sanity/fmax.h" 7 #include "special/fmax.h" 26 y = fmax(p->x, p->x2); in main() 30 printf("%s:%d: bad fp exception: %s fmax(%a,%a)=%a, want %s", in main() 37 printf("%s:%d: %s fmax(%a,%a) want %a got %a ulperr %.3f = %a + %a\n", in main()
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | tgmath.h | 172 #undef fmax macro 235 #define fmax(x,y) __tg_real_2(fmax, (x), (y)) macro
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | tgmath.h | 172 #undef fmax macro 235 #define fmax(x,y) __tg_real_2(fmax, (x), (y)) macro
|
/third_party/musl/include/ |
H A D | tgmath.h | 172 #undef fmax macro 235 #define fmax(x,y) __tg_real_2(fmax, (x), (y)) macro
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_opt_uniform_atomics.c | 84 OP_NOIMG(fmax, fmax) in parse_atomic_op()
|
/third_party/mesa3d/src/compiler/nir/tests/ |
H A D | serialize_tests.cpp | 128 nir_ssa_def *fmax = nir_fmax(b, zero, zero); in TEST_P() local 130 nir_alu_instr *fmax_alu = nir_instr_as_alu(fmax->parent_instr); in TEST_P()
|
/third_party/vixl/test/aarch64/ |
H A D | test-disasm-fp-aarch64.cc | 153 COMPARE(fmax(h9, h10, h11), "fmax h9, h10, h11"); in TEST() 154 COMPARE(fmax(s19, s20, s21), "fmax s19, s20, s21"); in TEST() 155 COMPARE(fmax(d22, d23, d24), "fmax d22, d23, d24"); in TEST()
|