LargeInt BASIC-library download

Full basic version; precompiled QuickLibraries for QuickBasic 4.5, PDS 7.1 and Visual Basic for Dos 1.0 are packed with the modules. An adaptation for the new, 32-bit FreeBasic 0.18b compiler is included. (Grab your copy at the FreeBasic site.) The whole lot and some more is bundled here:

LargeInt.zip, 228Kb

Supplement: modulo-polynomial arithmetic for PDS, VBdos and FreeBasic, originally intended as a demonstration of the multiple homomorphic image method. (header file link). New additions: factorization of polynomials over Z[X], computing Fibonacci and cyclotomic polynomials, and the ElGamal cryptosystem in finite fields GF(p^ n).

PolMods.zip, 136Kb

Although programming in Visual Basic for windοws is too cumbrous for my liking, I've ported some modules (Fibonacci, Pi, RSAcrypt) to show how easily my library is put to use in VBwin as well. The last addition is a RPN big integer calculator, doubling as library shell. These projects utilize the power of the FreeBasic compiled BigNum VB.dll

BigNumVB.zip, 81Kb

This version is an adaptation for the 32/64-bit Linux/Windοws XBasic 6.2.3 language. XBasic is recommended freeware and available at Max Reason's site. I haven't converted all modules yet, but the full, enhanced library source code and a precompiled dll are now ready for download:

BigNumXB.zip, 69Kb

Comparative note:

My library is purposely designed for supplying large integer arithmetic in standard Basic's. If you need to work on big real numbers, then Yuji Kida's fine 2600-digit UBasic package is the tool of choice. This free interpreter allows fast calculations with complex numbers and polynomials as well.
As an illustration of the differences between the standard (e.g. QBasic) and UBasic syntax, I have implemented two versions of Ferguson and Bailey's PSLQ algorithm for finding integer relations among a set of real numbers. PSLQ is already a modern classic, therefore a must to include with my number theory tools:

PSLQ.zip, 14Kb

As a bonus, there's this random collection of Basic math modules from the vaults (combinatorics, cryptography, matrices), including single-precision models of some LargeInt modules:

Single-p.zip, 74Kb

Back   Node SourceForge.net logo