Home
last modified time | relevance | path

Searched refs:eighths_value (Results 1 – 4 of 4) sorted by relevance

/external/FP16/test/
Dalt-from-fp32-value.cc48 float eighths_value; in TEST() local
49 memcpy(&eighths_value, &eighths_f32, sizeof(eighths_value)); in TEST()
50 EXPECT_EQ(eighths_f16, fp16_alt_from_fp32_value(eighths_value)) << in TEST()
53 "F16(F32) = 0x" << std::setw(4) << fp16_alt_from_fp32_value(eighths_value) << ", " << in TEST()
Dieee-from-fp32-value.cc48 float eighths_value; in TEST() local
49 memcpy(&eighths_value, &eighths_f32, sizeof(eighths_value)); in TEST()
50 EXPECT_EQ(eighths_f16, fp16_ieee_from_fp32_value(eighths_value)) << in TEST()
53 "F16(F32) = 0x" << std::setw(4) << fp16_ieee_from_fp32_value(eighths_value) << ", " << in TEST()
Dalt-to-fp32-value.cc46 const float eighths_value = fp16_alt_to_fp32_value(eighths_f16); in TEST() local
48 memcpy(&eighths_bits, &eighths_value, sizeof(eighths_bits)); in TEST()
Dieee-to-fp32-value.cc46 const float eighths_value = fp16_ieee_to_fp32_value(eighths_f16); in TEST() local
48 memcpy(&eighths_bits, &eighths_value, sizeof(eighths_bits)); in TEST()