Home
last modified time | relevance | path

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

/external/deqp/framework/delibs/debase/
DdeFloat16Test.c48 static deFloat16 deFloat32To16RTZ (float val32) in deFloat32To16RTZ() function
71 DE_TEST_ASSERT(deFloat32To16RTZ(getFloat32(0, 0, 0)) == getFloat16(0, 0, 0)); in deFloat16_selfTest()
72 DE_TEST_ASSERT(deFloat32To16RTZ(getFloat32(1, 0, 0)) == getFloat16(1, 0, 0)); in deFloat16_selfTest()
75 DE_TEST_ASSERT(deFloat32To16RTZ(getFloat32(0, 0xff, 0)) == getFloat16(0, 0x1f, 0)); in deFloat16_selfTest()
76 DE_TEST_ASSERT(deFloat32To16RTZ(getFloat32(1, 0xff, 0)) == getFloat16(1, 0x1f, 0)); in deFloat16_selfTest()
79 DE_TEST_ASSERT(deFloat32To16RTZ(getFloat32(0, 0xff, 1)) == getFloat16(0, 0x1f, 1)); in deFloat16_selfTest()
80 DE_TEST_ASSERT(deFloat32To16RTZ(getFloat32(1, 0xff, 1)) == getFloat16(1, 0x1f, 1)); in deFloat16_selfTest()
81 DE_TEST_ASSERT(deFloat32To16RTZ(getFloat32(0, 0xff, 0x3fffff)) == getFloat16(0, 0x1f, 0x1ff)); in deFloat16_selfTest()
82 DE_TEST_ASSERT(deFloat32To16RTZ(getFloat32(1, 0xff, 0x3fffff)) == getFloat16(1, 0x1f, 0x1ff)); in deFloat16_selfTest()
83 DE_TEST_ASSERT(deFloat32To16RTZ(getFloat32(0, 0xff, 0x0003ff)) == getFloat16(0, 0x1f, 1)); in deFloat16_selfTest()
[all …]