Home
last modified time | relevance | path

Searched refs:FLT_EPSILON (Results 1 – 25 of 62) sorted by relevance

123

/third_party/skia/src/pathops/
DSkPathOpsTypes.h308 const double FLT_EPSILON_CUBED = FLT_EPSILON * FLT_EPSILON * FLT_EPSILON;
309 const double FLT_EPSILON_HALF = FLT_EPSILON / 2;
310 const double FLT_EPSILON_DOUBLE = FLT_EPSILON * 2;
311 const double FLT_EPSILON_ORDERABLE_ERR = FLT_EPSILON * 16;
312 const double FLT_EPSILON_SQUARED = FLT_EPSILON * FLT_EPSILON;
316 const double FLT_EPSILON_INVERSE = 1 / FLT_EPSILON;
319 const double ROUGH_EPSILON = FLT_EPSILON * 64;
320 const double MORE_ROUGH_EPSILON = FLT_EPSILON * 256;
321 const double WAY_ROUGH_EPSILON = FLT_EPSILON * 2048;
322 const double BUMP_EPSILON = FLT_EPSILON * 4096;
[all …]
DSkPathOpsTypes.cpp13 float denormalizedCheck = FLT_EPSILON * epsilon / 2; in arguments_denormalized()
88 return a <= b - FLT_EPSILON * epsilon; in less_ulps()
98 return a < b + FLT_EPSILON * epsilon; in less_or_equal_ulps()
126 return fabs(a - b) / std::max(fabs(a), fabs(b)) < FLT_EPSILON * 16; in AlmostDequalUlps()
/third_party/skia/tests/
DPathOpsCubicIntersectionTestData.cpp14 static const double D = FLT_EPSILON / 2;
15 static const double G = FLT_EPSILON / 3;
16 static const double N = -FLT_EPSILON / 2;
17 static const double M = -FLT_EPSILON / 3;
51 {{{1 + FLT_EPSILON * 8, 1}, {1, FLT_EPSILON * 8}, {1, 1}, {1, 1}}},
52 {{{1 + FLT_EPSILON * 8, 1}, {1 - FLT_EPSILON * 8, 1}, {1, 1}, {1, 1}}}
161 static const double E = FLT_EPSILON * 8;
162 static const double F = FLT_EPSILON * 8;
DPathOpsQuadIntersectionTestData.cpp47 static const double F = FLT_EPSILON * 32;
48 static const double H = FLT_EPSILON * 32;
49 static const double J = FLT_EPSILON * 32;
50 static const double K = FLT_EPSILON * 32; // INVESTIGATE: why are larger multiples necessary?
DScaleToSidesTest.cpp40 FLT_EPSILON, in DEF_TEST()
DPathOpsLineParametetersTest.cpp22 {{{0, FLT_EPSILON * 2}, {1, 0}, {2, 0}, {3, 0}}},
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_test_arit.c246 FLT_EPSILON,
247 -FLT_EPSILON,
248 1.0f - 0.5f*FLT_EPSILON,
249 -1.0f + FLT_EPSILON,
259 x = 1.0f - 0.5f*FLT_EPSILON; in fractf()
279 FLT_EPSILON,
280 -FLT_EPSILON,
281 1.0f - 0.5f*FLT_EPSILON,
282 -1.0f + FLT_EPSILON,
/third_party/skia/docs/examples/
Dstrokerect_gm.cpp21 {0, 0, W, FLT_EPSILON}, in draw()
22 {0, 0, FLT_EPSILON, H}, in draw()
23 {0, 0, FLT_EPSILON, FLT_EPSILON}, in draw()
/third_party/ffmpeg/libavfilter/
Daf_aspectralstats.c220 if (den <= FLT_EPSILON) in spectral_centroid()
235 if (den <= FLT_EPSILON) in spectral_spread()
256 if (den <= FLT_EPSILON) in spectral_skewness()
272 if (den <= FLT_EPSILON) in spectral_kurtosis()
282 num += spectral[n] * logf(spectral[n] + FLT_EPSILON); in spectral_entropy()
286 if (den <= FLT_EPSILON) in spectral_entropy()
296 float v = FLT_EPSILON + spectral[n]; in spectral_flatness()
304 if (den <= FLT_EPSILON) in spectral_flatness()
319 if (mean <= FLT_EPSILON) in spectral_crest()
349 if (fabsf(den) <= FLT_EPSILON) in spectral_slope()
[all …]
Dvf_colorcontrast.c81 lo = FFMAX3(nr, ng, nb) + FFMIN3(nr, ng, nb) + FLT_EPSILON; \
116 for (int y = slice_start; y < slice_end && sum > FLT_EPSILON; y++) { in colorcontrast_slice8()
170 for (int y = slice_start; y < slice_end && sum > FLT_EPSILON; y++) { in colorcontrast_slice16()
222 for (int y = slice_start; y < slice_end && sum > FLT_EPSILON; y++) { in colorcontrast_slice8p()
274 for (int y = slice_start; y < slice_end && sum > FLT_EPSILON; y++) { in colorcontrast_slice16p()
Df_metadata.c151 return fabsf(f1 - f2) < FLT_EPSILON; in equal()
161 return (f1 - f2) < FLT_EPSILON; in less()
171 return (f2 - f1) < FLT_EPSILON; in greater()
/third_party/skia/gm/
Dstrokerect.cpp93 { 0, 0, W, FLT_EPSILON }, in onDraw()
94 { 0, 0, FLT_EPSILON, H }, in onDraw()
95 { 0, 0, FLT_EPSILON, FLT_EPSILON }, in onDraw()
/third_party/skia/src/effects/
DSkHighContrastFilter.cpp53 -1.0f + FLT_EPSILON, in Make()
54 +1.0f - FLT_EPSILON); in Make()
/third_party/ffmpeg/tests/checkasm/
Dfloat_dsp.c57 if (!float_near_abs_eps(cdst[i], odst[i], t * 2 * FLT_EPSILON)) { in test_vector_fmul()
125 if (!float_near_abs_eps(cdst[i], odst[i], t * 2 * FLT_EPSILON)) { in test_vector_fmul_scalar()
250 if (!float_near_abs_eps(cdst[i], odst[i], FLT_EPSILON) || in test_butterflies_float()
251 !float_near_abs_eps(cdst1[i], odst1[i], FLT_EPSILON)) { in test_butterflies_float()
/third_party/ffmpeg/libavcodec/
Daacsbr.c250 …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/libc-test/src/functionalext/supplement/math/
Dsignificandf.c22 if (!(fabsf(a - b) < FLT_EPSILON)) \
/third_party/musl/porting/liteos_a/kernel/include/
Dfloat.h16 #define FLT_EPSILON 1.1920928955078125e-07F macro
/third_party/musl/porting/uniproton/kernel/include/
Dfloat.h16 #define FLT_EPSILON 1.1920928955078125e-07F macro
/third_party/musl/include/
Dfloat.h16 #define FLT_EPSILON 1.1920928955078125e-07F macro
/third_party/musl/porting/liteos_m/kernel/include/
Dfloat.h16 #define FLT_EPSILON 1.1920928955078125e-07F macro
/third_party/musl/porting/liteos_a/kernel/src/math/
Drintf.c6 #define EPS FLT_EPSILON
Droundf.c4 #define EPS FLT_EPSILON
/third_party/musl/src/math/
Drintf.c6 #define EPS FLT_EPSILON
Droundf.c4 #define EPS FLT_EPSILON
/third_party/musl/libc-test/src/api/
Dfloat.c32 D(FLT_EPSILON) in f()

123