Home
last modified time | relevance | path

Searched refs:fabsf (Results 1 – 25 of 260) sorted by relevance

1234567891011

/third_party/flutter/skia/tests/
DNonlinearBlendingTest.cpp49 REPORTER_ASSERT(r, fabsf(via_skcms[0] - via_steps[0]) <= 0.005f); in DEF_TEST()
50 REPORTER_ASSERT(r, fabsf(via_skcms[1] - via_steps[1]) <= 0.005f); in DEF_TEST()
51 REPORTER_ASSERT(r, fabsf(via_skcms[2] - via_steps[2]) <= 0.005f); in DEF_TEST()
52 REPORTER_ASSERT(r, fabsf(via_skcms[3] - via_steps[3]) <= 0.0f); in DEF_TEST()
65 REPORTER_ASSERT(r, fabsf(skcms_to_steps[0] - steps_to_skcms[0]) <= 0.005f); in DEF_TEST()
66 REPORTER_ASSERT(r, fabsf(skcms_to_steps[1] - steps_to_skcms[1]) <= 0.005f); in DEF_TEST()
67 REPORTER_ASSERT(r, fabsf(skcms_to_steps[2] - steps_to_skcms[2]) <= 0.005f); in DEF_TEST()
68 REPORTER_ASSERT(r, fabsf(skcms_to_steps[3] - steps_to_skcms[3]) <= 0.0f); in DEF_TEST()
/third_party/skia/tests/
DNonlinearBlendingTest.cpp49 REPORTER_ASSERT(r, fabsf(via_skcms[0] - via_steps[0]) <= 0.005f); in DEF_TEST()
50 REPORTER_ASSERT(r, fabsf(via_skcms[1] - via_steps[1]) <= 0.005f); in DEF_TEST()
51 REPORTER_ASSERT(r, fabsf(via_skcms[2] - via_steps[2]) <= 0.005f); in DEF_TEST()
52 REPORTER_ASSERT(r, fabsf(via_skcms[3] - via_steps[3]) <= 0.0f); in DEF_TEST()
65 REPORTER_ASSERT(r, fabsf(skcms_to_steps[0] - steps_to_skcms[0]) <= 0.005f); in DEF_TEST()
66 REPORTER_ASSERT(r, fabsf(skcms_to_steps[1] - steps_to_skcms[1]) <= 0.005f); in DEF_TEST()
67 REPORTER_ASSERT(r, fabsf(skcms_to_steps[2] - steps_to_skcms[2]) <= 0.005f); in DEF_TEST()
68 REPORTER_ASSERT(r, fabsf(skcms_to_steps[3] - steps_to_skcms[3]) <= 0.0f); in DEF_TEST()
/third_party/mesa3d/src/util/
Du_math.c169 if (fabsf(r3[0]) > fabsf(r2[0])) in util_invert_mat4x4()
171 if (fabsf(r2[0]) > fabsf(r1[0])) in util_invert_mat4x4()
173 if (fabsf(r1[0]) > fabsf(r0[0])) in util_invert_mat4x4()
220 if (fabsf(r3[1]) > fabsf(r2[1])) in util_invert_mat4x4()
222 if (fabsf(r2[1]) > fabsf(r1[1])) in util_invert_mat4x4()
256 if (fabsf(r3[2]) > fabsf(r2[2])) in util_invert_mat4x4()
/third_party/cmsis/CMSIS/DSP/Source/BasicMathFunctions/
Darm_abs_f32.c158 *pDst++ = fabsf(*pSrc++); in arm_abs_f32()
160 *pDst++ = fabsf(*pSrc++); in arm_abs_f32()
162 *pDst++ = fabsf(*pSrc++); in arm_abs_f32()
164 *pDst++ = fabsf(*pSrc++); in arm_abs_f32()
186 *pDst++ = fabsf(*pSrc++); in arm_abs_f32()
Darm_abs_f16.c159 *pDst++ = fabsf(*pSrc++); in arm_abs_f16()
161 *pDst++ = fabsf(*pSrc++); in arm_abs_f16()
163 *pDst++ = fabsf(*pSrc++); in arm_abs_f16()
165 *pDst++ = fabsf(*pSrc++); in arm_abs_f16()
187 *pDst++ = fabsf(*pSrc++); in arm_abs_f16()
/third_party/cmsis/CMSIS/DSP/Source/DistanceFunctions/
Darm_canberra_distance_f32.c185 diff = fabsf(tmpA - tmpB); in arm_canberra_distance_f32()
186 sum = fabsf(tmpA) + fabsf(tmpB); in arm_canberra_distance_f32()
206 diff = fabsf(tmpA - tmpB); in arm_canberra_distance_f32()
207 sum = fabsf(tmpA) + fabsf(tmpB); in arm_canberra_distance_f32()
Darm_chebyshev_distance_f32.c117 diff = fabsf(tmpA - tmpB); in arm_chebyshev_distance_f32()
125 diff = fabsf(tmpA - tmpB); in arm_chebyshev_distance_f32()
171 diff = fabsf(tmpA - tmpB); in arm_chebyshev_distance_f32()
189 diff = fabsf(tmpA - tmpB); in arm_chebyshev_distance_f32()
197 diff = fabsf(tmpA - tmpB); in arm_chebyshev_distance_f32()
Darm_braycurtis_distance_f32.c146 accumDiff += fabsf(*pA - *pB); in arm_braycurtis_distance_f32()
147 accumSum += fabsf(*pA++ + *pB++); in arm_braycurtis_distance_f32()
168 accumDiff += fabsf(tmpA - tmpB); in arm_braycurtis_distance_f32()
169 accumSum += fabsf(tmpA + tmpB); in arm_braycurtis_distance_f32()
Darm_canberra_distance_f16.c153 diff = fabsf(tmpA - tmpB); in arm_canberra_distance_f16()
154 sum = fabsf(tmpA) + fabsf(tmpB); in arm_canberra_distance_f16()
Darm_chebyshev_distance_f16.c120 diff = fabsf(tmpA - tmpB); in arm_chebyshev_distance_f16()
128 diff = fabsf(tmpA - tmpB); in arm_chebyshev_distance_f16()
Darm_braycurtis_distance_f16.c136 accumDiff += (_Float16)fabsf(tmpA - tmpB); in arm_braycurtis_distance_f16()
137 accumSum += (_Float16)fabsf(tmpA + tmpB); in arm_braycurtis_distance_f16()
/third_party/musl/src/math/i386/
Dfabsf.s1 .global fabsf symbol
2 .type fabsf,@function
3 fabsf: label
/third_party/musl/src/math/x86_64/
Dfabsf.s1 .global fabsf symbol
2 .type fabsf,@function
3 fabsf: label
/third_party/musl/src/math/x32/
Dfabsf.s1 .global fabsf symbol
2 .type fabsf,@function
3 fabsf: label
/third_party/ffmpeg/libavcodec/tests/
Dcelp_math.c24 float diff = fabsf(A - B); in IsAlmostEqual()
25 float absa = fabsf(A); in IsAlmostEqual()
26 float absb = fabsf(B); in IsAlmostEqual()
/third_party/musl/src/math/
Djnf.c44 x = fabsf(x); in jnf()
131 tmp = nf*logf(fabsf(w)); in jnf()
153 if (fabsf(z) >= fabsf(w)) in jnf()
/third_party/musl/porting/liteos_a/kernel/src/math/
Djnf.c44 x = fabsf(x); in jnf()
131 tmp = nf*logf(fabsf(w)); in jnf()
153 if (fabsf(z) >= fabsf(w)) in jnf()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_emit.c36 float vp_minx = -fabsf(vpscale[0]) + vptranslate[0]; in vc4_emit_state()
37 float vp_maxx = fabsf(vpscale[0]) + vptranslate[0]; in vc4_emit_state()
38 float vp_miny = -fabsf(vpscale[1]) + vptranslate[1]; in vc4_emit_state()
39 float vp_maxy = fabsf(vpscale[1]) + vptranslate[1]; in vc4_emit_state()
/third_party/skia/docs/examples/
DPoint_isZero.cpp8 SkDebugf("pt.fX=%c%g pt.fY=%c%g\n", std::signbit(pt.fX) ? '-' : '+', fabsf(pt.fX), in draw()
9 std::signbit(pt.fY) ? '-' : '+', fabsf(pt.fY)); in draw()
/third_party/flutter/skia/docs/examples/
DPoint_isZero.cpp8 SkDebugf("pt.fX=%c%g pt.fY=%c%g\n", std::signbit(pt.fX) ? '-' : '+', fabsf(pt.fX), in draw()
9 std::signbit(pt.fY) ? '-' : '+', fabsf(pt.fY)); in draw()
/third_party/mesa3d/src/freedreno/common/
Dfreedreno_guardband.h49 const float gb_min_ndc = (gb_min - offset) / fabsf(scale); in fd_calc_guardband()
50 const float gb_max_ndc = (gb_max - offset) / fabsf(scale); in fd_calc_guardband()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_line.c374 } else if (fabsf(dx) >= fabsf(dy)) { in try_setup_line()
390 if (fabsf(x1diff) + fabsf(y1diff) < 0.5) { in try_setup_line()
409 if (fabsf(x2diff) + fabsf(y2diff) < 0.5) { in try_setup_line()
492 if (fabsf(x1diff) + fabsf(y1diff) < 0.5) { in try_setup_line()
510 if (fabsf(x2diff) + fabsf(y2diff) < 0.5) { in try_setup_line()
/third_party/ffmpeg/libavfilter/
Daf_surround.c328 if (fabsf(a) <= M_PI_4) in stereo_transform()
331 a = M_PI + 2 * (-2 * M_PI + reference) * (M_PI - fabsf(a)) * FFDIFFSIGN(a, 0) / (3 * M_PI); in stereo_transform()
371 mag = powf(1.f - fabsf(x), s->fc_x) * powf((y + 1.f) * .5f, s->fc_y) * mag_total; in upmix_1_0()
446 c_mag = powf(1.f - fabsf(x), s->fc_x) * powf((y + 1.f) * .5f, s->fc_y) * mag_total; in upmix_3_0()
478 c_mag = powf(1.f - fabsf(x), s->fc_x) * powf((y + 1.f) * .5f, s->fc_y) * mag_total; in upmix_3_1()
546 c_mag = powf(1.f - fabsf(x), s->fc_x) * powf((y + 1.f) * .5f, s->fc_y) * mag_total; in upmix_4_0()
547 b_mag = powf(1.f - fabsf(x), s->bc_x) * powf((1.f - y) * .5f, s->bc_y) * mag_total; in upmix_4_0()
586 c_mag = powf(1.f - fabsf(x), s->fc_x) * powf((y + 1.f) * .5f, s->fc_y) * mag_total; in upmix_4_1()
587 b_mag = powf(1.f - fabsf(x), s->bc_x) * powf((1.f - y) * .5f, s->bc_y) * mag_total; in upmix_4_1()
621 c_mag = powf(1.f - fabsf(x), s->fc_x) * powf((y + 1.f) * .5f, s->fc_y) * mag_total; in upmix_5_0_back()
[all …]
/third_party/musl/src/complex/
Dcsqrtf.c61 return CMPLXF(fabsf(b - b), copysignf(a, b)); in csqrtf()
80 return CMPLXF(fabsf(b) / (2.0 * t), copysignf(t, b)); in csqrtf()
/third_party/pulseaudio/src/modules/echo-cancel/
Dadrian-aec.c130 a->dfast += ALPHAFAST * (fabsf(d) - a->dfast); in AEC_dtd()
131 a->xfast += ALPHAFAST * (fabsf(x) - a->xfast); in AEC_dtd()
134 a->dslow += ALPHASLOW * (fabsf(d) - a->dslow); in AEC_dtd()
135 a->xslow += ALPHASLOW * (fabsf(x) - a->xslow); in AEC_dtd()

1234567891011