lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I like to share my updates to Mike's Arbitrary Precision Math Library

https://github.com/achan001/MAPM-5

-- added powmod, tofixed to lua lmapm.c wrapper (included)
-- Stan Wagon book mathematica in action, powermod example:

require 'mapm'
= mapm.powmod(1e10 - 1, "1e100", 700) :tofixed(0)
501