Home
last modified time | relevance | path

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

1234

/third_party/flutter/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) / SkTMax(fabs(a), fabs(b)) < FLT_EPSILON * 16; in AlmostDequalUlps()
/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/flutter/skia/tests/
DPathOpsCubicIntersectionTestData.cpp12 static const double D = FLT_EPSILON / 2;
13 static const double G = FLT_EPSILON / 3;
14 static const double N = -FLT_EPSILON / 2;
15 static const double M = -FLT_EPSILON / 3;
49 {{{1 + FLT_EPSILON * 8, 1}, {1, FLT_EPSILON * 8}, {1, 1}, {1, 1}}},
50 {{{1 + FLT_EPSILON * 8, 1}, {1 - FLT_EPSILON * 8, 1}, {1, 1}, {1, 1}}}
159 static const double E = FLT_EPSILON * 8;
160 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?
/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?
/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/flutter/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/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/libffi/testsuite/libffi.closures/
Dcls_many_mixed_args.c30 CHECK(fabs(t - ((i+1) * 0.1)) < FLT_EPSILON); in cls_ret_double_fn()
66 if (fabs(res - expected) < FLT_EPSILON) in main()
/third_party/ffmpeg/libavfilter/
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.c145 return fabsf(f1 - f2) < FLT_EPSILON; in equal()
155 return (f1 - f2) < FLT_EPSILON; in less()
165 return (f2 - f1) < FLT_EPSILON; in greater()
/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/uniproton/kernel/include/
Dfloat.h16 #define FLT_EPSILON 1.1920928955078125e-07F macro
/third_party/musl/ndk_musl_include/
Dfloat.h16 #define FLT_EPSILON 1.1920928955078125e-07F macro
/third_party/musl/porting/liteos_a/kernel/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/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

1234