Home
last modified time | relevance | path

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

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DFloatyUnitTest.java263 double extraError, lb, ub; in testExtraAllowedError() local
269 extraError = 1e-15; in testExtraAllowedError()
271 ub = normalFloat2 + 4 * Math.ulp(normalFloat2) + extraError; in testExtraAllowedError()
272 lb = normalFloat2 - 4 * Math.ulp(normalFloat2) - extraError; in testExtraAllowedError()
273 shouldAccept(normalFloaty, ub, extraError); in testExtraAllowedError()
274 shouldAccept(normalFloaty, lb, extraError); in testExtraAllowedError()
275 shouldNotAccept(normalFloaty, ub + Math.ulp(ub), extraError); in testExtraAllowedError()
276 shouldNotAccept(normalFloaty, lb - Math.ulp(lb), extraError); in testExtraAllowedError()
280 extraError = Float.MIN_VALUE; in testExtraAllowedError()
284 ub = subnormalFloat + 2 * Math.ulp(subnormalFloat) + extraError; in testExtraAllowedError()
[all …]