Searched refs:isNan (Results 1 – 10 of 10) sorted by relevance
367 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 …]
405 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 …]
47 static bool isNan(const Float16& val) { in isNan() function78 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()); }
43 static bool isNan(const Float16& val) { in isNan() function74 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()); }
652 const bool isNan = !isInf && rnd.getFloat() > 0.66f; in infNanRandomFloats() local657 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()
774 const bool isNan = rnd.getFloat() > 0.3f; in getInputValues() local775 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() local858 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()
849 const bool isNan = rnd.getFloat() > 0.3f; in getInputValues() local850 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() local935 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()
56 bool isNan(double x) in isNan() function667 newConstArray[i].setBConst(isNan(unionArray[i].getDConst())); in fold()