Searched refs:leadingDigit (Results 1 – 3 of 3) sorted by relevance
769 byte leadingDigit = getDigitPos(safeSubtract(position, 1)); in roundToMagnitude()779 if (leadingDigit < 5) { in roundToMagnitude()781 } else if (leadingDigit > 5) { in roundToMagnitude()794 if (leadingDigit == 0) { in roundToMagnitude()802 } else if (leadingDigit == 4) { in roundToMagnitude()809 } else if (leadingDigit == 5) { in roundToMagnitude()816 } else if (leadingDigit == 9) { in roundToMagnitude()824 } else if (leadingDigit < 5) { in roundToMagnitude()
767 byte leadingDigit = getDigitPos(safeSubtract(position, 1)); in roundToMagnitude()777 if (leadingDigit < 5) { in roundToMagnitude()779 } else if (leadingDigit > 5) { in roundToMagnitude()792 if (leadingDigit == 0) { in roundToMagnitude()800 } else if (leadingDigit == 4) { in roundToMagnitude()807 } else if (leadingDigit == 5) { in roundToMagnitude()814 } else if (leadingDigit == 9) { in roundToMagnitude()822 } else if (leadingDigit < 5) { in roundToMagnitude()
624 int8_t leadingDigit = getDigitPos(safeSubtract(position, 1)); in roundToMagnitude() local634 if (leadingDigit < 5) { in roundToMagnitude()636 } else if (leadingDigit > 5) { in roundToMagnitude()649 if (leadingDigit == 0) { in roundToMagnitude()657 } else if (leadingDigit == 4) { in roundToMagnitude()664 } else if (leadingDigit == 5) { in roundToMagnitude()671 } else if (leadingDigit == 9) { in roundToMagnitude()679 } else if (leadingDigit < 5) { in roundToMagnitude()