Home
last modified time | relevance | path

Searched refs:approxEqual (Results 1 – 1 of 1) sorted by relevance

/art/test/003-omnibus-opcodes/src/
DFloatMath.java321 static boolean approxEqual(float a, float b, float maxDelta) { in approxEqual() method in FloatMath
327 static boolean approxEqual(double a, double b, double maxDelta) { in approxEqual() method in FloatMath
342 Main.assertTrue(approxEqual(Math.abs(ff), ff, 0.001f)); in jlmTests()
343 Main.assertTrue(approxEqual(Math.abs(-ff), ff, 0.001f)); in jlmTests()
344 Main.assertTrue(approxEqual(Math.min(ff, -5.0f), -5.0f, 0.001f)); in jlmTests()
345 Main.assertTrue(approxEqual(Math.max(ff, -5.0f), ff, 0.001f)); in jlmTests()
347 Main.assertTrue(approxEqual(Math.abs(dd), dd, 0.001)); in jlmTests()
348 Main.assertTrue(approxEqual(Math.abs(-dd), dd, 0.001)); in jlmTests()
349 Main.assertTrue(approxEqual(Math.min(dd, -5.0), -5.0, 0.001)); in jlmTests()
350 Main.assertTrue(approxEqual(Math.max(dd, -5.0), dd, 0.001)); in jlmTests()
[all …]