Home
last modified time | relevance | path

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

/external/FP16/test/
Dalt-to-fp32-bits.cc14 const uint16_t one_f16 = UINT16_C(0x3C00); in TEST() local
60 EXPECT_EQ(one_f32, fp16_alt_to_fp32_bits(one_f16)) << in TEST()
62 "F16 = 0x" << std::setw(4) << one_f16 << ", " << in TEST()
63 "F32(F16) = 0x" << std::setw(8) << fp16_alt_to_fp32_bits(one_f16) << ", " << in TEST()
Dieee-to-fp32-bits.cc14 const uint16_t one_f16 = UINT16_C(0x3C00); in TEST() local
60 EXPECT_EQ(one_f32, fp16_ieee_to_fp32_bits(one_f16)) << in TEST()
62 "F16 = 0x" << std::setw(4) << one_f16 << ", " << in TEST()
63 "F32(F16) = 0x" << std::setw(8) << fp16_ieee_to_fp32_bits(one_f16) << ", " << in TEST()
Dalt-to-fp32-value.cc15 const uint16_t one_f16 = UINT16_C(0x3C00); in TEST() local
73 const float one_value = fp16_alt_to_fp32_value(one_f16); in TEST()
78 "F16 = 0x" << std::setw(4) << one_f16 << ", " << in TEST()
Dieee-to-fp32-value.cc15 const uint16_t one_f16 = UINT16_C(0x3C00); in TEST() local
73 const float one_value = fp16_ieee_to_fp32_value(one_f16); in TEST()
78 "F16 = 0x" << std::setw(4) << one_f16 << ", " << in TEST()
Dalt-from-fp32-value.cc18 const uint16_t one_f16 = UINT16_C(0x3C00); in TEST() local
74 EXPECT_EQ(one_f16, fp16_alt_from_fp32_value(one_value)) << in TEST()
78 "F16 = 0x" << std::setw(4) << one_f16; in TEST()
Dieee-from-fp32-value.cc18 const uint16_t one_f16 = UINT16_C(0x3C00); in TEST() local
74 EXPECT_EQ(one_f16, fp16_ieee_from_fp32_value(one_value)) << in TEST()
78 "F16 = 0x" << std::setw(4) << one_f16; in TEST()