Home
last modified time | relevance | path

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

/external/FP16/test/
Dalt-to-fp32-bits.cc15 const uint16_t two_f16 = UINT16_C(0x4000); in TEST() local
66 EXPECT_EQ(two_f32, fp16_alt_to_fp32_bits(two_f16)) << in TEST()
68 "F16 = 0x" << std::setw(4) << two_f16 << ", " << in TEST()
69 "F32(F16) = 0x" << std::setw(8) << fp16_alt_to_fp32_bits(two_f16) << ", " << in TEST()
Dieee-to-fp32-bits.cc15 const uint16_t two_f16 = UINT16_C(0x4000); in TEST() local
66 EXPECT_EQ(two_f32, fp16_ieee_to_fp32_bits(two_f16)) << in TEST()
68 "F16 = 0x" << std::setw(4) << two_f16 << ", " << in TEST()
69 "F32(F16) = 0x" << std::setw(8) << fp16_ieee_to_fp32_bits(two_f16) << ", " << in TEST()
Dalt-to-fp32-value.cc16 const uint16_t two_f16 = UINT16_C(0x4000); in TEST() local
82 const float two_value = fp16_alt_to_fp32_value(two_f16); in TEST()
87 "F16 = 0x" << std::setw(4) << two_f16 << ", " << in TEST()
Dieee-to-fp32-value.cc16 const uint16_t two_f16 = UINT16_C(0x4000); in TEST() local
82 const float two_value = fp16_ieee_to_fp32_value(two_f16); in TEST()
87 "F16 = 0x" << std::setw(4) << two_f16 << ", " << in TEST()
Dalt-from-fp32-value.cc19 const uint16_t two_f16 = UINT16_C(0x4000); in TEST() local
82 EXPECT_EQ(two_f16, fp16_alt_from_fp32_value(two_value)) << in TEST()
86 "F16 = 0x" << std::setw(4) << two_f16; in TEST()
Dieee-from-fp32-value.cc19 const uint16_t two_f16 = UINT16_C(0x4000); in TEST() local
82 EXPECT_EQ(two_f16, fp16_ieee_from_fp32_value(two_value)) << in TEST()
86 "F16 = 0x" << std::setw(4) << two_f16; in TEST()