Lines Matching refs:QNaN
41 // We test qNaN, -qNaN, +sNaN, -sNaN with and without payloads. *NOTE* The
70 // 7. qNaN
163 // nextUp(qNaN) = qNaN
169 // nextDown(qNaN) = qNaN
175 // nextUp(sNaN) = qNaN
181 // nextDown(sNaN) = qNaN
1679 // Test +/- qNaN. +/- dont mean anything with qNaN but paranoia can't hurt in
1702 APFloat QNaN = APFloat::getNaN(APFloat::IEEEsingle(), false);
1729 { PInf, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
1746 { MInf, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
1763 { PZero, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
1780 { MZero, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
1793 { QNaN, PInf, "nan", APFloat::opOK, APFloat::fcNaN },
1794 { QNaN, MInf, "nan", APFloat::opOK, APFloat::fcNaN },
1795 { QNaN, PZero, "nan", APFloat::opOK, APFloat::fcNaN },
1796 { QNaN, MZero, "nan", APFloat::opOK, APFloat::fcNaN },
1797 { QNaN, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
1800 { QNaN, SNaN, "nan", APFloat::opInvalidOp, APFloat::fcNaN },
1802 { QNaN, PNormalValue, "nan", APFloat::opOK, APFloat::fcNaN },
1803 { QNaN, MNormalValue, "nan", APFloat::opOK, APFloat::fcNaN },
1804 { QNaN, PLargestValue, "nan", APFloat::opOK, APFloat::fcNaN },
1805 { QNaN, MLargestValue, "nan", APFloat::opOK, APFloat::fcNaN },
1806 { QNaN, PSmallestValue, "nan", APFloat::opOK, APFloat::fcNaN },
1807 { QNaN, MSmallestValue, "nan", APFloat::opOK, APFloat::fcNaN },
1808 { QNaN, PSmallestNormalized, "nan", APFloat::opOK, APFloat::fcNaN },
1809 { QNaN, MSmallestNormalized, "nan", APFloat::opOK, APFloat::fcNaN },
1816 { SNaN, QNaN, "nan", APFloat::opInvalidOp, APFloat::fcNaN },
1831 { PNormalValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
1848 { MNormalValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
1865 { PLargestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
1882 { MLargestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
1899 { PSmallestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
1916 { MSmallestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
1933 { PSmallestNormalized, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
1950 { MSmallestNormalized, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
1990 APFloat QNaN = APFloat::getNaN(APFloat::IEEEsingle(), false);
2017 { PInf, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
2034 { MInf, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
2051 { PZero, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
2068 { MZero, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
2081 { QNaN, PInf, "nan", APFloat::opOK, APFloat::fcNaN },
2082 { QNaN, MInf, "nan", APFloat::opOK, APFloat::fcNaN },
2083 { QNaN, PZero, "nan", APFloat::opOK, APFloat::fcNaN },
2084 { QNaN, MZero, "nan", APFloat::opOK, APFloat::fcNaN },
2085 { QNaN, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2088 { QNaN, SNaN, "nan", APFloat::opInvalidOp, APFloat::fcNaN },
2090 { QNaN, PNormalValue, "nan", APFloat::opOK, APFloat::fcNaN },
2091 { QNaN, MNormalValue, "nan", APFloat::opOK, APFloat::fcNaN },
2092 { QNaN, PLargestValue, "nan", APFloat::opOK, APFloat::fcNaN },
2093 { QNaN, MLargestValue, "nan", APFloat::opOK, APFloat::fcNaN },
2094 { QNaN, PSmallestValue, "nan", APFloat::opOK, APFloat::fcNaN },
2095 { QNaN, MSmallestValue, "nan", APFloat::opOK, APFloat::fcNaN },
2096 { QNaN, PSmallestNormalized, "nan", APFloat::opOK, APFloat::fcNaN },
2097 { QNaN, MSmallestNormalized, "nan", APFloat::opOK, APFloat::fcNaN },
2104 { SNaN, QNaN, "nan", APFloat::opInvalidOp, APFloat::fcNaN },
2119 { PNormalValue, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
2136 { MNormalValue, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
2153 { PLargestValue, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
2170 { MLargestValue, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
2187 { PSmallestValue, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
2204 { MSmallestValue, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
2221 { PSmallestNormalized, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
2238 { MSmallestNormalized, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
2278 APFloat QNaN = APFloat::getNaN(APFloat::IEEEsingle(), false);
2306 { PInf, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2323 { MInf, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2340 { PZero, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2357 { MZero, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2370 { QNaN, PInf, "nan", APFloat::opOK, APFloat::fcNaN },
2371 { QNaN, MInf, "nan", APFloat::opOK, APFloat::fcNaN },
2372 { QNaN, PZero, "nan", APFloat::opOK, APFloat::fcNaN },
2373 { QNaN, MZero, "nan", APFloat::opOK, APFloat::fcNaN },
2374 { QNaN, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2377 { QNaN, SNaN, "nan", APFloat::opInvalidOp, APFloat::fcNaN },
2379 { QNaN, PNormalValue, "nan", APFloat::opOK, APFloat::fcNaN },
2380 { QNaN, MNormalValue, "nan", APFloat::opOK, APFloat::fcNaN },
2381 { QNaN, PLargestValue, "nan", APFloat::opOK, APFloat::fcNaN },
2382 { QNaN, MLargestValue, "nan", APFloat::opOK, APFloat::fcNaN },
2383 { QNaN, PSmallestValue, "nan", APFloat::opOK, APFloat::fcNaN },
2384 { QNaN, MSmallestValue, "nan", APFloat::opOK, APFloat::fcNaN },
2385 { QNaN, PSmallestNormalized, "nan", APFloat::opOK, APFloat::fcNaN },
2386 { QNaN, MSmallestNormalized, "nan", APFloat::opOK, APFloat::fcNaN },
2393 { SNaN, QNaN, "nan", APFloat::opInvalidOp, APFloat::fcNaN },
2408 { PNormalValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2425 { MNormalValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2442 { PLargestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2459 { MLargestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2476 { PSmallestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2493 { MSmallestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2510 { PSmallestNormalized, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2527 { MSmallestNormalized, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2567 APFloat QNaN = APFloat::getNaN(APFloat::IEEEsingle(), false);
2595 { PInf, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2612 { MInf, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2629 { PZero, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2646 { MZero, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2659 { QNaN, PInf, "nan", APFloat::opOK, APFloat::fcNaN },
2660 { QNaN, MInf, "nan", APFloat::opOK, APFloat::fcNaN },
2661 { QNaN, PZero, "nan", APFloat::opOK, APFloat::fcNaN },
2662 { QNaN, MZero, "nan", APFloat::opOK, APFloat::fcNaN },
2663 { QNaN, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2666 { QNaN, SNaN, "nan", APFloat::opInvalidOp, APFloat::fcNaN },
2668 { QNaN, PNormalValue, "nan", APFloat::opOK, APFloat::fcNaN },
2669 { QNaN, MNormalValue, "nan", APFloat::opOK, APFloat::fcNaN },
2670 { QNaN, PLargestValue, "nan", APFloat::opOK, APFloat::fcNaN },
2671 { QNaN, MLargestValue, "nan", APFloat::opOK, APFloat::fcNaN },
2672 { QNaN, PSmallestValue, "nan", APFloat::opOK, APFloat::fcNaN },
2673 { QNaN, MSmallestValue, "nan", APFloat::opOK, APFloat::fcNaN },
2674 { QNaN, PSmallestNormalized, "nan", APFloat::opOK, APFloat::fcNaN },
2675 { QNaN, MSmallestNormalized, "nan", APFloat::opOK, APFloat::fcNaN },
2682 { SNaN, QNaN, "nan", APFloat::opInvalidOp, APFloat::fcNaN },
2697 { PNormalValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2714 { MNormalValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2731 { PLargestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2748 { MLargestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2765 { PSmallestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2782 { MSmallestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2799 { PSmallestNormalized, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2816 { MSmallestNormalized, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2899 APFloat QNaN = APFloat::getNaN(APFloat::IEEEsingle(), false);
2910 EXPECT_TRUE(NegQNaN.bitwiseIsEqual(neg(QNaN)));
2911 EXPECT_TRUE(QNaN.bitwiseIsEqual(neg(NegQNaN)));