Searched refs:max_po2_value (Results 1 – 4 of 4) sorted by relevance
/external/FP16/test/ |
D | alt-from-fp32-value.cc | 128 float max_po2_value; in TEST() local 129 memcpy(&max_po2_value, &max_po2_f32, sizeof(max_po2_value)); in TEST() 130 EXPECT_EQ(max_po2_f16, fp16_ieee_from_fp32_value(max_po2_value)) << in TEST() 133 "F16(F32) = 0x" << std::setw(4) << fp16_ieee_from_fp32_value(max_po2_value) << ", " << in TEST()
|
D | ieee-from-fp32-value.cc | 128 float max_po2_value; in TEST() local 129 memcpy(&max_po2_value, &max_po2_f32, sizeof(max_po2_value)); in TEST() 130 EXPECT_EQ(max_po2_f16, fp16_ieee_from_fp32_value(max_po2_value)) << in TEST() 133 "F16(F32) = 0x" << std::setw(4) << fp16_ieee_from_fp32_value(max_po2_value) << ", " << in TEST()
|
D | alt-to-fp32-value.cc | 136 const float max_po2_value = fp16_alt_to_fp32_value(max_po2_f16); in TEST() local 138 memcpy(&max_po2_bits, &max_po2_value, sizeof(max_po2_bits)); in TEST()
|
D | ieee-to-fp32-value.cc | 136 const float max_po2_value = fp16_ieee_to_fp32_value(max_po2_f16); in TEST() local 138 memcpy(&max_po2_bits, &max_po2_value, sizeof(max_po2_bits)); in TEST()
|