Fixed DIGIT_BASE limitation in digit.h