Lines Matching refs:fs
1560 opStatus fs;
1564 fs = addOrSubtractSpecials(rhs, subtract);
1567 if (fs == opDivByZero) {
1571 fs = normalize(rounding_mode, lost_fraction);
1585 return fs;
1606 opStatus fs;
1610 fs = multiplySpecials(rhs);
1614 fs = normalize(rounding_mode, lost_fraction);
1616 fs = (opStatus) (fs | opInexact);
1619 return fs;
1626 opStatus fs;
1630 fs = divideSpecials(rhs);
1634 fs = normalize(rounding_mode, lost_fraction);
1636 fs = (opStatus) (fs | opInexact);
1639 return fs;
1646 opStatus fs;
1651 fs = V.divide(rhs, rmNearestTiesToEven);
1652 if (fs == opDivByZero)
1653 return fs;
1658 fs = V.convertToInteger(x, parts * integerPartWidth, true,
1660 if (fs==opInvalidOp)
1661 return fs;
1663 fs = V.convertFromZeroExtendedInteger(x, parts * integerPartWidth, true,
1665 assert(fs==opOK); // should always work
1667 fs = V.multiply(rhs, rmNearestTiesToEven);
1668 assert(fs==opOK || fs==opInexact); // should not overflow or underflow
1670 fs = subtract(V, rmNearestTiesToEven);
1671 assert(fs==opOK || fs==opInexact); // likewise
1676 return fs;
1684 opStatus fs;
1686 fs = modSpecials(rhs);
1692 fs = V.divide(rhs, rmNearestTiesToEven);
1693 if (fs == opDivByZero)
1694 return fs;
1699 fs = V.convertToInteger(x, parts * integerPartWidth, true,
1701 if (fs==opInvalidOp)
1702 return fs;
1704 fs = V.convertFromZeroExtendedInteger(x, parts * integerPartWidth, true,
1706 assert(fs==opOK); // should always work
1708 fs = V.multiply(rhs, rounding_mode);
1709 assert(fs==opOK || fs==opInexact); // should not overflow or underflow
1711 fs = subtract(V, rounding_mode);
1712 assert(fs==opOK || fs==opInexact); // likewise
1718 return fs;
1727 opStatus fs;
1742 fs = normalize(rounding_mode, lost_fraction);
1744 fs = (opStatus) (fs | opInexact);
1752 fs = multiplySpecials(multiplicand);
1754 /* FS can only be opOK or opInvalidOp. There is no more work
1761 if (fs == opOK)
1762 fs = addOrSubtract(addend, rounding_mode, false);
1765 return fs;
1855 opStatus fs;
1908 fs = normalize(rounding_mode, lostFraction);
1909 *losesInfo = (fs != opOK);
1916 fs = opOK;
1919 fs = opOK;
1922 return fs;
2054 opStatus fs;
2056 fs = convertToSignExtendedInteger(parts, width, isSigned, rounding_mode,
2059 if (fs == opInvalidOp) {
2076 return fs;
2376 opStatus fs;
2401 fs = opOK;
2406 fs = handleOverflow(rounding_mode);
2417 fs = normalize(rounding_mode, lfLessThanHalf);
2423 fs = handleOverflow(rounding_mode);
2473 fs = roundSignificandWithExponent(decSignificand, partCount,
2479 return fs;