Home
last modified time | relevance | path

Searched refs:IsFloat16NaN (Results 1 – 8 of 8) sorted by relevance

/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/
DMathTests.cpp155 TEST(Math, IsFloat16NaN) { in TEST() argument
156 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()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DMathTests.cpp239 TEST(Math, IsFloat16NaN) { in TEST() argument
240 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()
/third_party/flutter/skia/third_party/externals/dawn/src/common/
DMath.h54 bool IsFloat16NaN(uint16_t fp16);
DMath.cpp112 bool IsFloat16NaN(uint16_t fp16) { in IsFloat16NaN() function
/third_party/skia/third_party/externals/dawn/src/common/
DMath.h90 bool IsFloat16NaN(uint16_t fp16);
DMath.cpp135 bool IsFloat16NaN(uint16_t fp16) { in IsFloat16NaN() function
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DTextureFormatTests.cpp102 if (IsFloat16NaN(expected)) { in Floats16Match()
103 return IsFloat16NaN(actual); in Floats16Match()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DTextureFormatTests.cpp104 if (IsFloat16NaN(expected)) { in Floats16Match()
105 return IsFloat16NaN(actual); in Floats16Match()