Searched refs:tolerance (Results 1 – 3 of 3) sorted by relevance
/libcore/ojluni/src/test/java/lang/Math/ |
D | HyperbolicTests.java | 355 double tolerance) { in testSinhCaseWithTolerance() argument 359 expected, tolerance); in testSinhCaseWithTolerance() 362 -expected, tolerance); in testSinhCaseWithTolerance() 366 expected, tolerance); in testSinhCaseWithTolerance() 369 -expected, tolerance); in testSinhCaseWithTolerance() 703 double tolerance) { in testCoshCaseWithTolerance() argument 707 expected, tolerance); in testCoshCaseWithTolerance() 710 expected, tolerance); in testCoshCaseWithTolerance() 714 expected, tolerance); in testCoshCaseWithTolerance() 717 expected, tolerance); in testCoshCaseWithTolerance() [all …]
|
D | Tests.java | 462 double result, double expected, double tolerance) { in testTolerance() argument 468 !(Math.abs((difference) / expected) <= StrictMath.pow(10, -tolerance)), in testTolerance() 473 "\tdifference greater than tolerance 10^-" + tolerance); in testTolerance()
|
/libcore/ojluni/src/test/java/util/Random/ |
D | RandomTestMoments.java | 131 double tolerance = standard[j][2]; in checkMoments() local 132 if (!(Math.abs(actual - expected)/basis < tolerance)) { in checkMoments() 134 test, actual, expected, basis, tolerance); in checkMoments()
|