Home
last modified time | relevance | path

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

/external/FP16/test/
Dalt-from-fp32-value.cc56 float quarter_value; in TEST() local
57 memcpy(&quarter_value, &quarter_f32, sizeof(quarter_value)); in TEST()
58 EXPECT_EQ(quarter_f16, fp16_alt_from_fp32_value(quarter_value)) << in TEST()
61 "F16(F32) = 0x" << std::setw(4) << fp16_alt_from_fp32_value(quarter_value) << ", " << in TEST()
Dieee-from-fp32-value.cc56 float quarter_value; in TEST() local
57 memcpy(&quarter_value, &quarter_f32, sizeof(quarter_value)); in TEST()
58 EXPECT_EQ(quarter_f16, fp16_ieee_from_fp32_value(quarter_value)) << in TEST()
61 "F16(F32) = 0x" << std::setw(4) << fp16_ieee_from_fp32_value(quarter_value) << ", " << in TEST()
Dalt-to-fp32-value.cc55 const float quarter_value = fp16_alt_to_fp32_value(quarter_f16); in TEST() local
57 memcpy(&quarter_bits, &quarter_value, sizeof(quarter_bits)); in TEST()
Dieee-to-fp32-value.cc55 const float quarter_value = fp16_ieee_to_fp32_value(quarter_f16); in TEST() local
57 memcpy(&quarter_bits, &quarter_value, sizeof(quarter_bits)); in TEST()