Add a relatively simple mostly-const-fn bigint math implementation