Searched refs:FLT_EPSILON (Results 1 - 25 of 162) sorted by relevance

1234567

/external/chromium_org/third_party/skia/tests/
H A DPathOpsQuadIntersectionTestData.cpp47 static const double F = FLT_EPSILON * 3;
48 static const double H = FLT_EPSILON * 4;
49 static const double J = FLT_EPSILON * 5;
50 static const double K = FLT_EPSILON * 8; // INVESTIGATE: why are larger multiples necessary?
H A 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 * 2, 1}, {1, FLT_EPSILON * 2}, {1, 1}, {1, 1}}},
50 {{{1 + FLT_EPSILON * 2, 1}, {1 - FLT_EPSILON * 2, 1}, {1, 1}, {1, 1}}}
159 static const double E = FLT_EPSILON * 2;
160 static const double F = FLT_EPSILON *
[all...]
/external/skia/tests/
H A DPathOpsQuadIntersectionTestData.cpp47 static const double F = FLT_EPSILON * 3;
48 static const double H = FLT_EPSILON * 4;
49 static const double J = FLT_EPSILON * 5;
50 static const double K = FLT_EPSILON * 8; // INVESTIGATE: why are larger multiples necessary?
H A 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 * 2, 1}, {1, FLT_EPSILON * 2}, {1, 1}, {1, 1}}},
50 {{{1 + FLT_EPSILON * 2, 1}, {1 - FLT_EPSILON * 2, 1}, {1, 1}, {1, 1}}}
159 static const double E = FLT_EPSILON * 2;
160 static const double F = FLT_EPSILON *
[all...]
/external/chromium_org/third_party/skia/src/pathops/
H A DSkPathOpsTypes.h10 #include <float.h> // for FLT_EPSILON
81 // FLT_EPSILON == 1.19209290E-07 == 1 / (2 ^ 23)
83 const double FLT_EPSILON_CUBED = FLT_EPSILON * FLT_EPSILON * FLT_EPSILON;
84 const double FLT_EPSILON_HALF = FLT_EPSILON / 2;
85 const double FLT_EPSILON_DOUBLE = FLT_EPSILON * 2;
86 const double FLT_EPSILON_ORDERABLE_ERR = FLT_EPSILON * 16;
87 const double FLT_EPSILON_SQUARED = FLT_EPSILON * FLT_EPSILON;
[all...]
/external/skia/src/pathops/
H A DSkPathOpsTypes.h10 #include <float.h> // for FLT_EPSILON
81 // FLT_EPSILON == 1.19209290E-07 == 1 / (2 ^ 23)
83 const double FLT_EPSILON_CUBED = FLT_EPSILON * FLT_EPSILON * FLT_EPSILON;
84 const double FLT_EPSILON_HALF = FLT_EPSILON / 2;
85 const double FLT_EPSILON_DOUBLE = FLT_EPSILON * 2;
86 const double FLT_EPSILON_ORDERABLE_ERR = FLT_EPSILON * 16;
87 const double FLT_EPSILON_SQUARED = FLT_EPSILON * FLT_EPSILON;
[all...]
/external/chromium_org/third_party/skia/experimental/Intersection/
H A DDataTypes.h10 #include <float.h> // for FLT_EPSILON
38 // FLT_EPSILON == 1.19209290E-07 == 1 / (2 ^ 23)
40 const double FLT_EPSILON_CUBED = FLT_EPSILON * FLT_EPSILON * FLT_EPSILON;
41 const double FLT_EPSILON_HALF = FLT_EPSILON / 2;
42 const double FLT_EPSILON_SQUARED = FLT_EPSILON * FLT_EPSILON;
43 const double FLT_EPSILON_SQRT = sqrt(FLT_EPSILON);
44 const double FLT_EPSILON_INVERSE = 1 / FLT_EPSILON;
[all...]
H A DthingsToDo.txt249 if ((step > 0 ? span.fT - fromT : fromT - span.fT) >= FLT_EPSILON ) {
395 nextOther = other->fTs[start->fOtherIndex].fT > 1 - FLT_EPSILON ? NULL : other;
398 nextOther = other->fTs[end->fOtherIndex].fT < FLT_EPSILON ? NULL : other;
406 bool checkNext = !next && (step < 0 ? span.fT < FLT_EPSILON
407 && span.fOtherT > 1 - FLT_EPSILON : span.fT > 1 - FLT_EPSILON
408 && span.fOtherT < FLT_EPSILON);
409 bool checkOther = !nextOther && (step < 0 ? fabs(span.fT - start->fT) < FLT_EPSILON
410 && span.fOtherT < FLT_EPSILON : fabs(span.fT - end->fT) < FLT_EPSILON
[all...]
H A DQuadraticLineSegments.cpp32 double segments = sqrt(dist / (8 * FLT_EPSILON));
/external/skia/experimental/Intersection/
H A DDataTypes.h10 #include <float.h> // for FLT_EPSILON
38 // FLT_EPSILON == 1.19209290E-07 == 1 / (2 ^ 23)
40 const double FLT_EPSILON_CUBED = FLT_EPSILON * FLT_EPSILON * FLT_EPSILON;
41 const double FLT_EPSILON_HALF = FLT_EPSILON / 2;
42 const double FLT_EPSILON_SQUARED = FLT_EPSILON * FLT_EPSILON;
43 const double FLT_EPSILON_SQRT = sqrt(FLT_EPSILON);
44 const double FLT_EPSILON_INVERSE = 1 / FLT_EPSILON;
[all...]
H A DthingsToDo.txt249 if ((step > 0 ? span.fT - fromT : fromT - span.fT) >= FLT_EPSILON ) {
395 nextOther = other->fTs[start->fOtherIndex].fT > 1 - FLT_EPSILON ? NULL : other;
398 nextOther = other->fTs[end->fOtherIndex].fT < FLT_EPSILON ? NULL : other;
406 bool checkNext = !next && (step < 0 ? span.fT < FLT_EPSILON
407 && span.fOtherT > 1 - FLT_EPSILON : span.fT > 1 - FLT_EPSILON
408 && span.fOtherT < FLT_EPSILON);
409 bool checkOther = !nextOther && (step < 0 ? fabs(span.fT - start->fT) < FLT_EPSILON
410 && span.fOtherT < FLT_EPSILON : fabs(span.fT - end->fT) < FLT_EPSILON
[all...]
H A DQuadraticLineSegments.cpp32 double segments = sqrt(dist / (8 * FLT_EPSILON));
/external/libcxx/test/containers/unord/unord.multiset/
H A Dload_factor.pass.cpp41 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
66 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
/external/libcxx/test/containers/unord/unord.set/
H A Dload_factor.pass.cpp41 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
66 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
/external/libcxx/test/depr/depr.c.headers/
H A Dfloat_h.pass.cpp114 #ifndef FLT_EPSILON
115 #error FLT_EPSILON not defined
/external/libcxx/test/language.support/support.limits/c.limits/
H A Dcfloat.pass.cpp114 #ifndef FLT_EPSILON
115 #error FLT_EPSILON not defined
/external/chromium_org/third_party/skia/src/core/
H A DSkBitmapFilter.h145 if (x > -FLT_EPSILON && x < FLT_EPSILON) {
165 if (x > -FLT_EPSILON && x < FLT_EPSILON) {
/external/libcxx/test/language.support/support.limits/limits/numeric.limits.members/
H A Depsilon.pass.cpp51 test<float>(FLT_EPSILON);
/external/skia/src/core/
H A DSkBitmapFilter.h145 if (x > -FLT_EPSILON && x < FLT_EPSILON) {
165 if (x > -FLT_EPSILON && x < FLT_EPSILON) {
/external/clang/lib/Headers/
H A Dfloat.h61 # undef FLT_EPSILON macro
110 #define FLT_EPSILON __FLT_EPSILON__ macro
/external/libcxx/test/containers/unord/unord.map/
H A Dload_factor.pass.cpp42 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
67 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
/external/libcxx/test/containers/unord/unord.multimap/
H A Dload_factor.pass.cpp42 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
67 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
/external/libcxx/test/containers/unord/unord.multiset/unord.multiset.cnstr/
H A Dassign_init.pass.cpp59 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
92 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
/external/libcxx/test/containers/unord/unord.set/unord.set.cnstr/
H A Dassign_init.pass.cpp59 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
92 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_test_arit.c194 x = 1.0f - 0.5f*FLT_EPSILON;
214 FLT_EPSILON,
215 -FLT_EPSILON,
216 1.0f - 0.5f*FLT_EPSILON,
217 -1.0f + FLT_EPSILON,

Completed in 408 milliseconds

1234567