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

  /art/test/003-omnibus-opcodes/src/
FloatMath.java 285 static boolean approxEqual(float a, float b, float maxDelta) {
291 static boolean approxEqual(double a, double b, double maxDelta) {
306 Main.assertTrue(approxEqual(Math.abs(ff), ff, 0.001f));
307 Main.assertTrue(approxEqual(Math.abs(-ff), ff, 0.001f));
308 Main.assertTrue(approxEqual(Math.min(ff, -5.0f), -5.0f, 0.001f));
309 Main.assertTrue(approxEqual(Math.max(ff, -5.0f), ff, 0.001f));
311 Main.assertTrue(approxEqual(Math.abs(dd), dd, 0.001));
312 Main.assertTrue(approxEqual(Math.abs(-dd), dd, 0.001));
313 Main.assertTrue(approxEqual(Math.min(dd, -5.0), -5.0, 0.001));
314 Main.assertTrue(approxEqual(Math.max(dd, -5.0), dd, 0.001))
    [all...]
  /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/jmonkeyengine/engine/src/core/com/jme3/util/
TangentBinormalGenerator.java 383 private static boolean approxEqual(Vector3f u, Vector3f v) {
409 if (approxEqual(vertexInfo.position, position) &&
410 approxEqual(vertexInfo.normal, normal))

Completed in 77 milliseconds