Throw error when bigint ndigits has a negative base.