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.java494 byte[] computed; in verifySection()
496 computed = mde.digestWorkaround(digest); in verifySection()
498 computed = mde.digest(digest); in verifySection()
505 debug.println(" computed " + toHex(computed)); in verifySection()
509 if (MessageDigest.isEqual(computed, expected)) { in verifySection()
515 computed = mde.digestWorkaround(digest); in verifySection()
516 if (MessageDigest.isEqual(computed, expected)) { in verifySection()
518 debug.println(" re-computed " + toHex(computed)); in verifySection()
/libcore/luni/src/test/java/libcore/java/math/
DBigDecimalTest.java62 BigDecimal computed = parsed.divide(BigDecimal.ONE); in assertPrecision() local
64 expectedPrecision, computed.precision()); in assertPrecision()