Searched refs:leadingDigit (Results 1 – 3 of 3) sorted by relevance
779 byte leadingDigit = getDigitPos(safeSubtract(position, 1)); in roundToMagnitude()803 } else if (leadingDigit < 5) { in roundToMagnitude()806 } else if (leadingDigit > 5) { in roundToMagnitude()822 if (leadingDigit == 0 && (!nickel || trailingDigit == 0 || trailingDigit == 5)) { in roundToMagnitude()830 … } else if (leadingDigit == 4 && (!nickel || trailingDigit == 2 || trailingDigit == 7)) { in roundToMagnitude()838 … } else if (leadingDigit == 5 && (!nickel || trailingDigit == 2 || trailingDigit == 7)) { in roundToMagnitude()846 … } else if (leadingDigit == 9 && (!nickel || trailingDigit == 4 || trailingDigit == 9)) { in roundToMagnitude()869 } else if (leadingDigit < 5) { in roundToMagnitude()
781 byte leadingDigit = getDigitPos(safeSubtract(position, 1)); in roundToMagnitude()805 } else if (leadingDigit < 5) { in roundToMagnitude()808 } else if (leadingDigit > 5) { in roundToMagnitude()824 if (leadingDigit == 0 && (!nickel || trailingDigit == 0 || trailingDigit == 5)) { in roundToMagnitude()832 … } else if (leadingDigit == 4 && (!nickel || trailingDigit == 2 || trailingDigit == 7)) { in roundToMagnitude()840 … } else if (leadingDigit == 5 && (!nickel || trailingDigit == 2 || trailingDigit == 7)) { in roundToMagnitude()848 … } else if (leadingDigit == 9 && (!nickel || trailingDigit == 4 || trailingDigit == 9)) { in roundToMagnitude()871 } else if (leadingDigit < 5) { in roundToMagnitude()
680 int8_t leadingDigit = getDigitPos(safeSubtract(position, 1)); in roundToMagnitude() local704 } else if (leadingDigit < 5) { in roundToMagnitude()707 } else if (leadingDigit > 5) { 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()770 } else if (leadingDigit < 5) { in roundToMagnitude()