A simple arbitrary precision library for Lua, based on code from GNU bc