Home
last modified time | relevance | path

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

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DFloatyUnitTest.java32 static double normalHalf = 1985; // 2048 - 63. Magic number chosen for use in testHalf128Ulp field in FloatyUnitTest
234 Target.Floaty normalFloaty = t.newFloaty(normalHalf); in testHalf1Ulp()
235 shouldAccept(normalFloaty, normalHalf); in testHalf1Ulp()
236 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()
248 Target.Floaty normalFloaty = t.newFloaty(normalHalf); in testHalf128Ulp()
249 shouldAccept(normalFloaty, normalHalf); in testHalf128Ulp()
250 shouldAccept(normalFloaty, normalHalf + 128 * Float16Utils.float16Ulp(normalHalf)); in testHalf128Ulp()
[all …]