Searched refs:IsFloat16NaN (Results 1 – 8 of 8) sorted by relevance
155 TEST(Math, IsFloat16NaN) { in TEST() argument156 ASSERT_FALSE(IsFloat16NaN(0u)); in TEST()157 ASSERT_FALSE(IsFloat16NaN(0u)); in TEST()158 ASSERT_FALSE(IsFloat16NaN(Float32ToFloat16(1.0f))); in TEST()159 ASSERT_FALSE(IsFloat16NaN(Float32ToFloat16(INFINITY))); in TEST()160 ASSERT_FALSE(IsFloat16NaN(Float32ToFloat16(-INFINITY))); in TEST()162 ASSERT_TRUE(IsFloat16NaN(Float32ToFloat16(INFINITY) + 1)); in TEST()163 ASSERT_TRUE(IsFloat16NaN(Float32ToFloat16(-INFINITY) + 1)); in TEST()164 ASSERT_TRUE(IsFloat16NaN(0x7FFF)); in TEST()165 ASSERT_TRUE(IsFloat16NaN(0xFFFF)); in TEST()
239 TEST(Math, IsFloat16NaN) { in TEST() argument240 ASSERT_FALSE(IsFloat16NaN(0u)); in TEST()241 ASSERT_FALSE(IsFloat16NaN(0u)); in TEST()242 ASSERT_FALSE(IsFloat16NaN(Float32ToFloat16(1.0f))); in TEST()243 ASSERT_FALSE(IsFloat16NaN(Float32ToFloat16(INFINITY))); in TEST()244 ASSERT_FALSE(IsFloat16NaN(Float32ToFloat16(-INFINITY))); in TEST()246 ASSERT_TRUE(IsFloat16NaN(Float32ToFloat16(INFINITY) + 1)); in TEST()247 ASSERT_TRUE(IsFloat16NaN(Float32ToFloat16(-INFINITY) + 1)); in TEST()248 ASSERT_TRUE(IsFloat16NaN(0x7FFF)); in TEST()249 ASSERT_TRUE(IsFloat16NaN(0xFFFF)); in TEST()
54 bool IsFloat16NaN(uint16_t fp16);
112 bool IsFloat16NaN(uint16_t fp16) { in IsFloat16NaN() function
90 bool IsFloat16NaN(uint16_t fp16);
135 bool IsFloat16NaN(uint16_t fp16) { in IsFloat16NaN() function
102 if (IsFloat16NaN(expected)) { in Floats16Match()103 return IsFloat16NaN(actual); in Floats16Match()
104 if (IsFloat16NaN(expected)) { in Floats16Match()105 return IsFloat16NaN(actual); in Floats16Match()