Home
last modified time | relevance | path

Searched refs:isNan (Results 1 – 10 of 10) sorted by relevance

/external/deqp-deps/glslang/gtests/
DHexFloat.cpp367 EXPECT_TRUE(FloatProxy<float>(uint32_t(0xFFC00000)).isNan()); in TEST()
368 EXPECT_TRUE(FloatProxy<float>(uint32_t(0xFF800100)).isNan()); in TEST()
369 EXPECT_TRUE(FloatProxy<float>(uint32_t(0xFF800c00)).isNan()); in TEST()
370 EXPECT_TRUE(FloatProxy<float>(uint32_t(0xFF80F000)).isNan()); in TEST()
371 EXPECT_TRUE(FloatProxy<float>(uint32_t(0xFFFFFFFF)).isNan()); in TEST()
372 EXPECT_TRUE(FloatProxy<float>(uint32_t(0x7FC00000)).isNan()); in TEST()
373 EXPECT_TRUE(FloatProxy<float>(uint32_t(0x7F800100)).isNan()); in TEST()
374 EXPECT_TRUE(FloatProxy<float>(uint32_t(0x7f800c00)).isNan()); in TEST()
375 EXPECT_TRUE(FloatProxy<float>(uint32_t(0x7F80F000)).isNan()); in TEST()
376 EXPECT_TRUE(FloatProxy<float>(uint32_t(0x7FFFFFFF)).isNan()); in TEST()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/
Dhex_float_test.cpp405 EXPECT_TRUE(FloatProxy<float>(uint32_t(0xFFC00000)).isNan()); in TEST()
406 EXPECT_TRUE(FloatProxy<float>(uint32_t(0xFF800100)).isNan()); in TEST()
407 EXPECT_TRUE(FloatProxy<float>(uint32_t(0xFF800c00)).isNan()); in TEST()
408 EXPECT_TRUE(FloatProxy<float>(uint32_t(0xFF80F000)).isNan()); in TEST()
409 EXPECT_TRUE(FloatProxy<float>(uint32_t(0xFFFFFFFF)).isNan()); in TEST()
410 EXPECT_TRUE(FloatProxy<float>(uint32_t(0x7FC00000)).isNan()); in TEST()
411 EXPECT_TRUE(FloatProxy<float>(uint32_t(0x7F800100)).isNan()); in TEST()
412 EXPECT_TRUE(FloatProxy<float>(uint32_t(0x7f800c00)).isNan()); in TEST()
413 EXPECT_TRUE(FloatProxy<float>(uint32_t(0x7F80F000)).isNan()); in TEST()
414 EXPECT_TRUE(FloatProxy<float>(uint32_t(0x7FFFFFFF)).isNan()); in TEST()
[all …]
/external/deqp-deps/SPIRV-Tools/test/
Dhex_float_test.cpp405 EXPECT_TRUE(FloatProxy<float>(uint32_t(0xFFC00000)).isNan()); in TEST()
406 EXPECT_TRUE(FloatProxy<float>(uint32_t(0xFF800100)).isNan()); in TEST()
407 EXPECT_TRUE(FloatProxy<float>(uint32_t(0xFF800c00)).isNan()); in TEST()
408 EXPECT_TRUE(FloatProxy<float>(uint32_t(0xFF80F000)).isNan()); in TEST()
409 EXPECT_TRUE(FloatProxy<float>(uint32_t(0xFFFFFFFF)).isNan()); in TEST()
410 EXPECT_TRUE(FloatProxy<float>(uint32_t(0x7FC00000)).isNan()); in TEST()
411 EXPECT_TRUE(FloatProxy<float>(uint32_t(0x7F800100)).isNan()); in TEST()
412 EXPECT_TRUE(FloatProxy<float>(uint32_t(0x7f800c00)).isNan()); in TEST()
413 EXPECT_TRUE(FloatProxy<float>(uint32_t(0x7F80F000)).isNan()); in TEST()
414 EXPECT_TRUE(FloatProxy<float>(uint32_t(0x7FFFFFFF)).isNan()); in TEST()
[all …]
/external/deqp-deps/glslang/SPIRV/
Dhex_float.h47 static bool isNan(const Float16& val) { in isNan() function
78 static bool isNan(float f) { return std::isnan(f); }
90 static bool isNan(double f) { return std::isnan(f); }
102 static bool isNan(Float16 f) { return Float16::isNan(f); }
144 bool isNan() { return FloatProxyTraits<T>::isNan(getAsFloat()); }
/external/deqp-deps/SPIRV-Tools/source/util/
Dhex_float.h43 static bool isNan(const Float16& val) { in isNan() function
74 static bool isNan(float f) { return std::isnan(f); }
94 static bool isNan(double f) { return std::isnan(f); }
116 static bool isNan(Float16 f) { return Float16::isNan(f); }
177 bool isNan() { return FloatProxyTraits<T>::isNan(getAsFloat()); }
/external/swiftshader/third_party/SPIRV-Tools/source/util/
Dhex_float.h43 static bool isNan(const Float16& val) { in isNan() function
74 static bool isNan(float f) { return std::isnan(f); }
94 static bool isNan(double f) { return std::isnan(f); }
116 static bool isNan(Float16 f) { return Float16::isNan(f); }
177 bool isNan() { return FloatProxyTraits<T>::isNan(getAsFloat()); }
/external/deqp/modules/gles3/functional/
Des3fShaderCommonFunctionTests.cpp811 const bool isNan = rnd.getFloat() > 0.3f; in getInputValues() local
812 const bool isInf = !isNan && rnd.getFloat() > 0.4f; in getInputValues()
814 const deUint32 exp = !isNan && !isInf ? (rnd.getUint32() & 0x7fu) : 0xffu; in getInputValues()
818 DE_ASSERT(tcu::Float32(value).isInf() == isInf && tcu::Float32(value).isNaN() == isNan); in getInputValues()
893 const bool isNan = !isInf && rnd.getFloat() > 0.4f; in getInputValues() local
895 const deUint32 exp = !isNan && !isInf ? (rnd.getUint32() & 0x7fu) : 0xffu; in getInputValues()
899 DE_ASSERT(tcu::Float32(value).isInf() == isInf && tcu::Float32(value).isNaN() == isNan); in getInputValues()
/external/deqp/modules/gles31/functional/
Des31fShaderCommonFunctionTests.cpp889 const bool isNan = rnd.getFloat() > 0.3f; in getInputValues() local
890 const bool isInf = !isNan && rnd.getFloat() > 0.4f; in getInputValues()
892 const deUint32 exp = !isNan && !isInf ? (rnd.getUint32() & 0x7fu) : 0xffu; in getInputValues()
896 DE_ASSERT(tcu::Float32(value).isInf() == isInf && tcu::Float32(value).isNaN() == isNan); in getInputValues()
973 const bool isNan = !isInf && rnd.getFloat() > 0.4f; in getInputValues() local
975 const deUint32 exp = !isNan && !isInf ? (rnd.getUint32() & 0x7fu) : 0xffu; in getInputValues()
979 DE_ASSERT(tcu::Float32(value).isInf() == isInf && tcu::Float32(value).isNaN() == isNan); in getInputValues()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderCommonFunctionTests.cpp1015 const bool isNan = rnd.getFloat() > 0.3f; in getInputValues() local
1016 const bool isInf = !isNan && rnd.getFloat() > 0.4f; in getInputValues()
1018 const deUint32 exp = !isNan && !isInf ? (rnd.getUint32() & 0x7fu) : 0xffu; in getInputValues()
1022 DE_ASSERT(tcu::Float32(value).isInf() == isInf && tcu::Float32(value).isNaN() == isNan); in getInputValues()
1113 const bool isNan = !isInf && rnd.getFloat() > 0.4f; in getInputValues() local
1115 const deUint32 exp = !isNan && !isInf ? (rnd.getUint32() & 0x7fu) : 0xffu; in getInputValues()
1119 DE_ASSERT(tcu::Float32(value).isInf() == isInf && tcu::Float32(value).isNaN() == isNan); in getInputValues()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DConstant.cpp56 bool isNan(double x) in isNan() function
665 newConstArray[i].setBConst(isNan(unionArray[i].getDConst())); in fold()