Searched refs:FloatToHexFloat16 (Results 1 – 6 of 6) sorted by relevance
40 uint16_t FloatToHexFloat16(const float value);
27 uint16_t half = float16::FloatToHexFloat16(a); in TEST_F()
126 uint16_t FloatToHexFloat16(const float value) { in FloatToHexFloat16() function
317 EXPECT_EQ(float16::FloatToHexFloat16(2.8f), v[0]); in TEST_F()318 EXPECT_EQ(float16::FloatToHexFloat16(1234.567f), v[1]); in TEST_F()
1548 float16::FloatToHexFloat16(2.5f), float16::FloatToHexFloat16(0.73f), in TEST_F()1549 float16::FloatToHexFloat16(10.0f), float16::FloatToHexFloat16(123.5f)}; in TEST_F()
376 *(ValuesAs<uint16_t>(ptr)) = float16::FloatToHexFloat16(value.AsFloat()); in WriteValueFromComponent()