Searched refs:negative_zero_value (Results 1 – 4 of 4) sorted by relevance
/external/FP16/test/ |
D | alt-from-fp32-value.cc | 266 float negative_zero_value; in TEST() local 267 memcpy(&negative_zero_value, &negative_zero_f32, sizeof(negative_zero_value)); in TEST() 268 EXPECT_EQ(negative_zero_f16, fp16_alt_from_fp32_value(negative_zero_value)) << in TEST() 271 "F16(F32) = 0x" << std::setw(4) << fp16_alt_from_fp32_value(negative_zero_value) << ", " << in TEST()
|
D | ieee-from-fp32-value.cc | 266 float negative_zero_value; in TEST() local 267 memcpy(&negative_zero_value, &negative_zero_f32, sizeof(negative_zero_value)); in TEST() 268 EXPECT_EQ(negative_zero_f16, fp16_ieee_from_fp32_value(negative_zero_value)) << in TEST() 271 "F16(F32) = 0x" << std::setw(4) << fp16_ieee_from_fp32_value(negative_zero_value) << ", " << in TEST()
|
D | alt-to-fp32-value.cc | 276 const float negative_zero_value = fp16_alt_to_fp32_value(negative_zero_f16); in TEST() local 278 memcpy(&negative_zero_bits, &negative_zero_value, sizeof(negative_zero_bits)); in TEST()
|
D | ieee-to-fp32-value.cc | 276 const float negative_zero_value = fp16_ieee_to_fp32_value(negative_zero_f16); in TEST() local 278 memcpy(&negative_zero_bits, &negative_zero_value, sizeof(negative_zero_bits)); in TEST()
|