• Home
  • Raw
  • Download

Lines Matching refs:lost_fraction

365   lostFraction lost_fraction;  in shiftRight()  local
367 lost_fraction = lostFractionThroughTruncation(dst, parts, bits); in shiftRight()
371 return lost_fraction; in shiftRight()
924 lostFraction lost_fraction; in multiplySignificand() local
943 lost_fraction = lfExactlyZero; in multiplySignificand()
991 lost_fraction = addOrSubtractSignificand(extendedAddend, false); in multiplySignificand()
1021 lost_fraction = combineLostFractions(lf, lost_fraction); in multiplySignificand()
1030 return lost_fraction; in multiplySignificand()
1041 lostFraction lost_fraction; in divideSignificand() local
1104 lost_fraction = lfMoreThanHalf; in divideSignificand()
1106 lost_fraction = lfExactlyHalf; in divideSignificand()
1108 lost_fraction = lfExactlyZero; in divideSignificand()
1110 lost_fraction = lfLessThanHalf; in divideSignificand()
1115 return lost_fraction; in divideSignificand()
1213 lostFraction lost_fraction, in roundAwayFromZero() argument
1220 assert(lost_fraction != lfExactlyZero); in roundAwayFromZero()
1224 return lost_fraction == lfExactlyHalf || lost_fraction == lfMoreThanHalf; in roundAwayFromZero()
1227 if (lost_fraction == lfMoreThanHalf) in roundAwayFromZero()
1231 if (lost_fraction == lfExactlyHalf && category != fcZero) in roundAwayFromZero()
1250 lostFraction lost_fraction) in normalize() argument
1279 assert(lost_fraction == lfExactlyZero); in normalize()
1292 lost_fraction = combineLostFractions(lf, lost_fraction); in normalize()
1307 if (lost_fraction == lfExactlyZero) { in normalize()
1316 if (roundAwayFromZero(rounding_mode, lost_fraction, 0)) { in normalize()
1417 lostFraction lost_fraction; in addOrSubtractSignificand() local
1434 lost_fraction = lfExactlyZero; in addOrSubtractSignificand()
1436 lost_fraction = temp_rhs.shiftSignificandRight(bits - 1); in addOrSubtractSignificand()
1440 lost_fraction = shiftSignificandRight(-bits - 1); in addOrSubtractSignificand()
1447 (*this, lost_fraction != lfExactlyZero); in addOrSubtractSignificand()
1452 (temp_rhs, lost_fraction != lfExactlyZero); in addOrSubtractSignificand()
1457 if (lost_fraction == lfLessThanHalf) in addOrSubtractSignificand()
1458 lost_fraction = lfMoreThanHalf; in addOrSubtractSignificand()
1459 else if (lost_fraction == lfMoreThanHalf) in addOrSubtractSignificand()
1460 lost_fraction = lfLessThanHalf; in addOrSubtractSignificand()
1470 lost_fraction = temp_rhs.shiftSignificandRight(bits); in addOrSubtractSignificand()
1473 lost_fraction = shiftSignificandRight(-bits); in addOrSubtractSignificand()
1482 return lost_fraction; in addOrSubtractSignificand()
1640 lostFraction lost_fraction; in addOrSubtract() local
1642 lost_fraction = addOrSubtractSignificand(rhs, subtract); in addOrSubtract()
1643 fs = normalize(rounding_mode, lost_fraction); in addOrSubtract()
1646 assert(category != fcZero || lost_fraction == lfExactlyZero); in addOrSubtract()
1684 lostFraction lost_fraction = multiplySignificand(rhs, nullptr); in multiply() local
1685 fs = normalize(rounding_mode, lost_fraction); in multiply()
1686 if (lost_fraction != lfExactlyZero) in multiply()
1703 lostFraction lost_fraction = divideSignificand(rhs); in divide() local
1704 fs = normalize(rounding_mode, lost_fraction); in divide()
1705 if (lost_fraction != lfExactlyZero) in divide()
1805 lostFraction lost_fraction; in fusedMultiplyAdd() local
1807 lost_fraction = multiplySignificand(multiplicand, &addend); in fusedMultiplyAdd()
1808 fs = normalize(rounding_mode, lost_fraction); in fusedMultiplyAdd()
1809 if (lost_fraction != lfExactlyZero) in fusedMultiplyAdd()
2070 lostFraction lost_fraction; in convertToSignExtendedInteger() local
2123 lost_fraction = lostFractionThroughTruncation(src, partCount(), in convertToSignExtendedInteger()
2125 if (lost_fraction != lfExactlyZero && in convertToSignExtendedInteger()
2126 roundAwayFromZero(rounding_mode, lost_fraction, truncatedBits)) { in convertToSignExtendedInteger()
2131 lost_fraction = lfExactlyZero; in convertToSignExtendedInteger()
2160 if (lost_fraction == lfExactlyZero) { in convertToSignExtendedInteger()
2233 lostFraction lost_fraction; in convertFromUnsignedParts() local
2245 lost_fraction = lostFractionThroughTruncation(src, srcCount, in convertFromUnsignedParts()
2250 lost_fraction = lfExactlyZero; in convertFromUnsignedParts()
2254 return normalize(rounding_mode, lost_fraction); in convertFromUnsignedParts()
2325 lostFraction lost_fraction = lfExactlyZero; in convertFromHexadecimalString() local
2364 lost_fraction = trailingHexadecimalFraction(p, end, hex_value); in convertFromHexadecimalString()
2399 return normalize(rounding_mode, lost_fraction); in convertFromHexadecimalString()