Searched refs:eight_value (Results 1 – 4 of 4) sorted by relevance
/external/FP16/test/ |
D | alt-from-fp32-value.cc | 96 float eight_value; in TEST() local 97 memcpy(&eight_value, &eight_f32, sizeof(eight_value)); in TEST() 98 EXPECT_EQ(eight_f16, fp16_alt_from_fp32_value(eight_value)) << in TEST() 101 "F16(F32) = 0x" << std::setw(4) << fp16_alt_from_fp32_value(eight_value) << ", " << in TEST()
|
D | ieee-from-fp32-value.cc | 96 float eight_value; in TEST() local 97 memcpy(&eight_value, &eight_f32, sizeof(eight_value)); in TEST() 98 EXPECT_EQ(eight_f16, fp16_ieee_from_fp32_value(eight_value)) << in TEST() 101 "F16(F32) = 0x" << std::setw(4) << fp16_ieee_from_fp32_value(eight_value) << ", " << in TEST()
|
D | alt-to-fp32-value.cc | 100 const float eight_value = fp16_alt_to_fp32_value(eight_f16); in TEST() local 102 memcpy(&eight_bits, &eight_value, sizeof(eight_bits)); in TEST()
|
D | ieee-to-fp32-value.cc | 100 const float eight_value = fp16_ieee_to_fp32_value(eight_f16); in TEST() local 102 memcpy(&eight_bits, &eight_value, sizeof(eight_bits)); in TEST()
|