Home
last modified time | relevance | path

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

/external/FP16/test/
Dalt-to-fp32-bits.cc13 const uint16_t half_f16 = UINT16_C(0x3800); in TEST() local
54 EXPECT_EQ(half_f32, fp16_alt_to_fp32_bits(half_f16)) << in TEST()
56 "F16 = 0x" << std::setw(4) << half_f16 << ", " << in TEST()
57 "F32(F16) = 0x" << std::setw(8) << fp16_alt_to_fp32_bits(half_f16) << ", " << in TEST()
Dieee-to-fp32-bits.cc13 const uint16_t half_f16 = UINT16_C(0x3800); in TEST() local
54 EXPECT_EQ(half_f32, fp16_ieee_to_fp32_bits(half_f16)) << in TEST()
56 "F16 = 0x" << std::setw(4) << half_f16 << ", " << in TEST()
57 "F32(F16) = 0x" << std::setw(8) << fp16_ieee_to_fp32_bits(half_f16) << ", " << in TEST()
Dalt-to-fp32-value.cc14 const uint16_t half_f16 = UINT16_C(0x3800); in TEST() local
64 const float half_value = fp16_alt_to_fp32_value(half_f16); in TEST()
69 "F16 = 0x" << std::setw(4) << half_f16 << ", " << in TEST()
Dieee-to-fp32-value.cc14 const uint16_t half_f16 = UINT16_C(0x3800); in TEST() local
64 const float half_value = fp16_ieee_to_fp32_value(half_f16); in TEST()
69 "F16 = 0x" << std::setw(4) << half_f16 << ", " << in TEST()
Dalt-from-fp32-value.cc17 const uint16_t half_f16 = UINT16_C(0x3800); in TEST() local
66 EXPECT_EQ(half_f16, fp16_alt_from_fp32_value(half_value)) << in TEST()
70 "F16 = 0x" << std::setw(4) << half_f16; in TEST()
Dieee-from-fp32-value.cc17 const uint16_t half_f16 = UINT16_C(0x3800); in TEST() local
66 EXPECT_EQ(half_f16, fp16_ieee_from_fp32_value(half_value)) << in TEST()
70 "F16 = 0x" << std::setw(4) << half_f16; in TEST()