Home
last modified time | relevance | path

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

123456

/external/skqp/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()
/external/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()
/external/skqp/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?
/external/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?
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_test_arit.c250 FLT_EPSILON,
251 -FLT_EPSILON,
252 1.0f - 0.5f*FLT_EPSILON,
253 -1.0f + FLT_EPSILON,
263 x = 1.0f - 0.5f*FLT_EPSILON; in fractf()
283 FLT_EPSILON,
284 -FLT_EPSILON,
285 1.0f - 0.5f*FLT_EPSILON,
286 -1.0f + FLT_EPSILON,
/external/skqp/gm/
Dstrokerect.cpp82 { 0, 0, W, FLT_EPSILON }, in onDraw()
83 { 0, 0, FLT_EPSILON, H }, in onDraw()
84 { 0, 0, FLT_EPSILON, FLT_EPSILON }, in onDraw()
/external/skia/gm/
Dstrokerect.cpp82 { 0, 0, W, FLT_EPSILON }, in onDraw()
83 { 0, 0, FLT_EPSILON, H }, in onDraw()
84 { 0, 0, FLT_EPSILON, FLT_EPSILON }, in onDraw()
/external/libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/
Dinit.pass.cpp61 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()
125 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
160 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
Drange.pass.cpp63 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
96 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
130 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()
Dassign_move.pass.cpp76 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
121 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
166 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
211 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
/external/libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/
Dinit.pass.cpp61 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()
125 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
160 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
Drange.pass.cpp63 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
96 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
130 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()
Dassign_move.pass.cpp84 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
129 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
174 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
219 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
264 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
Dmove_alloc.pass.cpp78 assert(std::fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
119 assert(std::fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
160 assert(std::fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
201 assert(std::fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
/external/libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/
Dinit.pass.cpp63 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
94 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
126 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
159 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
Drange.pass.cpp66 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
100 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
133 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
168 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
Dmove_alloc.pass.cpp71 assert(std::fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
112 assert(std::fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
153 assert(std::fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
194 assert(std::fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
Dassign_move.pass.cpp77 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()
168 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
214 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
/external/libffi/testsuite/libffi.call/
Dcls_many_mixed_args.c30 CHECK(fabs(t - ((i+1) * 0.1)) < FLT_EPSILON); in cls_ret_double_fn()
66 if (abs(res - expected) < FLT_EPSILON) in main()
/external/libcxx/test/std/containers/unord/unord.set/
Dload_factor.pass.cpp42 assert(std::fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
66 assert(std::fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
/external/libcxx/test/std/containers/unord/unord.multiset/
Dload_factor.pass.cpp42 assert(std::fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
66 assert(std::fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()

123456