/external/skia/src/pathops/ |
D | SkPathOpsTypes.h | 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; 88 const double FLT_EPSILON_SQRT = sqrt(FLT_EPSILON); 89 const double FLT_EPSILON_INVERSE = 1 / FLT_EPSILON; 92 const double ROUGH_EPSILON = FLT_EPSILON * 64; 93 const double MORE_ROUGH_EPSILON = FLT_EPSILON * 256; 94 const double WAY_ROUGH_EPSILON = FLT_EPSILON * 2048; [all …]
|
D | SkPathOpsTypes.cpp | 11 float denormalizedCheck = FLT_EPSILON * epsilon / 2; in arguments_denormalized() 68 return a <= b - FLT_EPSILON * epsilon; in less_ulps() 81 return a < b + FLT_EPSILON * epsilon; in less_or_equal_ulps() 109 return fabs(a - b) / SkTMax(fabs(a), fabs(b)) < FLT_EPSILON * 16; in AlmostDequalUlps()
|
/external/chromium_org/third_party/skia/src/pathops/ |
D | SkPathOpsTypes.h | 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; 88 const double FLT_EPSILON_SQRT = sqrt(FLT_EPSILON); 89 const double FLT_EPSILON_INVERSE = 1 / FLT_EPSILON; 92 const double ROUGH_EPSILON = FLT_EPSILON * 64; 93 const double MORE_ROUGH_EPSILON = FLT_EPSILON * 256; 94 const double WAY_ROUGH_EPSILON = FLT_EPSILON * 2048; [all …]
|
D | SkPathOpsTypes.cpp | 11 float denormalizedCheck = FLT_EPSILON * epsilon / 2; in arguments_denormalized() 68 return a <= b - FLT_EPSILON * epsilon; in less_ulps() 81 return a < b + FLT_EPSILON * epsilon; in less_or_equal_ulps() 109 return fabs(a - b) / SkTMax(fabs(a), fabs(b)) < FLT_EPSILON * 16; in AlmostDequalUlps()
|
/external/chromium_org/third_party/skia/experimental/Intersection/ |
D | DataTypes.h | 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; 46 const double ROUGH_EPSILON = FLT_EPSILON * 64; 47 const double MORE_ROUGH_EPSILON = FLT_EPSILON * 256; 50 return fabs(x) < FLT_EPSILON; in approximately_zero() 58 return fabs(x) < FLT_EPSILON; in approximately_zero() 83 return x == 0 || fabs(x / y) < FLT_EPSILON; in approximately_zero_when_compared_to() [all …]
|
D | thingsToDo.txt | 249 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 411 && span.fOtherT > 1 - FLT_EPSILON); 422 if (oSpan.fT >= FLT_EPSILON && oSpan.fT <= 1 - FLT_EPSILON) { [all …]
|
/external/skia/experimental/Intersection/ |
D | DataTypes.h | 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; 46 const double ROUGH_EPSILON = FLT_EPSILON * 64; 47 const double MORE_ROUGH_EPSILON = FLT_EPSILON * 256; 50 return fabs(x) < FLT_EPSILON; in approximately_zero() 58 return fabs(x) < FLT_EPSILON; in approximately_zero() 83 return x == 0 || fabs(x / y) < FLT_EPSILON; in approximately_zero_when_compared_to() [all …]
|
D | thingsToDo.txt | 249 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 411 && span.fOtherT > 1 - FLT_EPSILON); 422 if (oSpan.fT >= FLT_EPSILON && oSpan.fT <= 1 - FLT_EPSILON) { [all …]
|
/external/skia/tests/ |
D | PathOpsCubicIntersectionTestData.cpp | 12 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 * 3;
|
D | PathOpsQuadIntersectionTestData.cpp | 47 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?
|
/external/chromium_org/third_party/skia/tests/ |
D | PathOpsCubicIntersectionTestData.cpp | 12 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 * 3;
|
D | PathOpsQuadIntersectionTestData.cpp | 47 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?
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_test_arit.c | 194 x = 1.0f - 0.5f*FLT_EPSILON; in fractf() 214 FLT_EPSILON, 215 -FLT_EPSILON, 216 1.0f - 0.5f*FLT_EPSILON, 217 -1.0f + FLT_EPSILON,
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
D | lp_test_arit.c | 194 x = 1.0f - 0.5f*FLT_EPSILON; in fractf() 214 FLT_EPSILON, 215 -FLT_EPSILON, 216 1.0f - 0.5f*FLT_EPSILON, 217 -1.0f + FLT_EPSILON,
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkBitmapFilter.h | 145 if (x > -FLT_EPSILON && x < FLT_EPSILON) { in evaluate() 165 if (x > -FLT_EPSILON && x < FLT_EPSILON) { in evaluate()
|
/external/skia/src/core/ |
D | SkBitmapFilter.h | 145 if (x > -FLT_EPSILON && x < FLT_EPSILON) { in evaluate() 165 if (x > -FLT_EPSILON && x < FLT_EPSILON) { in evaluate()
|
/external/libcxx/test/containers/unord/unord.set/unord.set.cnstr/ |
D | init.pass.cpp | 57 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main() 88 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main() 122 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main() 157 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
|
D | range.pass.cpp | 60 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main() 93 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main() 127 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main() 162 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
|
/external/libcxx/test/containers/unord/unord.multiset/unord.multiset.cnstr/ |
D | init.pass.cpp | 57 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main() 88 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main() 122 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main() 157 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
|
D | range.pass.cpp | 60 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main() 93 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main() 127 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main() 162 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
|
D | assign_move.pass.cpp | 80 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main() 125 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main() 170 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main() 224 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main() 269 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
|
D | move_alloc.pass.cpp | 74 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main() 115 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main() 165 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main() 206 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
|
/external/libcxx/test/containers/unord/unord.multiset/ |
D | load_factor.pass.cpp | 41 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main() 66 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
|
/external/libcxx/test/containers/unord/unord.set/ |
D | load_factor.pass.cpp | 41 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main() 66 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
|
/external/libcxx/test/containers/unord/unord.map/unord.map.cnstr/ |
D | init.pass.cpp | 59 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main() 91 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main() 123 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main() 156 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
|