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/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-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/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderCommonFunctionTests.cpp652 const bool isNan = !isInf && rnd.getFloat() > 0.66f; in infNanRandomFloats() local
657 const deUint64 mantissa = isInf ? 0 : (isNan ? ((kOne<<(numMantissaBits-1)) | m) : m); in infNanRandomFloats()
658 const deUint64 exp = (isNan || isInf) ? exponentMask : std::min(e, exponentBias); in infNanRandomFloats()
663 DE_ASSERT(tcu::Float64(value).isInf() == isInf && tcu::Float64(value).isNaN() == isNan); in infNanRandomFloats()
669 DE_ASSERT(tcu::Float32(value32).isInf() == isInf && tcu::Float32(value32).isNaN() == isNan); in infNanRandomFloats()
/external/deqp/modules/gles3/functional/
Des3fShaderCommonFunctionTests.cpp774 const bool isNan = rnd.getFloat() > 0.3f; in getInputValues() local
775 const bool isInf = !isNan && rnd.getFloat() > 0.4f; in getInputValues()
777 const deUint32 exp = !isNan && !isInf ? (rnd.getUint32() & 0x7fu) : 0xffu; in getInputValues()
781 DE_ASSERT(tcu::Float32(value).isInf() == isInf && tcu::Float32(value).isNaN() == isNan); in getInputValues()
856 const bool isNan = !isInf && rnd.getFloat() > 0.4f; in getInputValues() local
858 const deUint32 exp = !isNan && !isInf ? (rnd.getUint32() & 0x7fu) : 0xffu; in getInputValues()
862 DE_ASSERT(tcu::Float32(value).isInf() == isInf && tcu::Float32(value).isNaN() == isNan); in getInputValues()
/external/deqp/modules/gles31/functional/
Des31fShaderCommonFunctionTests.cpp849 const bool isNan = rnd.getFloat() > 0.3f; in getInputValues() local
850 const bool isInf = !isNan && rnd.getFloat() > 0.4f; in getInputValues()
852 const deUint32 exp = !isNan && !isInf ? (rnd.getUint32() & 0x7fu) : 0xffu; in getInputValues()
856 DE_ASSERT(tcu::Float32(value).isInf() == isInf && tcu::Float32(value).isNaN() == isNan); in getInputValues()
933 const bool isNan = !isInf && rnd.getFloat() > 0.4f; in getInputValues() local
935 const deUint32 exp = !isNan && !isInf ? (rnd.getUint32() & 0x7fu) : 0xffu; in getInputValues()
939 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
667 newConstArray[i].setBConst(isNan(unionArray[i].getDConst())); in fold()