parrotcode: big number library | |
Contents | Language Implementations | Lua |
lib/bc.pir - big number library
See original on http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lbc/
This implementation is based on the PMC BigInt, a wrapper over gmp (GNU multiple precision arithmetic library), see src/pmc/bigint.pmc.
Use PMC BigFloat when available.
|