Multiple Precision Arithmetic

BlitzMax Forums/Brucey's Modules/Multiple Precision Arithmetic

Brucey(Posted 2009) [#1]
Announcing another addition to the modules related to mathematics : BaH.GMP
GMP is a library for arbitrary precision arithmetic, operating on integers, rational numbers, and floating point numbers. There is no practical limit to the precision except the ones implied by the available memory in the machine GMP runs on. GMP has a rich set of functions, and the functions have a regular interface.

GMP is an LGPL library, and therefore is interfaced via DLL/shared objects. For Mac and Win32, the library is provided with the distribution. Most Linux distros already have libgmp installed, but for building an application you will also need to install the related "dev" package.

Some of you may note that this has similar functionality to BaH.MAPM. Indeed, they perform many similar functions. But, choice is always good, I say ;-)

The download is available from the google code site, here.