Home
last modified time | relevance | path

Searched refs:positive_infinity_value (Results 1 – 3 of 3) sorted by relevance

/external/FP16/test/
Dalt-from-fp32-value.cc282 float positive_infinity_value; in TEST() local
283 memcpy(&positive_infinity_value, &positive_infinity_f32, sizeof(positive_infinity_value)); in TEST()
284 EXPECT_EQ(max_f16, fp16_alt_from_fp32_value(positive_infinity_value)) << in TEST()
287 "F16(F32) = 0x" << std::setw(4) << fp16_alt_from_fp32_value(positive_infinity_value) << ", " << in TEST()
Dieee-from-fp32-value.cc282 float positive_infinity_value; in TEST() local
283 memcpy(&positive_infinity_value, &positive_infinity_f32, sizeof(positive_infinity_value)); in TEST()
284 EXPECT_EQ(positive_infinity_f16, fp16_ieee_from_fp32_value(positive_infinity_value)) << in TEST()
287 "F16(F32) = 0x" << std::setw(4) << fp16_ieee_from_fp32_value(positive_infinity_value) << ", " << in TEST()
Dieee-to-fp32-value.cc293 const float positive_infinity_value = fp16_ieee_to_fp32_value(positive_infinity_f16); in TEST() local
295 memcpy(&positive_infinity_bits, &positive_infinity_value, sizeof(positive_infinity_bits)); in TEST()