|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
lib/Analysis/ConstantFolding.cpp 1638 if (status != APFloat::opOK &&
1981 assert(status == APFloat::opOK && !lost &&
2094 if (APFloat::opStatus::opOK == V.mod(Op2->getValueAPF()))
lib/CodeGen/SelectionDAG/DAGCombiner.cpp12547 if ((st == APFloat::opOK || st == APFloat::opInexact) && // Not too nasty
lib/CodeGen/SelectionDAG/SelectionDAG.cpp 4366 if (fs == APFloat::opOK || fs == APFloat::opInexact)
4372 if (fs == APFloat::opOK || fs == APFloat::opInexact)
4378 if (fs == APFloat::opOK || fs == APFloat::opInexact)
9499 APFloat::opOK ||
lib/Support/APFloat.cpp 1056 assert(status == opOK);
1315 return opOK;
1342 return opOK;
1371 return opOK;
1428 return opOK;
1438 return opOK;
1444 return opOK;
1449 return opOK;
1453 return opOK;
1463 return opOK;
1552 return opOK;
1560 return opOK;
1566 return opOK;
1572 return opOK;
1580 return opOK;
1605 return opOK;
1609 return opOK;
1621 return opOK;
1637 return opOK;
1645 return opOK;
1656 return opOK;
1767 assert(fs==opOK); // should always work
1770 assert(fs==opOK || fs==opInexact); // should not overflow or underflow
1773 assert(fs==opOK || fs==opInexact); // likewise
1795 assert(fs==opOK);
1838 if (fs == opOK)
1853 return opOK;
1868 if (fs != opOK)
1875 if (fs != opOK && fs != opInexact)
2040 *losesInfo = (fs != opOK);
2053 fs = opOK;
2056 fs = opOK;
2092 return opOK;
2171 return opOK;
2428 powHUerr = powStatus != opOK;
2439 powHUerr = (powStatus == opOK && calcLostFraction == lfExactlyZero) ? 0:2;
2447 HUerr = HUerrBound(calcLostFraction != lfExactlyZero, sigStatus != opOK,
2505 fs = opOK;
2617 return opOK;
2883 assert(fs == opOK && !losesInfo);
2888 assert(fs == opOK || fs == opInexact);
2898 assert(fs == opOK && !losesInfo);
2904 assert(fs == opOK && !losesInfo);
3120 assert(fs == opOK && !losesInfo);
3127 assert(fs == opOK && !losesInfo);
3662 if (reciprocal.divide(*this, rmNearestTiesToEven) != opOK)
3698 opStatus result = opOK;
3952 int Status = opOK;
3961 Status = opOK;
4013 return opOK;
4034 return opOK;
4038 return opOK;
4042 return opOK;
4046 return opOK;
4055 return opOK;
4059 return opOK;
4108 return opOK;
4112 return opOK;
4117 return opOK;
4121 return opOK;
4125 return opOK;
4130 int Status = opOK;
4487 return opOK;
lib/Support/StringRef.cpp 587 if (Status != APFloat::opOK) {
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp 1225 APFloat::opOK)
2592 RealVal, Status == APFloat::opOK, S, getContext()));
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp 1512 if (Status != APFloat::opOK &&
lib/Target/X86/X86ISelLowering.cpp18963 LLVM_ATTRIBUTE_UNUSED APFloat::opStatus Status = APFloat::opOK;
18973 assert(Status == APFloat::opOK && !LosesInfo &&
lib/Transforms/InstCombine/InstCombineCalls.cpp 3338 if (Status == APFloat::opOK)
lib/Transforms/Scalar/Float2Int.cpp 328 if (Res != APFloat::opOK || NewF.compare(F) != APFloat::cmpEqual) {
lib/Transforms/Scalar/IndVarSimplify.cpp 292 APFloat::rmTowardZero, &isExact) != APFloat::opOK ||
lib/Transforms/Utils/SimplifyLibCalls.cpp 1526 APFloat::opOK &&
1710 if (Expo2.add(ExpoA, APFloat::rmNearestTiesToEven) != APFloat::opOK)
1745 APFloat::opOK) {
tools/clang/lib/Sema/SemaChecking.cpp11148 if (Result == llvm::APFloat::opOK && isExact) {
11810 if (ConversionStatus != llvm::APFloat::opOK) {
tools/clang/lib/Sema/SemaExpr.cpp 3359 bool isExact = (result == APFloat::opOK);
unittests/ADT/APFloatTest.cpp 77 EXPECT_EQ(test.next(false), APFloat::opOK);
85 EXPECT_EQ(test.next(true), APFloat::opOK);
92 EXPECT_EQ(test.next(false), APFloat::opOK);
99 EXPECT_EQ(test.next(true), APFloat::opOK);
106 EXPECT_EQ(test.next(false), APFloat::opOK);
116 EXPECT_EQ(test.next(true), APFloat::opOK);
124 EXPECT_EQ(test.next(false), APFloat::opOK);
130 EXPECT_EQ(test.next(true), APFloat::opOK);
138 EXPECT_EQ(test.next(false), APFloat::opOK);
144 EXPECT_EQ(test.next(true), APFloat::opOK);
151 EXPECT_EQ(test.next(false), APFloat::opOK);
159 EXPECT_EQ(test.next(true), APFloat::opOK);
165 EXPECT_EQ(test.next(false), APFloat::opOK);
171 EXPECT_EQ(test.next(true), APFloat::opOK);
189 EXPECT_EQ(test.next(false), APFloat::opOK);
195 EXPECT_EQ(test.next(true), APFloat::opOK);
201 EXPECT_EQ(test.next(false), APFloat::opOK);
207 EXPECT_EQ(test.next(true), APFloat::opOK);
222 EXPECT_EQ(test.next(false), APFloat::opOK);
231 EXPECT_EQ(test.next(true), APFloat::opOK);
240 EXPECT_EQ(test.next(false), APFloat::opOK);
249 EXPECT_EQ(test.next(true), APFloat::opOK);
263 EXPECT_EQ(test.next(false), APFloat::opOK);
269 EXPECT_EQ(test.next(true), APFloat::opOK);
275 EXPECT_EQ(test.next(false), APFloat::opOK);
281 EXPECT_EQ(test.next(true), APFloat::opOK);
299 EXPECT_EQ(test.next(false), APFloat::opOK);
308 EXPECT_EQ(test.next(true), APFloat::opOK);
317 EXPECT_EQ(test.next(false), APFloat::opOK);
326 EXPECT_EQ(test.next(true), APFloat::opOK);
344 EXPECT_EQ(test.next(false), APFloat::opOK);
351 EXPECT_EQ(test.next(true), APFloat::opOK);
357 EXPECT_EQ(test.next(false), APFloat::opOK);
364 EXPECT_EQ(test.next(true), APFloat::opOK);
383 EXPECT_EQ(test.next(false), APFloat::opOK);
393 EXPECT_EQ(test.next(true), APFloat::opOK);
403 EXPECT_EQ(test.next(false), APFloat::opOK);
413 EXPECT_EQ(test.next(true), APFloat::opOK);
423 EXPECT_EQ(test.next(false), APFloat::opOK);
433 EXPECT_EQ(test.next(true), APFloat::opOK);
443 EXPECT_EQ(test.next(false), APFloat::opOK);
453 EXPECT_EQ(test.next(true), APFloat::opOK);
1055 EXPECT_EQ(APFloat::opOK,
1080 EXPECT_EQ(APFloat::opOK,
1767 { PInf, PInf, "inf", APFloat::opOK, APFloat::fcInfinity },
1769 { PInf, PZero, "inf", APFloat::opOK, APFloat::fcInfinity },
1770 { PInf, MZero, "inf", APFloat::opOK, APFloat::fcInfinity },
1771 { PInf, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
1776 { PInf, PNormalValue, "inf", APFloat::opOK, APFloat::fcInfinity },
1777 { PInf, MNormalValue, "inf", APFloat::opOK, APFloat::fcInfinity },
1778 { PInf, PLargestValue, "inf", APFloat::opOK, APFloat::fcInfinity },
1779 { PInf, MLargestValue, "inf", APFloat::opOK, APFloat::fcInfinity },
1780 { PInf, PSmallestValue, "inf", APFloat::opOK, APFloat::fcInfinity },
1781 { PInf, MSmallestValue, "inf", APFloat::opOK, APFloat::fcInfinity },
1782 { PInf, PSmallestNormalized, "inf", APFloat::opOK, APFloat::fcInfinity },
1783 { PInf, MSmallestNormalized, "inf", APFloat::opOK, APFloat::fcInfinity },
1785 { MInf, MInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
1786 { MInf, PZero, "-inf", APFloat::opOK, APFloat::fcInfinity },
1787 { MInf, MZero, "-inf", APFloat::opOK, APFloat::fcInfinity },
1788 { MInf, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
1793 { MInf, PNormalValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
1794 { MInf, MNormalValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
1795 { MInf, PLargestValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
1796 { MInf, MLargestValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
1797 { MInf, PSmallestValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
1798 { MInf, MSmallestValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
1799 { MInf, PSmallestNormalized, "-inf", APFloat::opOK, APFloat::fcInfinity },
1800 { MInf, MSmallestNormalized, "-inf", APFloat::opOK, APFloat::fcInfinity },
1801 { PZero, PInf, "inf", APFloat::opOK, APFloat::fcInfinity },
1802 { PZero, MInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
1803 { PZero, PZero, "0x0p+0", APFloat::opOK, APFloat::fcZero },
1804 { PZero, MZero, "0x0p+0", APFloat::opOK, APFloat::fcZero },
1805 { PZero, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
1810 { PZero, PNormalValue, "0x1p+0", APFloat::opOK, APFloat::fcNormal },
1811 { PZero, MNormalValue, "-0x1p+0", APFloat::opOK, APFloat::fcNormal },
1812 { PZero, PLargestValue, "0x1.fffffep+127", APFloat::opOK, APFloat::fcNormal },
1813 { PZero, MLargestValue, "-0x1.fffffep+127", APFloat::opOK, APFloat::fcNormal },
1814 { PZero, PSmallestValue, "0x1p-149", APFloat::opOK, APFloat::fcNormal },
1815 { PZero, MSmallestValue, "-0x1p-149", APFloat::opOK, APFloat::fcNormal },
1816 { PZero, PSmallestNormalized, "0x1p-126", APFloat::opOK, APFloat::fcNormal },
1817 { PZero, MSmallestNormalized, "-0x1p-126", APFloat::opOK, APFloat::fcNormal },
1818 { MZero, PInf, "inf", APFloat::opOK, APFloat::fcInfinity },
1819 { MZero, MInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
1820 { MZero, PZero, "0x0p+0", APFloat::opOK, APFloat::fcZero },
1821 { MZero, MZero, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
1822 { MZero, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
1827 { MZero, PNormalValue, "0x1p+0", APFloat::opOK, APFloat::fcNormal },
1828 { MZero, MNormalValue, "-0x1p+0", APFloat::opOK, APFloat::fcNormal },
1829 { MZero, PLargestValue, "0x1.fffffep+127", APFloat::opOK, APFloat::fcNormal },
1830 { MZero, MLargestValue, "-0x1.fffffep+127", APFloat::opOK, APFloat::fcNormal },
1831 { MZero, PSmallestValue, "0x1p-149", APFloat::opOK, APFloat::fcNormal },
1832 { MZero, MSmallestValue, "-0x1p-149", APFloat::opOK, APFloat::fcNormal },
1833 { MZero, PSmallestNormalized, "0x1p-126", APFloat::opOK, APFloat::fcNormal },
1834 { MZero, MSmallestNormalized, "-0x1p-126", APFloat::opOK, APFloat::fcNormal },
1835 { QNaN, PInf, "nan", APFloat::opOK, APFloat::fcNaN },
1836 { QNaN, MInf, "nan", APFloat::opOK, APFloat::fcNaN },
1837 { QNaN, PZero, "nan", APFloat::opOK, APFloat::fcNaN },
1838 { QNaN, MZero, "nan", APFloat::opOK, APFloat::fcNaN },
1839 { QNaN, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
1844 { QNaN, PNormalValue, "nan", APFloat::opOK, APFloat::fcNaN },
1845 { QNaN, MNormalValue, "nan", APFloat::opOK, APFloat::fcNaN },
1846 { QNaN, PLargestValue, "nan", APFloat::opOK, APFloat::fcNaN },
1847 { QNaN, MLargestValue, "nan", APFloat::opOK, APFloat::fcNaN },
1848 { QNaN, PSmallestValue, "nan", APFloat::opOK, APFloat::fcNaN },
1849 { QNaN, MSmallestValue, "nan", APFloat::opOK, APFloat::fcNaN },
1850 { QNaN, PSmallestNormalized, "nan", APFloat::opOK, APFloat::fcNaN },
1851 { QNaN, MSmallestNormalized, "nan", APFloat::opOK, APFloat::fcNaN },
1869 { PNormalValue, PInf, "inf", APFloat::opOK, APFloat::fcInfinity },
1870 { PNormalValue, MInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
1871 { PNormalValue, PZero, "0x1p+0", APFloat::opOK, APFloat::fcNormal },
1872 { PNormalValue, MZero, "0x1p+0", APFloat::opOK, APFloat::fcNormal },
1873 { PNormalValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
1878 { PNormalValue, PNormalValue, "0x1p+1", APFloat::opOK, APFloat::fcNormal },
1879 { PNormalValue, MNormalValue, "0x0p+0", APFloat::opOK, APFloat::fcZero },
1886 { MNormalValue, PInf, "inf", APFloat::opOK, APFloat::fcInfinity },
1887 { MNormalValue, MInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
1888 { MNormalValue, PZero, "-0x1p+0", APFloat::opOK, APFloat::fcNormal },
1889 { MNormalValue, MZero, "-0x1p+0", APFloat::opOK, APFloat::fcNormal },
1890 { MNormalValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
1895 { MNormalValue, PNormalValue, "0x0p+0", APFloat::opOK, APFloat::fcZero },
1896 { MNormalValue, MNormalValue, "-0x1p+1", APFloat::opOK, APFloat::fcNormal },
1903 { PLargestValue, PInf, "inf", APFloat::opOK, APFloat::fcInfinity },
1904 { PLargestValue, MInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
1905 { PLargestValue, PZero, "0x1.fffffep+127", APFloat::opOK, APFloat::fcNormal },
1906 { PLargestValue, MZero, "0x1.fffffep+127", APFloat::opOK, APFloat::fcNormal },
1907 { PLargestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
1915 { PLargestValue, MLargestValue, "0x0p+0", APFloat::opOK, APFloat::fcZero },
1920 { MLargestValue, PInf, "inf", APFloat::opOK, APFloat::fcInfinity },
1921 { MLargestValue, MInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
1922 { MLargestValue, PZero, "-0x1.fffffep+127", APFloat::opOK, APFloat::fcNormal },
1923 { MLargestValue, MZero, "-0x1.fffffep+127", APFloat::opOK, APFloat::fcNormal },
1924 { MLargestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
1931 { MLargestValue, PLargestValue, "0x0p+0", APFloat::opOK, APFloat::fcZero },
1937 { PSmallestValue, PInf, "inf", APFloat::opOK, APFloat::fcInfinity },
1938 { PSmallestValue, MInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
1939 { PSmallestValue, PZero, "0x1p-149", APFloat::opOK, APFloat::fcNormal },
1940 { PSmallestValue, MZero, "0x1p-149", APFloat::opOK, APFloat::fcNormal },
1941 { PSmallestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
1950 { PSmallestValue, PSmallestValue, "0x1p-148", APFloat::opOK, APFloat::fcNormal },
1951 { PSmallestValue, MSmallestValue, "0x0p+0", APFloat::opOK, APFloat::fcZero },
1952 { PSmallestValue, PSmallestNormalized, "0x1.000002p-126", APFloat::opOK, APFloat::fcNormal },
1953 { PSmallestValue, MSmallestNormalized, "-0x1.fffffcp-127", APFloat::opOK, APFloat::fcNormal },
1954 { MSmallestValue, PInf, "inf", APFloat::opOK, APFloat::fcInfinity },
1955 { MSmallestValue, MInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
1956 { MSmallestValue, PZero, "-0x1p-149", APFloat::opOK, APFloat::fcNormal },
1957 { MSmallestValue, MZero, "-0x1p-149", APFloat::opOK, APFloat::fcNormal },
1958 { MSmallestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
1967 { MSmallestValue, PSmallestValue, "0x0p+0", APFloat::opOK, APFloat::fcZero },
1968 { MSmallestValue, MSmallestValue, "-0x1p-148", APFloat::opOK, APFloat::fcNormal },
1969 { MSmallestValue, PSmallestNormalized, "0x1.fffffcp-127", APFloat::opOK, APFloat::fcNormal },
1970 { MSmallestValue, MSmallestNormalized, "-0x1.000002p-126", APFloat::opOK, APFloat::fcNormal },
1971 { PSmallestNormalized, PInf, "inf", APFloat::opOK, APFloat::fcInfinity },
1972 { PSmallestNormalized, MInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
1973 { PSmallestNormalized, PZero, "0x1p-126", APFloat::opOK, APFloat::fcNormal },
1974 { PSmallestNormalized, MZero, "0x1p-126", APFloat::opOK, APFloat::fcNormal },
1975 { PSmallestNormalized, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
1984 { PSmallestNormalized, PSmallestValue, "0x1.000002p-126", APFloat::opOK, APFloat::fcNormal },
1985 { PSmallestNormalized, MSmallestValue, "0x1.fffffcp-127", APFloat::opOK, APFloat::fcNormal },
1986 { PSmallestNormalized, PSmallestNormalized, "0x1p-125", APFloat::opOK, APFloat::fcNormal },
1987 { PSmallestNormalized, MSmallestNormalized, "0x0p+0", APFloat::opOK, APFloat::fcZero },
1988 { MSmallestNormalized, PInf, "inf", APFloat::opOK, APFloat::fcInfinity },
1989 { MSmallestNormalized, MInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
1990 { MSmallestNormalized, PZero, "-0x1p-126", APFloat::opOK, APFloat::fcNormal },
1991 { MSmallestNormalized, MZero, "-0x1p-126", APFloat::opOK, APFloat::fcNormal },
1992 { MSmallestNormalized, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2001 { MSmallestNormalized, PSmallestValue, "-0x1.fffffcp-127", APFloat::opOK, APFloat::fcNormal },
2002 { MSmallestNormalized, MSmallestValue, "-0x1.000002p-126", APFloat::opOK, APFloat::fcNormal },
2003 { MSmallestNormalized, PSmallestNormalized, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2004 { MSmallestNormalized, MSmallestNormalized, "-0x1p-125", APFloat::opOK, APFloat::fcNormal }
2056 { PInf, MInf, "inf", APFloat::opOK, APFloat::fcInfinity },
2057 { PInf, PZero, "inf", APFloat::opOK, APFloat::fcInfinity },
2058 { PInf, MZero, "inf", APFloat::opOK, APFloat::fcInfinity },
2059 { PInf, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
2064 { PInf, PNormalValue, "inf", APFloat::opOK, APFloat::fcInfinity },
2065 { PInf, MNormalValue, "inf", APFloat::opOK, APFloat::fcInfinity },
2066 { PInf, PLargestValue, "inf", APFloat::opOK, APFloat::fcInfinity },
2067 { PInf, MLargestValue, "inf", APFloat::opOK, APFloat::fcInfinity },
2068 { PInf, PSmallestValue, "inf", APFloat::opOK, APFloat::fcInfinity },
2069 { PInf, MSmallestValue, "inf", APFloat::opOK, APFloat::fcInfinity },
2070 { PInf, PSmallestNormalized, "inf", APFloat::opOK, APFloat::fcInfinity },
2071 { PInf, MSmallestNormalized, "inf", APFloat::opOK, APFloat::fcInfinity },
2072 { MInf, PInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
2074 { MInf, PZero, "-inf", APFloat::opOK, APFloat::fcInfinity },
2075 { MInf, MZero, "-inf", APFloat::opOK, APFloat::fcInfinity },
2076 { MInf, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
2081 { MInf, PNormalValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
2082 { MInf, MNormalValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
2083 { MInf, PLargestValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
2084 { MInf, MLargestValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
2085 { MInf, PSmallestValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
2086 { MInf, MSmallestValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
2087 { MInf, PSmallestNormalized, "-inf", APFloat::opOK, APFloat::fcInfinity },
2088 { MInf, MSmallestNormalized, "-inf", APFloat::opOK, APFloat::fcInfinity },
2089 { PZero, PInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
2090 { PZero, MInf, "inf", APFloat::opOK, APFloat::fcInfinity },
2091 { PZero, PZero, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2092 { PZero, MZero, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2093 { PZero, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
2098 { PZero, PNormalValue, "-0x1p+0", APFloat::opOK, APFloat::fcNormal },
2099 { PZero, MNormalValue, "0x1p+0", APFloat::opOK, APFloat::fcNormal },
2100 { PZero, PLargestValue, "-0x1.fffffep+127", APFloat::opOK, APFloat::fcNormal },
2101 { PZero, MLargestValue, "0x1.fffffep+127", APFloat::opOK, APFloat::fcNormal },
2102 { PZero, PSmallestValue, "-0x1p-149", APFloat::opOK, APFloat::fcNormal },
2103 { PZero, MSmallestValue, "0x1p-149", APFloat::opOK, APFloat::fcNormal },
2104 { PZero, PSmallestNormalized, "-0x1p-126", APFloat::opOK, APFloat::fcNormal },
2105 { PZero, MSmallestNormalized, "0x1p-126", APFloat::opOK, APFloat::fcNormal },
2106 { MZero, PInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
2107 { MZero, MInf, "inf", APFloat::opOK, APFloat::fcInfinity },
2108 { MZero, PZero, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2109 { MZero, MZero, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2110 { MZero, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
2115 { MZero, PNormalValue, "-0x1p+0", APFloat::opOK, APFloat::fcNormal },
2116 { MZero, MNormalValue, "0x1p+0", APFloat::opOK, APFloat::fcNormal },
2117 { MZero, PLargestValue, "-0x1.fffffep+127", APFloat::opOK, APFloat::fcNormal },
2118 { MZero, MLargestValue, "0x1.fffffep+127", APFloat::opOK, APFloat::fcNormal },
2119 { MZero, PSmallestValue, "-0x1p-149", APFloat::opOK, APFloat::fcNormal },
2120 { MZero, MSmallestValue, "0x1p-149", APFloat::opOK, APFloat::fcNormal },
2121 { MZero, PSmallestNormalized, "-0x1p-126", APFloat::opOK, APFloat::fcNormal },
2122 { MZero, MSmallestNormalized, "0x1p-126", APFloat::opOK, APFloat::fcNormal },
2123 { QNaN, PInf, "nan", APFloat::opOK, APFloat::fcNaN },
2124 { QNaN, MInf, "nan", APFloat::opOK, APFloat::fcNaN },
2125 { QNaN, PZero, "nan", APFloat::opOK, APFloat::fcNaN },
2126 { QNaN, MZero, "nan", APFloat::opOK, APFloat::fcNaN },
2127 { QNaN, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2132 { QNaN, PNormalValue, "nan", APFloat::opOK, APFloat::fcNaN },
2133 { QNaN, MNormalValue, "nan", APFloat::opOK, APFloat::fcNaN },
2134 { QNaN, PLargestValue, "nan", APFloat::opOK, APFloat::fcNaN },
2135 { QNaN, MLargestValue, "nan", APFloat::opOK, APFloat::fcNaN },
2136 { QNaN, PSmallestValue, "nan", APFloat::opOK, APFloat::fcNaN },
2137 { QNaN, MSmallestValue, "nan", APFloat::opOK, APFloat::fcNaN },
2138 { QNaN, PSmallestNormalized, "nan", APFloat::opOK, APFloat::fcNaN },
2139 { QNaN, MSmallestNormalized, "nan", APFloat::opOK, APFloat::fcNaN },
2157 { PNormalValue, PInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
2158 { PNormalValue, MInf, "inf", APFloat::opOK, APFloat::fcInfinity },
2159 { PNormalValue, PZero, "0x1p+0", APFloat::opOK, APFloat::fcNormal },
2160 { PNormalValue, MZero, "0x1p+0", APFloat::opOK, APFloat::fcNormal },
2161 { PNormalValue, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
2166 { PNormalValue, PNormalValue, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2167 { PNormalValue, MNormalValue, "0x1p+1", APFloat::opOK, APFloat::fcNormal },
2174 { MNormalValue, PInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
2175 { MNormalValue, MInf, "inf", APFloat::opOK, APFloat::fcInfinity },
2176 { MNormalValue, PZero, "-0x1p+0", APFloat::opOK, APFloat::fcNormal },
2177 { MNormalValue, MZero, "-0x1p+0", APFloat::opOK, APFloat::fcNormal },
2178 { MNormalValue, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
2183 { MNormalValue, PNormalValue, "-0x1p+1", APFloat::opOK, APFloat::fcNormal },
2184 { MNormalValue, MNormalValue, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2191 { PLargestValue, PInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
2192 { PLargestValue, MInf, "inf", APFloat::opOK, APFloat::fcInfinity },
2193 { PLargestValue, PZero, "0x1.fffffep+127", APFloat::opOK, APFloat::fcNormal },
2194 { PLargestValue, MZero, "0x1.fffffep+127", APFloat::opOK, APFloat::fcNormal },
2195 { PLargestValue, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
2202 { PLargestValue, PLargestValue, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2208 { MLargestValue, PInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
2209 { MLargestValue, MInf, "inf", APFloat::opOK, APFloat::fcInfinity },
2210 { MLargestValue, PZero, "-0x1.fffffep+127", APFloat::opOK, APFloat::fcNormal },
2211 { MLargestValue, MZero, "-0x1.fffffep+127", APFloat::opOK, APFloat::fcNormal },
2212 { MLargestValue, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
2220 { MLargestValue, MLargestValue, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2225 { PSmallestValue, PInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
2226 { PSmallestValue, MInf, "inf", APFloat::opOK, APFloat::fcInfinity },
2227 { PSmallestValue, PZero, "0x1p-149", APFloat::opOK, APFloat::fcNormal },
2228 { PSmallestValue, MZero, "0x1p-149", APFloat::opOK, APFloat::fcNormal },
2229 { PSmallestValue, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
2238 { PSmallestValue, PSmallestValue, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2239 { PSmallestValue, MSmallestValue, "0x1p-148", APFloat::opOK, APFloat::fcNormal },
2240 { PSmallestValue, PSmallestNormalized, "-0x1.fffffcp-127", APFloat::opOK, APFloat::fcNormal },
2241 { PSmallestValue, MSmallestNormalized, "0x1.000002p-126", APFloat::opOK, APFloat::fcNormal },
2242 { MSmallestValue, PInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
2243 { MSmallestValue, MInf, "inf", APFloat::opOK, APFloat::fcInfinity },
2244 { MSmallestValue, PZero, "-0x1p-149", APFloat::opOK, APFloat::fcNormal },
2245 { MSmallestValue, MZero, "-0x1p-149", APFloat::opOK, APFloat::fcNormal },
2246 { MSmallestValue, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
2255 { MSmallestValue, PSmallestValue, "-0x1p-148", APFloat::opOK, APFloat::fcNormal },
2256 { MSmallestValue, MSmallestValue, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2257 { MSmallestValue, PSmallestNormalized, "-0x1.000002p-126", APFloat::opOK, APFloat::fcNormal },
2258 { MSmallestValue, MSmallestNormalized, "0x1.fffffcp-127", APFloat::opOK, APFloat::fcNormal },
2259 { PSmallestNormalized, PInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
2260 { PSmallestNormalized, MInf, "inf", APFloat::opOK, APFloat::fcInfinity },
2261 { PSmallestNormalized, PZero, "0x1p-126", APFloat::opOK, APFloat::fcNormal },
2262 { PSmallestNormalized, MZero, "0x1p-126", APFloat::opOK, APFloat::fcNormal },
2263 { PSmallestNormalized, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
2272 { PSmallestNormalized, PSmallestValue, "0x1.fffffcp-127", APFloat::opOK, APFloat::fcNormal },
2273 { PSmallestNormalized, MSmallestValue, "0x1.000002p-126", APFloat::opOK, APFloat::fcNormal },
2274 { PSmallestNormalized, PSmallestNormalized, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2275 { PSmallestNormalized, MSmallestNormalized, "0x1p-125", APFloat::opOK, APFloat::fcNormal },
2276 { MSmallestNormalized, PInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
2277 { MSmallestNormalized, MInf, "inf", APFloat::opOK, APFloat::fcInfinity },
2278 { MSmallestNormalized, PZero, "-0x1p-126", APFloat::opOK, APFloat::fcNormal },
2279 { MSmallestNormalized, MZero, "-0x1p-126", APFloat::opOK, APFloat::fcNormal },
2280 { MSmallestNormalized, QNaN, "-nan", APFloat::opOK, APFloat::fcNaN },
2289 { MSmallestNormalized, PSmallestValue, "-0x1.000002p-126", APFloat::opOK, APFloat::fcNormal },
2290 { MSmallestNormalized, MSmallestValue, "-0x1.fffffcp-127", APFloat::opOK, APFloat::fcNormal },
2291 { MSmallestNormalized, PSmallestNormalized, "-0x1p-125", APFloat::opOK, APFloat::fcNormal },
2292 { MSmallestNormalized, MSmallestNormalized, "0x0p+0", APFloat::opOK, APFloat::fcZero }
2344 { PInf, PInf, "inf", APFloat::opOK, APFloat::fcInfinity },
2345 { PInf, MInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
2348 { PInf, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2353 { PInf, PNormalValue, "inf", APFloat::opOK, APFloat::fcInfinity },
2354 { PInf, MNormalValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
2355 { PInf, PLargestValue, "inf", APFloat::opOK, APFloat::fcInfinity },
2356 { PInf, MLargestValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
2357 { PInf, PSmallestValue, "inf", APFloat::opOK, APFloat::fcInfinity },
2358 { PInf, MSmallestValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
2359 { PInf, PSmallestNormalized, "inf", APFloat::opOK, APFloat::fcInfinity },
2360 { PInf, MSmallestNormalized, "-inf", APFloat::opOK, APFloat::fcInfinity },
2361 { MInf, PInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
2362 { MInf, MInf, "inf", APFloat::opOK, APFloat::fcInfinity },
2365 { MInf, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2370 { MInf, PNormalValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
2371 { MInf, MNormalValue, "inf", APFloat::opOK, APFloat::fcInfinity },
2372 { MInf, PLargestValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
2373 { MInf, MLargestValue, "inf", APFloat::opOK, APFloat::fcInfinity },
2374 { MInf, PSmallestValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
2375 { MInf, MSmallestValue, "inf", APFloat::opOK, APFloat::fcInfinity },
2376 { MInf, PSmallestNormalized, "-inf", APFloat::opOK, APFloat::fcInfinity },
2377 { MInf, MSmallestNormalized, "inf", APFloat::opOK, APFloat::fcInfinity },
2380 { PZero, PZero, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2381 { PZero, MZero, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2382 { PZero, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2387 { PZero, PNormalValue, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2388 { PZero, MNormalValue, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2389 { PZero, PLargestValue, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2390 { PZero, MLargestValue, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2391 { PZero, PSmallestValue, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2392 { PZero, MSmallestValue, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2393 { PZero, PSmallestNormalized, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2394 { PZero, MSmallestNormalized, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2397 { MZero, PZero, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2398 { MZero, MZero, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2399 { MZero, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2404 { MZero, PNormalValue, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2405 { MZero, MNormalValue, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2406 { MZero, PLargestValue, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2407 { MZero, MLargestValue, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2408 { MZero, PSmallestValue, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2409 { MZero, MSmallestValue, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2410 { MZero, PSmallestNormalized, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2411 { MZero, MSmallestNormalized, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2412 { QNaN, PInf, "nan", APFloat::opOK, APFloat::fcNaN },
2413 { QNaN, MInf, "nan", APFloat::opOK, APFloat::fcNaN },
2414 { QNaN, PZero, "nan", APFloat::opOK, APFloat::fcNaN },
2415 { QNaN, MZero, "nan", APFloat::opOK, APFloat::fcNaN },
2416 { QNaN, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2421 { QNaN, PNormalValue, "nan", APFloat::opOK, APFloat::fcNaN },
2422 { QNaN, MNormalValue, "nan", APFloat::opOK, APFloat::fcNaN },
2423 { QNaN, PLargestValue, "nan", APFloat::opOK, APFloat::fcNaN },
2424 { QNaN, MLargestValue, "nan", APFloat::opOK, APFloat::fcNaN },
2425 { QNaN, PSmallestValue, "nan", APFloat::opOK, APFloat::fcNaN },
2426 { QNaN, MSmallestValue, "nan", APFloat::opOK, APFloat::fcNaN },
2427 { QNaN, PSmallestNormalized, "nan", APFloat::opOK, APFloat::fcNaN },
2428 { QNaN, MSmallestNormalized, "nan", APFloat::opOK, APFloat::fcNaN },
2446 { PNormalValue, PInf, "inf", APFloat::opOK, APFloat::fcInfinity },
2447 { PNormalValue, MInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
2448 { PNormalValue, PZero, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2449 { PNormalValue, MZero, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2450 { PNormalValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2455 { PNormalValue, PNormalValue, "0x1p+0", APFloat::opOK, APFloat::fcNormal },
2456 { PNormalValue, MNormalValue, "-0x1p+0", APFloat::opOK, APFloat::fcNormal },
2457 { PNormalValue, PLargestValue, "0x1.fffffep+127", APFloat::opOK, APFloat::fcNormal },
2458 { PNormalValue, MLargestValue, "-0x1.fffffep+127", APFloat::opOK, APFloat::fcNormal },
2459 { PNormalValue, PSmallestValue, "0x1p-149", APFloat::opOK, APFloat::fcNormal },
2460 { PNormalValue, MSmallestValue, "-0x1p-149", APFloat::opOK, APFloat::fcNormal },
2461 { PNormalValue, PSmallestNormalized, "0x1p-126", APFloat::opOK, APFloat::fcNormal },
2462 { PNormalValue, MSmallestNormalized, "-0x1p-126", APFloat::opOK, APFloat::fcNormal },
2463 { MNormalValue, PInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
2464 { MNormalValue, MInf, "inf", APFloat::opOK, APFloat::fcInfinity },
2465 { MNormalValue, PZero, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2466 { MNormalValue, MZero, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2467 { MNormalValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2472 { MNormalValue, PNormalValue, "-0x1p+0", APFloat::opOK, APFloat::fcNormal },
2473 { MNormalValue, MNormalValue, "0x1p+0", APFloat::opOK, APFloat::fcNormal },
2474 { MNormalValue, PLargestValue, "-0x1.fffffep+127", APFloat::opOK, APFloat::fcNormal },
2475 { MNormalValue, MLargestValue, "0x1.fffffep+127", APFloat::opOK, APFloat::fcNormal },
2476 { MNormalValue, PSmallestValue, "-0x1p-149", APFloat::opOK, APFloat::fcNormal },
2477 { MNormalValue, MSmallestValue, "0x1p-149", APFloat::opOK, APFloat::fcNormal },
2478 { MNormalValue, PSmallestNormalized, "-0x1p-126", APFloat::opOK, APFloat::fcNormal },
2479 { MNormalValue, MSmallestNormalized, "0x1p-126", APFloat::opOK, APFloat::fcNormal },
2480 { PLargestValue, PInf, "inf", APFloat::opOK, APFloat::fcInfinity },
2481 { PLargestValue, MInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
2482 { PLargestValue, PZero, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2483 { PLargestValue, MZero, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2484 { PLargestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2489 { PLargestValue, PNormalValue, "0x1.fffffep+127", APFloat::opOK, APFloat::fcNormal },
2490 { PLargestValue, MNormalValue, "-0x1.fffffep+127", APFloat::opOK, APFloat::fcNormal },
2493 { PLargestValue, PSmallestValue, "0x1.fffffep-22", APFloat::opOK, APFloat::fcNormal },
2494 { PLargestValue, MSmallestValue, "-0x1.fffffep-22", APFloat::opOK, APFloat::fcNormal },
2495 { PLargestValue, PSmallestNormalized, "0x1.fffffep+1", APFloat::opOK, APFloat::fcNormal },
2496 { PLargestValue, MSmallestNormalized, "-0x1.fffffep+1", APFloat::opOK, APFloat::fcNormal },
2497 { MLargestValue, PInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
2498 { MLargestValue, MInf, "inf", APFloat::opOK, APFloat::fcInfinity },
2499 { MLargestValue, PZero, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2500 { MLargestValue, MZero, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2501 { MLargestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2506 { MLargestValue, PNormalValue, "-0x1.fffffep+127", APFloat::opOK, APFloat::fcNormal },
2507 { MLargestValue, MNormalValue, "0x1.fffffep+127", APFloat::opOK, APFloat::fcNormal },
2510 { MLargestValue, PSmallestValue, "-0x1.fffffep-22", APFloat::opOK, APFloat::fcNormal },
2511 { MLargestValue, MSmallestValue, "0x1.fffffep-22", APFloat::opOK, APFloat::fcNormal },
2512 { MLargestValue, PSmallestNormalized, "-0x1.fffffep+1", APFloat::opOK, APFloat::fcNormal },
2513 { MLargestValue, MSmallestNormalized, "0x1.fffffep+1", APFloat::opOK, APFloat::fcNormal },
2514 { PSmallestValue, PInf, "inf", APFloat::opOK, APFloat::fcInfinity },
2515 { PSmallestValue, MInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
2516 { PSmallestValue, PZero, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2517 { PSmallestValue, MZero, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2518 { PSmallestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2523 { PSmallestValue, PNormalValue, "0x1p-149", APFloat::opOK, APFloat::fcNormal },
2524 { PSmallestValue, MNormalValue, "-0x1p-149", APFloat::opOK, APFloat::fcNormal },
2525 { PSmallestValue, PLargestValue, "0x1.fffffep-22", APFloat::opOK, APFloat::fcNormal },
2526 { PSmallestValue, MLargestValue, "-0x1.fffffep-22", APFloat::opOK, APFloat::fcNormal },
2531 { MSmallestValue, PInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
2532 { MSmallestValue, MInf, "inf", APFloat::opOK, APFloat::fcInfinity },
2533 { MSmallestValue, PZero, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2534 { MSmallestValue, MZero, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2535 { MSmallestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2540 { MSmallestValue, PNormalValue, "-0x1p-149", APFloat::opOK, APFloat::fcNormal },
2541 { MSmallestValue, MNormalValue, "0x1p-149", APFloat::opOK, APFloat::fcNormal },
2542 { MSmallestValue, PLargestValue, "-0x1.fffffep-22", APFloat::opOK, APFloat::fcNormal },
2543 { MSmallestValue, MLargestValue, "0x1.fffffep-22", APFloat::opOK, APFloat::fcNormal },
2548 { PSmallestNormalized, PInf, "inf", APFloat::opOK, APFloat::fcInfinity },
2549 { PSmallestNormalized, MInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
2550 { PSmallestNormalized, PZero, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2551 { PSmallestNormalized, MZero, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2552 { PSmallestNormalized, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2557 { PSmallestNormalized, PNormalValue, "0x1p-126", APFloat::opOK, APFloat::fcNormal },
2558 { PSmallestNormalized, MNormalValue, "-0x1p-126", APFloat::opOK, APFloat::fcNormal },
2559 { PSmallestNormalized, PLargestValue, "0x1.fffffep+1", APFloat::opOK, APFloat::fcNormal },
2560 { PSmallestNormalized, MLargestValue, "-0x1.fffffep+1", APFloat::opOK, APFloat::fcNormal },
2565 { MSmallestNormalized, PInf, "-inf", APFloat::opOK, APFloat::fcInfinity },
2566 { MSmallestNormalized, MInf, "inf", APFloat::opOK, APFloat::fcInfinity },
2567 { MSmallestNormalized, PZero, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2568 { MSmallestNormalized, MZero, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2569 { MSmallestNormalized, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2574 { MSmallestNormalized, PNormalValue, "-0x1p-126", APFloat::opOK, APFloat::fcNormal },
2575 { MSmallestNormalized, MNormalValue, "0x1p-126", APFloat::opOK, APFloat::fcNormal },
2576 { MSmallestNormalized, PLargestValue, "-0x1.fffffep+1", APFloat::opOK, APFloat::fcNormal },
2577 { MSmallestNormalized, MLargestValue, "0x1.fffffep+1", APFloat::opOK, APFloat::fcNormal },
2635 { PInf, PZero, "inf", APFloat::opOK, APFloat::fcInfinity },
2636 { PInf, MZero, "-inf", APFloat::opOK, APFloat::fcInfinity },
2637 { PInf, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2642 { PInf, PNormalValue, "inf", APFloat::opOK, APFloat::fcInfinity },
2643 { PInf, MNormalValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
2644 { PInf, PLargestValue, "inf", APFloat::opOK, APFloat::fcInfinity },
2645 { PInf, MLargestValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
2646 { PInf, PSmallestValue, "inf", APFloat::opOK, APFloat::fcInfinity },
2647 { PInf, MSmallestValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
2648 { PInf, PSmallestNormalized, "inf", APFloat::opOK, APFloat::fcInfinity },
2649 { PInf, MSmallestNormalized, "-inf", APFloat::opOK, APFloat::fcInfinity },
2652 { MInf, PZero, "-inf", APFloat::opOK, APFloat::fcInfinity },
2653 { MInf, MZero, "inf", APFloat::opOK, APFloat::fcInfinity },
2654 { MInf, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2659 { MInf, PNormalValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
2660 { MInf, MNormalValue, "inf", APFloat::opOK, APFloat::fcInfinity },
2661 { MInf, PLargestValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
2662 { MInf, MLargestValue, "inf", APFloat::opOK, APFloat::fcInfinity },
2663 { MInf, PSmallestValue, "-inf", APFloat::opOK, APFloat::fcInfinity },
2664 { MInf, MSmallestValue, "inf", APFloat::opOK, APFloat::fcInfinity },
2665 { MInf, PSmallestNormalized, "-inf", APFloat::opOK, APFloat::fcInfinity },
2666 { MInf, MSmallestNormalized, "inf", APFloat::opOK, APFloat::fcInfinity },
2667 { PZero, PInf, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2668 { PZero, MInf, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2671 { PZero, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2676 { PZero, PNormalValue, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2677 { PZero, MNormalValue, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2678 { PZero, PLargestValue, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2679 { PZero, MLargestValue, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2680 { PZero, PSmallestValue, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2681 { PZero, MSmallestValue, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2682 { PZero, PSmallestNormalized, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2683 { PZero, MSmallestNormalized, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2684 { MZero, PInf, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2685 { MZero, MInf, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2688 { MZero, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2693 { MZero, PNormalValue, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2694 { MZero, MNormalValue, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2695 { MZero, PLargestValue, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2696 { MZero, MLargestValue, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2697 { MZero, PSmallestValue, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2698 { MZero, MSmallestValue, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2699 { MZero, PSmallestNormalized, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2700 { MZero, MSmallestNormalized, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2701 { QNaN, PInf, "nan", APFloat::opOK, APFloat::fcNaN },
2702 { QNaN, MInf, "nan", APFloat::opOK, APFloat::fcNaN },
2703 { QNaN, PZero, "nan", APFloat::opOK, APFloat::fcNaN },
2704 { QNaN, MZero, "nan", APFloat::opOK, APFloat::fcNaN },
2705 { QNaN, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2710 { QNaN, PNormalValue, "nan", APFloat::opOK, APFloat::fcNaN },
2711 { QNaN, MNormalValue, "nan", APFloat::opOK, APFloat::fcNaN },
2712 { QNaN, PLargestValue, "nan", APFloat::opOK, APFloat::fcNaN },
2713 { QNaN, MLargestValue, "nan", APFloat::opOK, APFloat::fcNaN },
2714 { QNaN, PSmallestValue, "nan", APFloat::opOK, APFloat::fcNaN },
2715 { QNaN, MSmallestValue, "nan", APFloat::opOK, APFloat::fcNaN },
2716 { QNaN, PSmallestNormalized, "nan", APFloat::opOK, APFloat::fcNaN },
2717 { QNaN, MSmallestNormalized, "nan", APFloat::opOK, APFloat::fcNaN },
2735 { PNormalValue, PInf, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2736 { PNormalValue, MInf, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2739 { PNormalValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2744 { PNormalValue, PNormalValue, "0x1p+0", APFloat::opOK, APFloat::fcNormal },
2745 { PNormalValue, MNormalValue, "-0x1p+0", APFloat::opOK, APFloat::fcNormal },
2750 { PNormalValue, PSmallestNormalized, "0x1p+126", APFloat::opOK, APFloat::fcNormal },
2751 { PNormalValue, MSmallestNormalized, "-0x1p+126", APFloat::opOK, APFloat::fcNormal },
2752 { MNormalValue, PInf, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2753 { MNormalValue, MInf, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2756 { MNormalValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2761 { MNormalValue, PNormalValue, "-0x1p+0", APFloat::opOK, APFloat::fcNormal },
2762 { MNormalValue, MNormalValue, "0x1p+0", APFloat::opOK, APFloat::fcNormal },
2767 { MNormalValue, PSmallestNormalized, "-0x1p+126", APFloat::opOK, APFloat::fcNormal },
2768 { MNormalValue, MSmallestNormalized, "0x1p+126", APFloat::opOK, APFloat::fcNormal },
2769 { PLargestValue, PInf, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2770 { PLargestValue, MInf, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2773 { PLargestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2778 { PLargestValue, PNormalValue, "0x1.fffffep+127", APFloat::opOK, APFloat::fcNormal },
2779 { PLargestValue, MNormalValue, "-0x1.fffffep+127", APFloat::opOK, APFloat::fcNormal },
2780 { PLargestValue, PLargestValue, "0x1p+0", APFloat::opOK, APFloat::fcNormal },
2781 { PLargestValue, MLargestValue, "-0x1p+0", APFloat::opOK, APFloat::fcNormal },
2786 { MLargestValue, PInf, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2787 { MLargestValue, MInf, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2790 { MLargestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2795 { MLargestValue, PNormalValue, "-0x1.fffffep+127", APFloat::opOK, APFloat::fcNormal },
2796 { MLargestValue, MNormalValue, "0x1.fffffep+127", APFloat::opOK, APFloat::fcNormal },
2797 { MLargestValue, PLargestValue, "-0x1p+0", APFloat::opOK, APFloat::fcNormal },
2798 { MLargestValue, MLargestValue, "0x1p+0", APFloat::opOK, APFloat::fcNormal },
2803 { PSmallestValue, PInf, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2804 { PSmallestValue, MInf, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2807 { PSmallestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2812 { PSmallestValue, PNormalValue, "0x1p-149", APFloat::opOK, APFloat::fcNormal },
2813 { PSmallestValue, MNormalValue, "-0x1p-149", APFloat::opOK, APFloat::fcNormal },
2816 { PSmallestValue, PSmallestValue, "0x1p+0", APFloat::opOK, APFloat::fcNormal },
2817 { PSmallestValue, MSmallestValue, "-0x1p+0", APFloat::opOK, APFloat::fcNormal },
2818 { PSmallestValue, PSmallestNormalized, "0x1p-23", APFloat::opOK, APFloat::fcNormal },
2819 { PSmallestValue, MSmallestNormalized, "-0x1p-23", APFloat::opOK, APFloat::fcNormal },
2820 { MSmallestValue, PInf, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2821 { MSmallestValue, MInf, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2824 { MSmallestValue, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2829 { MSmallestValue, PNormalValue, "-0x1p-149", APFloat::opOK, APFloat::fcNormal },
2830 { MSmallestValue, MNormalValue, "0x1p-149", APFloat::opOK, APFloat::fcNormal },
2833 { MSmallestValue, PSmallestValue, "-0x1p+0", APFloat::opOK, APFloat::fcNormal },
2834 { MSmallestValue, MSmallestValue, "0x1p+0", APFloat::opOK, APFloat::fcNormal },
2835 { MSmallestValue, PSmallestNormalized, "-0x1p-23", APFloat::opOK, APFloat::fcNormal },
2836 { MSmallestValue, MSmallestNormalized, "0x1p-23", APFloat::opOK, APFloat::fcNormal },
2837 { PSmallestNormalized, PInf, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2838 { PSmallestNormalized, MInf, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2841 { PSmallestNormalized, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2846 { PSmallestNormalized, PNormalValue, "0x1p-126", APFloat::opOK, APFloat::fcNormal },
2847 { PSmallestNormalized, MNormalValue, "-0x1p-126", APFloat::opOK, APFloat::fcNormal },
2850 { PSmallestNormalized, PSmallestValue, "0x1p+23", APFloat::opOK, APFloat::fcNormal },
2851 { PSmallestNormalized, MSmallestValue, "-0x1p+23", APFloat::opOK, APFloat::fcNormal },
2852 { PSmallestNormalized, PSmallestNormalized, "0x1p+0", APFloat::opOK, APFloat::fcNormal },
2853 { PSmallestNormalized, MSmallestNormalized, "-0x1p+0", APFloat::opOK, APFloat::fcNormal },
2854 { MSmallestNormalized, PInf, "-0x0p+0", APFloat::opOK, APFloat::fcZero },
2855 { MSmallestNormalized, MInf, "0x0p+0", APFloat::opOK, APFloat::fcZero },
2858 { MSmallestNormalized, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
2863 { MSmallestNormalized, PNormalValue, "-0x1p-126", APFloat::opOK, APFloat::fcNormal },
2864 { MSmallestNormalized, MNormalValue, "0x1p-126", APFloat::opOK, APFloat::fcNormal },
2867 { MSmallestNormalized, PSmallestValue, "-0x1p+23", APFloat::opOK, APFloat::fcNormal },
2868 { MSmallestNormalized, MSmallestValue, "0x1p+23", APFloat::opOK, APFloat::fcNormal },
2869 { MSmallestNormalized, PSmallestNormalized, "-0x1p+0", APFloat::opOK, APFloat::fcNormal },
2870 { MSmallestNormalized, MSmallestNormalized, "0x1p+0", APFloat::opOK, APFloat::fcNormal },
3301 EXPECT_EQ(f1.mod(f2), APFloat::opOK);
3308 EXPECT_EQ(f1.mod(f2), APFloat::opOK);
3316 EXPECT_EQ(f1.mod(f2), APFloat::opOK);
3323 EXPECT_EQ(f1.mod(f2), APFloat::opOK);
3330 EXPECT_EQ(f1.mod(f2), APFloat::opOK);
3337 EXPECT_EQ(f1.mod(f2), APFloat::opOK);
3362 EXPECT_EQ(f1.mod(f2), APFloat::opOK);
3369 EXPECT_EQ(f1.mod(f2), APFloat::opOK);