Home
last modified time | relevance | path

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

/external/FP16/test/
Dalt-from-fp32-value.cc202 float exp2_minus_20_value; in TEST() local
203 memcpy(&exp2_minus_20_value, &exp2_minus_20_f32, sizeof(exp2_minus_20_value)); in TEST()
204 EXPECT_EQ(exp2_minus_20_f16, fp16_alt_from_fp32_value(exp2_minus_20_value)) << in TEST()
207 "F16(F32) = 0x" << std::setw(4) << fp16_alt_from_fp32_value(exp2_minus_20_value) << ", " << in TEST()
Dieee-from-fp32-value.cc202 float exp2_minus_20_value; in TEST() local
203 memcpy(&exp2_minus_20_value, &exp2_minus_20_f32, sizeof(exp2_minus_20_value)); in TEST()
204 EXPECT_EQ(exp2_minus_20_f16, fp16_ieee_from_fp32_value(exp2_minus_20_value)) << in TEST()
207 "F16(F32) = 0x" << std::setw(4) << fp16_ieee_from_fp32_value(exp2_minus_20_value) << ", " << in TEST()
Dalt-to-fp32-value.cc214 const float exp2_minus_20_value = fp16_alt_to_fp32_value(exp2_minus_20_f16); in TEST() local
216 memcpy(&exp2_minus_20_bits, &exp2_minus_20_value, sizeof(exp2_minus_20_bits)); in TEST()
Dieee-to-fp32-value.cc214 const float exp2_minus_20_value = fp16_ieee_to_fp32_value(exp2_minus_20_f16); in TEST() local
216 memcpy(&exp2_minus_20_bits, &exp2_minus_20_value, sizeof(exp2_minus_20_bits)); in TEST()