Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/lang/Math/
DHyperbolicTests.java375 double ulps) { in testSinhCaseWithUlpDiff() argument
379 expected, ulps); in testSinhCaseWithUlpDiff()
382 -expected, ulps); in testSinhCaseWithUlpDiff()
386 expected, ulps); in testSinhCaseWithUlpDiff()
389 -expected, ulps); in testSinhCaseWithUlpDiff()
723 double ulps) { in testCoshCaseWithUlpDiff() argument
727 expected, ulps); in testCoshCaseWithUlpDiff()
730 expected, ulps); in testCoshCaseWithUlpDiff()
734 expected, ulps); in testCoshCaseWithUlpDiff()
737 expected, ulps); in testCoshCaseWithUlpDiff()
[all …]
DTests.java366 static int testUlpCore(double result, double expected, double ulps) { in testUlpCore() argument
375 if (ulps == 0.0) { in testUlpCore()
383 !(Math.abs(difference / Math.ulp(expected)) <= Math.abs(ulps))) { in testUlpCore()
394 double result, double expected, double ulps) { in testUlpDiff() argument
395 int code = testUlpCore(result, expected, ulps); in testUlpDiff()
400 "\tdifference greater than ulp tolerance " + ulps); in testUlpDiff()
405 double result, double expected, double ulps) { in testUlpDiff() argument
406 int code = testUlpCore(result, expected, ulps); in testUlpDiff()
412 "\tdifference greater than ulp tolerance " + ulps); in testUlpDiff()
420 double ulps, double absBound) { in testUlpDiffWithAbsBound() argument
[all …]
DHypotTests.java200 static void testHypotCase(double input1, double input2, double expected, double ulps) { in testHypotCase() argument
214 Math.hypot(x, y), expected, ulps); in testHypotCase()
216 Math.hypot(y, x), expected, ulps); in testHypotCase()
219 StrictMath.hypot(x, y), expected, ulps); in testHypotCase()
221 StrictMath.hypot(y, x), expected, ulps); in testHypotCase()
DExpm1Tests.java184 double ulps, in testExpm1CaseWithUlpDiff() argument
187 double mathUlps = ulps, strictUlps = ulps; in testExpm1CaseWithUlpDiff()
DLog1pTests.java186 public static void testLog1pCaseWithUlpDiff(double input, double expected, double ulps) { in testLog1pCaseWithUlpDiff() argument
189 expected, ulps); in testLog1pCaseWithUlpDiff()
192 expected, ulps); in testLog1pCaseWithUlpDiff()
DTanTests.java40 static void testTanCase(double input, double expected, double ulps) { in testTanCase() argument
42 StrictMath.tan(input), expected, ulps); in testTanCase()
44 Math.tan(input), expected, ulps); in testTanCase()