Lines Matching refs:nickel
665 void DecimalQuantity::roundToMagnitude(int32_t magnitude, RoundingMode roundingMode, bool nickel, U… in roundToMagnitude() argument
673 if (position <= 0 && !isApproximate && (!nickel || trailingDigit == 0 || trailingDigit == 5)) { in roundToMagnitude()
689 if (nickel && trailingDigit != 2 && trailingDigit != 7) { in roundToMagnitude()
723 if (leadingDigit == 0 && (!nickel || trailingDigit == 0 || trailingDigit == 5)) { in roundToMagnitude()
731 } else if (leadingDigit == 4 && (!nickel || trailingDigit == 2 || trailingDigit == 7)) { in roundToMagnitude()
739 } else if (leadingDigit == 5 && (!nickel || trailingDigit == 2 || trailingDigit == 7)) { in roundToMagnitude()
747 } else if (leadingDigit == 9 && (!nickel || trailingDigit == 4 || trailingDigit == 9)) { in roundToMagnitude()
755 } else if (nickel && trailingDigit != 2 && trailingDigit != 7) { in roundToMagnitude()
785 roundToMagnitude(magnitude, roundingMode, nickel, status); // start over in roundToMagnitude()
794 if (position <= 0 && (!nickel || trailingDigit == 0 || trailingDigit == 5)) { in roundToMagnitude()
805 bool isEven = nickel in roundToMagnitude()
828 if (nickel) { in roundToMagnitude()