Home
last modified time | relevance | path

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

/external/FP16/test/
Dalt-to-fp32-bits.cc21 const uint16_t max_po2_f16 = UINT16_C(0x7C00); in TEST() local
102 EXPECT_EQ(max_po2_f32, fp16_alt_to_fp32_bits(max_po2_f16)) << in TEST()
104 "F16 = 0x" << std::setw(4) << max_po2_f16 << ", " << in TEST()
105 "F32(F16) = 0x" << std::setw(8) << fp16_alt_to_fp32_bits(max_po2_f16) << ", " << in TEST()
Dieee-to-fp32-bits.cc21 const uint16_t max_po2_f16 = UINT16_C(0x7800); in TEST() local
102 EXPECT_EQ(max_po2_f32, fp16_ieee_to_fp32_bits(max_po2_f16)) << in TEST()
104 "F16 = 0x" << std::setw(4) << max_po2_f16 << ", " << in TEST()
105 "F32(F16) = 0x" << std::setw(8) << fp16_ieee_to_fp32_bits(max_po2_f16) << ", " << in TEST()
Dalt-to-fp32-value.cc22 const uint16_t max_po2_f16 = UINT16_C(0x7C00); in TEST() local
136 const float max_po2_value = fp16_alt_to_fp32_value(max_po2_f16); in TEST()
141 "F16 = 0x" << std::setw(4) << max_po2_f16 << ", " << in TEST()
Dieee-to-fp32-value.cc22 const uint16_t max_po2_f16 = UINT16_C(0x7800); in TEST() local
136 const float max_po2_value = fp16_ieee_to_fp32_value(max_po2_f16); in TEST()
141 "F16 = 0x" << std::setw(4) << max_po2_f16 << ", " << in TEST()
Dalt-from-fp32-value.cc25 const uint16_t max_po2_f16 = UINT16_C(0x7C00); in TEST() local
130 EXPECT_EQ(max_po2_f16, fp16_ieee_from_fp32_value(max_po2_value)) << in TEST()
134 "F16 = 0x" << std::setw(4) << max_po2_f16; in TEST()
Dieee-from-fp32-value.cc25 const uint16_t max_po2_f16 = UINT16_C(0x7800); in TEST() local
130 EXPECT_EQ(max_po2_f16, fp16_ieee_from_fp32_value(max_po2_value)) << in TEST()
134 "F16 = 0x" << std::setw(4) << max_po2_f16; in TEST()