Searched refs:negative_infinity_value (Results 1 – 3 of 3) sorted by relevance
/external/FP16/test/ |
D | alt-from-fp32-value.cc | 290 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()
|
D | ieee-from-fp32-value.cc | 290 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()
|
D | ieee-to-fp32-value.cc | 302 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()
|