Home
last modified time | relevance | path

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

/external/FP16/test/
Dalt-from-fp32-value.cc290 float negative_infinity_value; in TEST() local
291 memcpy(&negative_infinity_value, &negative_infinity_f32, sizeof(negative_infinity_value)); in TEST()
292 EXPECT_EQ(min_f16, fp16_alt_from_fp32_value(negative_infinity_value)) << in TEST()
295 "F16(F32) = 0x" << std::setw(4) << fp16_alt_from_fp32_value(negative_infinity_value) << ", " << in TEST()
Dieee-from-fp32-value.cc290 float negative_infinity_value; in TEST() local
291 memcpy(&negative_infinity_value, &negative_infinity_f32, sizeof(negative_infinity_value)); in TEST()
292 EXPECT_EQ(negative_infinity_f16, fp16_ieee_from_fp32_value(negative_infinity_value)) << in TEST()
295 "F16(F32) = 0x" << std::setw(4) << fp16_ieee_from_fp32_value(negative_infinity_value) << ", " << in TEST()
Dieee-to-fp32-value.cc302 const float negative_infinity_value = fp16_ieee_to_fp32_value(negative_infinity_f16); in TEST() local
304 memcpy(&negative_infinity_bits, &negative_infinity_value, sizeof(negative_infinity_bits)); in TEST()