Home
last modified time | relevance | path

Searched refs:fmax (Results 1 - 25 of 76) sorted by relevance

1234

/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/
H A Dmath_fmax_test.cpp17 * @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 Dhp-accessor.c538 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 Dunittests.cpp71 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 Dtgmath.c136 #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 Dfmax.c3 double fmax(double x, double y) in fmax() function
/third_party/musl/src/math/powerpc64/
H A Dfmax.c5 double fmax(double x, double y) in fmax() function
13 #include "../fmax.c"
/third_party/musl/src/math/riscv32/
H A Dfmax.c5 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 Dfmax.c5 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 Dfmax.c3 double fmax(double x, double y) in fmax() function
H A Dfmaxl.c7 return fmax(x, y); in fmaxl()
/third_party/musl/porting/liteos_a/kernel/src/math/
H A Dfmax.c3 double fmax(double x, double y) in fmax() function
H A Dfmaxl.c7 return fmax(x, y); in fmaxl()
/third_party/ffmpeg/libavfilter/
H A Daf_silenceremove.c185 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 Daf_afftdn.c342 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 Daf_dynaudnorm.c387 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 Dmath.c30 FUN(fmax, double, >)
/third_party/pulseaudio/speex/tmv/
H A Dspeex_config_types.h23 #define VMAX(a,b) fmax((a),(b))
H A D_kiss_fft_guts_tm.h94 #define MAX(a,b) fmax(a,b)
/third_party/musl/libc-test/src/math/
H A Dfmax.c6 #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 Dtgmath.h172 #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 Dtgmath.h172 #undef fmax macro
235 #define fmax(x,y) __tg_real_2(fmax, (x), (y)) macro
/third_party/musl/include/
H A Dtgmath.h172 #undef fmax macro
235 #define fmax(x,y) __tg_real_2(fmax, (x), (y)) macro
/third_party/mesa3d/src/compiler/nir/
H A Dnir_opt_uniform_atomics.c84 OP_NOIMG(fmax, fmax) in parse_atomic_op()
/third_party/mesa3d/src/compiler/nir/tests/
H A Dserialize_tests.cpp128 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 Dtest-disasm-fp-aarch64.cc153 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()

Completed in 15 milliseconds

1234