Lines Matching refs:fs
1666 opStatus fs;
1668 fs = addOrSubtractSpecials(rhs, subtract);
1671 if (fs == opDivByZero) {
1675 fs = normalize(rounding_mode, lost_fraction);
1689 return fs;
1710 opStatus fs;
1713 fs = multiplySpecials(rhs);
1717 fs = normalize(rounding_mode, lost_fraction);
1719 fs = (opStatus) (fs | opInexact);
1722 return fs;
1729 opStatus fs;
1732 fs = divideSpecials(rhs);
1736 fs = normalize(rounding_mode, lost_fraction);
1738 fs = (opStatus) (fs | opInexact);
1741 return fs;
1748 opStatus fs;
1752 fs = V.divide(rhs, rmNearestTiesToEven);
1753 if (fs == opDivByZero)
1754 return fs;
1759 fs = V.convertToInteger(x, parts * integerPartWidth, true,
1761 if (fs==opInvalidOp)
1762 return fs;
1764 fs = V.convertFromZeroExtendedInteger(x, parts * integerPartWidth, true,
1766 assert(fs==opOK); // should always work
1768 fs = V.multiply(rhs, rmNearestTiesToEven);
1769 assert(fs==opOK || fs==opInexact); // should not overflow or underflow
1771 fs = subtract(V, rmNearestTiesToEven);
1772 assert(fs==opOK || fs==opInexact); // likewise
1777 return fs;
1785 opStatus fs;
1786 fs = modSpecials(rhs);
1792 fs = V.divide(rhs, rmNearestTiesToEven);
1793 if (fs == opDivByZero)
1794 return fs;
1799 fs = V.convertToInteger(x, parts * integerPartWidth, true,
1801 if (fs==opInvalidOp)
1802 return fs;
1804 fs = V.convertFromZeroExtendedInteger(x, parts * integerPartWidth, true,
1806 assert(fs==opOK); // should always work
1808 fs = V.multiply(rhs, rmNearestTiesToEven);
1809 assert(fs==opOK || fs==opInexact); // should not overflow or underflow
1811 fs = subtract(V, rmNearestTiesToEven);
1812 assert(fs==opOK || fs==opInexact); // likewise
1818 return fs;
1827 opStatus fs;
1840 fs = normalize(rounding_mode, lost_fraction);
1842 fs = (opStatus) (fs | opInexact);
1847 if (category == fcZero && !(fs & opUnderflow) && sign != addend.sign)
1850 fs = multiplySpecials(multiplicand);
1852 /* FS can only be opOK or opInvalidOp. There is no more work
1859 if (fs == opOK)
1860 fs = addOrSubtract(addend, rounding_mode, false);
1863 return fs;
1868 opStatus fs;
1885 fs = MagicConstant.convertFromAPInt(IntegerConstant, false,
1889 if (fs != opOK)
1890 return fs;
1895 fs = add(MagicConstant, rounding_mode);
1896 if (fs != opOK && fs != opInexact)
1897 return fs;
1899 fs = subtract(MagicConstant, rounding_mode);
1905 return fs;
1995 opStatus fs;
2063 fs = normalize(rounding_mode, lostFraction);
2064 *losesInfo = (fs != opOK);
2077 fs = opOK;
2080 fs = opOK;
2083 return fs;
2213 opStatus fs;
2215 fs = convertToSignExtendedInteger(parts, width, isSigned, rounding_mode,
2218 if (fs == opInvalidOp) {
2235 return fs;
2523 opStatus fs;
2555 fs = opOK;
2560 fs = handleOverflow(rounding_mode);
2572 fs = normalize(rounding_mode, lfLessThanHalf);
2578 fs = handleOverflow(rounding_mode);
2628 fs = roundSignificandWithExponent(decSignificand, partCount,
2634 return fs;
2929 opStatus fs;
2941 fs = extended.convert(extendedSemantics, rmNearestTiesToEven, &losesInfo);
2942 assert(fs == opOK && !losesInfo);
2943 (void)fs;
2946 fs = u.convert(IEEEdouble, rmNearestTiesToEven, &losesInfo);
2947 assert(fs == opOK || fs == opInexact);
2948 (void)fs;
2956 fs = u.convert(extendedSemantics, rmNearestTiesToEven, &losesInfo);
2957 assert(fs == opOK && !losesInfo);
2958 (void)fs;
2962 fs = v.convert(IEEEdouble, rmNearestTiesToEven, &losesInfo);
2963 assert(fs == opOK && !losesInfo);
2964 (void)fs;
3189 opStatus fs;
3194 fs = convert(PPCDoubleDouble, rmNearestTiesToEven, &losesInfo);
3195 assert(fs == opOK && !losesInfo);
3196 (void)fs;
3201 fs = v.convert(PPCDoubleDouble, rmNearestTiesToEven, &losesInfo);
3202 assert(fs == opOK && !losesInfo);
3203 (void)fs;