Lines Matching refs:nan_f16
303 const uint16_t nan_f16 = fp16_alt_from_fp32_value(nan_value); in TEST() local
306 ASSERT_EQ(nan_f16 & UINT16_C(0x8000), 0) << in TEST()
309 "F16(F32) = 0x" << std::setw(4) << nan_f16; in TEST()
312 ASSERT_EQ(nan_f16 & UINT16_C(0x7C00), UINT16_C(0x7C00)) << in TEST()
315 "F16(F32) = 0x" << std::setw(4) << nan_f16; in TEST()
318 ASSERT_NE(nan_f16 & UINT16_C(0x03FF), 0) << in TEST()
321 "F16(F32) = 0x" << std::setw(4) << nan_f16; in TEST()
329 const uint16_t nan_f16 = fp16_alt_from_fp32_value(nan_value); in TEST() local
332 ASSERT_EQ(nan_f16 & UINT16_C(0x8000), UINT16_C(0x8000)) << in TEST()
335 "F16(F32) = 0x" << std::setw(4) << nan_f16; in TEST()
338 ASSERT_EQ(nan_f16 & UINT16_C(0x7C00), UINT16_C(0x7C00)) << in TEST()
341 "F16(F32) = 0x" << std::setw(4) << nan_f16; in TEST()
344 ASSERT_NE(nan_f16 & UINT16_C(0x03FF), 0) << in TEST()
347 "F16(F32) = 0x" << std::setw(4) << nan_f16; in TEST()