HomeSort by relevance Sort by last modified time
    Searched defs:approxEqual (Results 1 - 2 of 2) sorted by null

  /dalvik/tests/003-omnibus-opcodes/src/
FloatMath.java 271 static boolean approxEqual(float a, float b, float maxDelta) {
277 static boolean approxEqual(double a, double b, double maxDelta) {
292 assert(approxEqual(Math.abs(ff), ff, 0.001f));
293 assert(approxEqual(Math.abs(-ff), ff, 0.001f));
294 assert(approxEqual(Math.min(ff, -5.0f), -5.0f, 0.001f));
295 assert(approxEqual(Math.max(ff, -5.0f), ff, 0.001f));
297 assert(approxEqual(Math.abs(dd), dd, 0.001));
298 assert(approxEqual(Math.abs(-dd), dd, 0.001));
299 assert(approxEqual(Math.min(dd, -5.0), -5.0, 0.001));
300 assert(approxEqual(Math.max(dd, -5.0), dd, 0.001))
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/gpu/
LoopBlinnMathUtils.cpp 70 if (approxEqual(e, 0) || approxEqual(f, 0) || approxEqual(e, f))
121 bool approxEqual(const FloatPoint& v0, const FloatPoint& v1)
126 bool approxEqual(const FloatPoint3D& v0, const FloatPoint3D& v1)
131 bool approxEqual(float f0, float f1)

Completed in 958 milliseconds