Home
last modified time | relevance | path

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

/external/FP16/test/
Dalt-from-fp32-value.cc40 float min_po2_value; in TEST() local
41 memcpy(&min_po2_value, &min_po2_f32, sizeof(min_po2_value)); in TEST()
42 EXPECT_EQ(min_po2_f16, fp16_alt_from_fp32_value(min_po2_value)) << in TEST()
45 "F16(F32) = 0x" << std::setw(4) << fp16_alt_from_fp32_value(min_po2_value) << ", " << in TEST()
Dieee-from-fp32-value.cc40 float min_po2_value; in TEST() local
41 memcpy(&min_po2_value, &min_po2_f32, sizeof(min_po2_value)); in TEST()
42 EXPECT_EQ(min_po2_f16, fp16_ieee_from_fp32_value(min_po2_value)) << in TEST()
45 "F16(F32) = 0x" << std::setw(4) << fp16_ieee_from_fp32_value(min_po2_value) << ", " << in TEST()
Dalt-to-fp32-value.cc37 const float min_po2_value = fp16_alt_to_fp32_value(min_po2_f16); in TEST() local
39 memcpy(&min_po2_bits, &min_po2_value, sizeof(min_po2_bits)); in TEST()
Dieee-to-fp32-value.cc37 const float min_po2_value = fp16_ieee_to_fp32_value(min_po2_f16); in TEST() local
39 memcpy(&min_po2_bits, &min_po2_value, sizeof(min_po2_bits)); in TEST()