Home
last modified time | relevance | path

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

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DFloatyUnitTest.java236 shouldAccept(normalFloaty, normalHalf + Float16Utils.float16Ulp(normalHalf)); in testHalf1Ulp()
237 shouldAccept(normalFloaty, normalHalf - Float16Utils.float16Ulp(normalHalf)); in testHalf1Ulp()
238 shouldNotAccept(normalFloaty, normalHalf + 2 * Float16Utils.float16Ulp(normalHalf)); in testHalf1Ulp()
239 shouldNotAccept(normalFloaty, normalHalf - 2 * Float16Utils.float16Ulp(normalHalf)); in testHalf1Ulp()
250 shouldAccept(normalFloaty, normalHalf + 128 * Float16Utils.float16Ulp(normalHalf)); in testHalf128Ulp()
251 shouldAccept(normalFloaty, normalHalf - 128 * Float16Utils.float16Ulp(normalHalf)); in testHalf128Ulp()
252 shouldNotAccept(normalFloaty, normalHalf - 129 * Float16Utils.float16Ulp(normalHalf)); in testHalf128Ulp()
256 shouldAccept(normalFloaty, normalHalf + 129 * Float16Utils.float16Ulp(normalHalf)); in testHalf128Ulp()
257 shouldNotAccept(normalFloaty, normalHalf + 130 * Float16Utils.float16Ulp(normalHalf)); in testHalf128Ulp()
301 shouldNotAccept(halfFloaty, ub + Float16Utils.float16Ulp(ub), extraError); in testExtraAllowedError()
[all …]
DFloat16Utils.java229 static double float16Ulp(double value) { in float16Ulp() method in Float16Utils
DTarget.java536 u = Float16Utils.float16Ulp(mMaxValue); in Ulp()
552 u = -Float16Utils.float16Ulp(mMinValue); in NegativeUlp()