Home
last modified time | relevance | path

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

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DFloatyUnitTest.java48 private void shouldAccept(Target.Floaty f, double value, double extraAllowedError) { in shouldAccept() argument
49 if (!f.couldBe(value, extraAllowedError)) { in shouldAccept()
54 if (extraAllowedError > 0.) { in shouldAccept()
56 appendVariableToMessage(message, extraAllowedError); in shouldAccept()
72 private void shouldNotAccept(Target.Floaty f, double value, double extraAllowedError) { in shouldNotAccept() argument
78 if (extraAllowedError > 0.) { in shouldNotAccept()
80 appendVariableToMessage(message, extraAllowedError); in shouldNotAccept()
DTarget.java573 public boolean couldBe(double a, double extraAllowedError) { in couldBe() argument
585 if ((mMinValue - extraAllowedError) <= a && a <= (mMaxValue + extraAllowedError)) { in couldBe()
DCoreMathVerifier.java2607 double extraAllowedError = 0.;
2611 extraAllowedError = 0.00048828125; // 2^-11
2618 if (!expectedOut.couldBe(args.outDouble, extraAllowedError)) {
2621 message.append("Extra allowed error: " + Double.toString(extraAllowedError) + "\n");