Home
last modified time | relevance | path

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

123456

/external/skia/src/pathops/
DSkPathOpsTypes.h232 const double FLT_EPSILON_CUBED = FLT_EPSILON * FLT_EPSILON * FLT_EPSILON;
233 const double FLT_EPSILON_HALF = FLT_EPSILON / 2;
234 const double FLT_EPSILON_DOUBLE = FLT_EPSILON * 2;
235 const double FLT_EPSILON_ORDERABLE_ERR = FLT_EPSILON * 16;
236 const double FLT_EPSILON_SQUARED = FLT_EPSILON * FLT_EPSILON;
237 const double FLT_EPSILON_SQRT = sqrt(FLT_EPSILON);
238 const double FLT_EPSILON_INVERSE = 1 / FLT_EPSILON;
241 const double ROUGH_EPSILON = FLT_EPSILON * 64;
242 const double MORE_ROUGH_EPSILON = FLT_EPSILON * 256;
243 const double WAY_ROUGH_EPSILON = FLT_EPSILON * 2048;
[all …]
/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/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/jmonkeyengine/engine/src/core/com/jme3/math/
DRay.java216 if (dirDotNorm > FastMath.FLT_EPSILON) { in intersects()
218 } else if (dirDotNorm < -FastMath.FLT_EPSILON) { in intersects()
291 if (dirDotNorm > FastMath.FLT_EPSILON) { in intersects()
293 } else if (dirDotNorm < -FastMath.FLT_EPSILON) { in intersects()
371 if (denominator > -FastMath.FLT_EPSILON && denominator < FastMath.FLT_EPSILON) { in intersectsWherePlane()
377 if (ratio < FastMath.FLT_EPSILON) { in intersectsWherePlane()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_test_arit.c194 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/skia/src/core/
DSkBitmapFilter.h181 if (x > -FLT_EPSILON && x < FLT_EPSILON) { in evaluate()
199 if (x > -FLT_EPSILON && x < FLT_EPSILON) { in evaluate()
/external/libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/
Dinit.pass.cpp57 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()
Drange.pass.cpp60 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()
Dassign_move.pass.cpp80 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()
Dmove_alloc.pass.cpp74 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()
Dcopy.pass.cpp72 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
119 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
167 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
/external/libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/
Dinit.pass.cpp57 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()
Drange.pass.cpp60 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()
Dcopy.pass.cpp64 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
103 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
143 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
Dassign_move.pass.cpp72 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
117 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()
208 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
Dmove_alloc.pass.cpp66 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
107 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
149 assert(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.cpp41 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/std/containers/unord/unord.set/
Dload_factor.pass.cpp41 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/std/containers/unord/unord.map/unord.map.cnstr/
Dinit.pass.cpp59 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()
Drange.pass.cpp63 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
97 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()
/external/libcxx/test/std/containers/unord/unord.map/
Dload_factor.pass.cpp43 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
67 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
/external/libcxx/test/std/depr/depr.c.headers/
Dfloat_h.pass.cpp114 #ifndef FLT_EPSILON
115 #error FLT_EPSILON not defined
/external/libcxx/test/std/language.support/support.limits/c.limits/
Dcfloat.pass.cpp114 #ifndef FLT_EPSILON
115 #error FLT_EPSILON not defined
/external/libcxx/test/std/containers/unord/unord.multimap/
Dload_factor.pass.cpp42 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()
67 assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); in main()

123456