Correct a bug in bigDivDigit function