/third_party/skia/src/pathops/ |
H A D | SkPathOpsTypes.h | 10 #include <float.h> // for FLT_EPSILON 306 // FLT_EPSILON == 1.19209290E-07 == 1 / (2 ^ 23) 308 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; [all...] |
H A D | SkPathOpsTypes.cpp | 13 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/ |
H A D | PathOpsCubicIntersectionTestData.cpp | 14 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 * [all...] |
H A D | PathOpsQuadIntersectionTestData.cpp | 47 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?
|
H A D | ScaleToSidesTest.cpp | 40 FLT_EPSILON, in DEF_TEST()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_test_arit.c | 246 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/ |
H A D | strokerect_gm.cpp | 21 {0, 0, W, FLT_EPSILON}, in REG_FIDDLE() 22 {0, 0, FLT_EPSILON, H}, in REG_FIDDLE() 23 {0, 0, FLT_EPSILON, FLT_EPSILON}, in REG_FIDDLE()
|
/third_party/skia/gm/ |
H A D | strokerect.cpp | 93 { 0, 0, W, FLT_EPSILON }, 94 { 0, 0, FLT_EPSILON, H }, 95 { 0, 0, FLT_EPSILON, FLT_EPSILON },
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_aspectralstats.c | 220 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...] |
H A D | vf_colorcontrast.c | 81 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()
|
H A D | f_metadata.c | 151 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/src/effects/ |
H A D | SkHighContrastFilter.cpp | 53 -1.0f + FLT_EPSILON, in Make() 54 +1.0f - FLT_EPSILON); in Make()
|
/third_party/ffmpeg/tests/checkasm/ |
H A D | float_dsp.c | 57 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/musl/porting/liteos_a/kernel/src/math/ |
H A D | rintf.c | 6 #define EPS FLT_EPSILON
|
H A D | roundf.c | 4 #define EPS FLT_EPSILON
|
/third_party/musl/src/math/ |
H A D | roundf.c | 4 #define EPS FLT_EPSILON
|
H A D | rintf.c | 6 #define EPS FLT_EPSILON
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | float.h | 16 #define FLT_EPSILON 1.1920928955078125e-07F macro
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | float.h | 16 #define FLT_EPSILON 1.1920928955078125e-07F macro
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | float.h | 16 #define FLT_EPSILON 1.1920928955078125e-07F macro
|
/third_party/musl/libc-test/src/functionalext/supplement/math/ |
H A D | significandf.c | 22 if (!(fabsf(a - b) < FLT_EPSILON)) \
|
/third_party/musl/include/ |
H A D | float.h | 16 #define FLT_EPSILON 1.1920928955078125e-07F macro
|
/third_party/musl/libc-test/src/api/ |
H A D | float.c | 32 D(FLT_EPSILON) in f()
|
/third_party/ffmpeg/libavcodec/ |
H A D | aacsbr.c | 250 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/stdlib/ |
H A D | wcstof.c | 26 if (!(fabsf(a - b) < FLT_EPSILON)) \
|