New extra function: digits

Used to get and set bits precision in terms of base-10 digits.