[M3devel] Arbitrary precision integers
Henning Thielemann
lemming at henning-thielemann.de
Mon Dec 29 01:42:24 CET 2008
On Sun, 28 Dec 2008, Martin Bishop wrote:
> Does Modula-3 (or one of it's implementations) support arbitrary
> precision integers?
http://modula3.elegosoft.com/cm3/doc/help/gen_html/arithmetic/src/basictypes/biginteger/BigInteger.i3.html
It's not well optimized and maybe not enough tested. If you find it too
slow, you might write wrapper to the GNU multiprecision library GMP. Maybe
SWIG can help writing the wrapper. (or you try Haskell, which also uses
GMP :-)
More information about the M3devel
mailing list