Add mod() function.
Add powmod() function.
Standardize the order/message for div/0 errors.
Switch powmod to using 'digit' for single-digit fastpath variable.
Copy/paste error.  Implement multi-digit modulus support for mod() and powmod().
Speed up add() (10% speedup by my tests). Add a negativeAllowed flag to singleDigit().