Home
last modified time | relevance | path

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

/external/deqp/framework/delibs/debase/
DdeFloat16Test.c53 static deFloat16 deFloat32To16RTE (float val32) in deFloat32To16RTE() function
193 DE_TEST_ASSERT(deFloat32To16RTE(getFloat32(0, 0, 0)) == getFloat16(0, 0, 0)); in deFloat16_selfTest()
194 DE_TEST_ASSERT(deFloat32To16RTE(getFloat32(1, 0, 0)) == getFloat16(1, 0, 0)); in deFloat16_selfTest()
197 DE_TEST_ASSERT(deFloat32To16RTE(getFloat32(0, 0xff, 0)) == getFloat16(0, 0x1f, 0)); in deFloat16_selfTest()
198 DE_TEST_ASSERT(deFloat32To16RTE(getFloat32(1, 0xff, 0)) == getFloat16(1, 0x1f, 0)); in deFloat16_selfTest()
201 DE_TEST_ASSERT(deFloat32To16RTE(getFloat32(0, 0xff, 1)) == getFloat16(0, 0x1f, 1)); in deFloat16_selfTest()
202 DE_TEST_ASSERT(deFloat32To16RTE(getFloat32(1, 0xff, 1)) == getFloat16(1, 0x1f, 1)); in deFloat16_selfTest()
203 DE_TEST_ASSERT(deFloat32To16RTE(getFloat32(0, 0xff, 0x3fffff)) == getFloat16(0, 0x1f, 0x1ff)); in deFloat16_selfTest()
204 DE_TEST_ASSERT(deFloat32To16RTE(getFloat32(1, 0xff, 0x3fffff)) == getFloat16(1, 0x1f, 0x1ff)); in deFloat16_selfTest()
205 DE_TEST_ASSERT(deFloat32To16RTE(getFloat32(0, 0xff, 0x0003ff)) == getFloat16(0, 0x1f, 1)); in deFloat16_selfTest()
[all …]