Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/util/stream/
DTestDoubleSumAverage.java148 private static int compareUlpDifference(double expected, double computed, double threshold) { in compareUlpDifference() argument
151 if (Double.compare(expected, computed) == 0) in compareUlpDifference()
155 computed, expected); in compareUlpDifference()
160 double ulpDifference = Math.abs(expected - computed) / Math.ulp(expected); in compareUlpDifference()
/libcore/ojluni/src/main/java/sun/security/util/
DSignatureFileVerifier.java423 byte[] computed; in verifySection()
425 computed = mde.digestWorkaround(digest); in verifySection()
427 computed = mde.digest(digest); in verifySection()
434 debug.println(" computed " + toHex(computed)); in verifySection()
438 if (MessageDigest.isEqual(computed, expected)) { in verifySection()
444 computed = mde.digestWorkaround(digest); in verifySection()
445 if (MessageDigest.isEqual(computed, expected)) { in verifySection()
447 debug.println(" re-computed " + toHex(computed)); in verifySection()
/libcore/luni/src/test/java/libcore/java/math/
DBigDecimalTest.java57 BigDecimal computed = parsed.divide(BigDecimal.ONE); in assertPrecision() local
59 expectedPrecision, computed.precision()); in assertPrecision()