Home
last modified time | relevance | path

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

/external/FP16/test/
Dalt-to-fp32-bits.cc18 const uint16_t sixteen_f16 = UINT16_C(0x4C00); in TEST() local
84 EXPECT_EQ(sixteen_f32, fp16_alt_to_fp32_bits(sixteen_f16)) << in TEST()
86 "F16 = 0x" << std::setw(4) << sixteen_f16 << ", " << in TEST()
87 "F32(F16) = 0x" << std::setw(8) << fp16_alt_to_fp32_bits(sixteen_f16) << ", " << in TEST()
Dieee-to-fp32-bits.cc18 const uint16_t sixteen_f16 = UINT16_C(0x4C00); in TEST() local
84 EXPECT_EQ(sixteen_f32, fp16_ieee_to_fp32_bits(sixteen_f16)) << in TEST()
86 "F16 = 0x" << std::setw(4) << sixteen_f16 << ", " << in TEST()
87 "F32(F16) = 0x" << std::setw(8) << fp16_ieee_to_fp32_bits(sixteen_f16) << ", " << in TEST()
Dalt-to-fp32-value.cc19 const uint16_t sixteen_f16 = UINT16_C(0x4C00); in TEST() local
109 const float sixteen_value = fp16_alt_to_fp32_value(sixteen_f16); in TEST()
114 "F16 = 0x" << std::setw(4) << sixteen_f16 << ", " << in TEST()
Dieee-to-fp32-value.cc19 const uint16_t sixteen_f16 = UINT16_C(0x4C00); in TEST() local
109 const float sixteen_value = fp16_ieee_to_fp32_value(sixteen_f16); in TEST()
114 "F16 = 0x" << std::setw(4) << sixteen_f16 << ", " << in TEST()
Dalt-from-fp32-value.cc22 const uint16_t sixteen_f16 = UINT16_C(0x4C00); in TEST() local
106 EXPECT_EQ(sixteen_f16, fp16_alt_from_fp32_value(sixteen_value)) << in TEST()
110 "F16 = 0x" << std::setw(4) << sixteen_f16; in TEST()
Dieee-from-fp32-value.cc22 const uint16_t sixteen_f16 = UINT16_C(0x4C00); in TEST() local
106 EXPECT_EQ(sixteen_f16, fp16_ieee_from_fp32_value(sixteen_value)) << in TEST()
110 "F16 = 0x" << std::setw(4) << sixteen_f16; in TEST()