bignum for gfortran

Tobias Burnus burnus@net-b.de
Mon Jan 28 19:49:00 GMT 2008


Richard wrote:
> Where might I find the "bignum" library for use with linux _and_ win32 gfortran?
> I trust there are sufficient instructions for the busy student to be able to
> follow for calling/linking "bignum" support into our projects.
>   
GCC and gfortran themselves use GMP (www.gmplib.org) and for 
floating-point numbers MPFR (www.mpfr.org). I never tried to use them 
from Fortran, but using the ISO C bindings this should be possible. They 
definitely work on Windows and Linux as GCC uses them. If you are lucky, 
they are already installed - either because of the Linux installation or 
(if not statically linked) via installing GCC.

Tobias



More information about the Fortran mailing list