Home
last modified time | relevance | path

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

/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/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/angle/third_party/glslang/src/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/angle/third_party/spirv-tools/src/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/angle/third_party/glslang/src/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/angle/third_party/spirv-tools/src/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-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.cpp545 const bool isNan = !isInf && rnd.getFloat() > 0.66f; in infNanRandomFloats() local
550 const deUint32 mantissa = isInf ? 0 : (isNan ? ((1u<<22) | m) : m); in infNanRandomFloats()
551 const deUint32 exp = (isNan || isInf) ? 0xffu : deMin32(e, 0x7fu); in infNanRandomFloats()
554 DE_ASSERT(tcu::Float32(value).isInf() == isInf && tcu::Float32(value).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.cpp848 const bool isNan = rnd.getFloat() > 0.3f; in getInputValues() local
849 const bool isInf = !isNan && rnd.getFloat() > 0.4f; in getInputValues()
851 const deUint32 exp = !isNan && !isInf ? (rnd.getUint32() & 0x7fu) : 0xffu; in getInputValues()
855 DE_ASSERT(tcu::Float32(value).isInf() == isInf && tcu::Float32(value).isNaN() == isNan); in getInputValues()
932 const bool isNan = !isInf && rnd.getFloat() > 0.4f; in getInputValues() local
934 const deUint32 exp = !isNan && !isInf ? (rnd.getUint32() & 0x7fu) : 0xffu; in getInputValues()
938 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()
/external/angle/third_party/glslang/src/glslang/MachineIndependent/
DConstant.cpp56 bool isNan(double x) in isNan() function
667 newConstArray[i].setBConst(isNan(unionArray[i].getDConst())); in fold()