On 12/14/05, Yigal Weinstein <[EMAIL PROTECTED]> wrote: > Is there a simple way of implementing arbitary precision in gnu fortran > compilation? I got rather confused about what could be easily done and what > cannot be easily done researching it myself. So any feedback would be > great.
You mean like having pi to any desired number of digits? As far as I know, there is no intrinsic support for this in any FORTRAN (or C, for that matter) compiler. > The code I am working on is primarily f77 and it would be better to keep it > fortran than translate it to C etc.. There are arbitrary precision libraries like libmpfr that seem like they do want you want. I have no idea if any have FORTRAN bindings, but you could write wrapper code in C for the needed functions using, for instance, cfortran. regards, -- Kevin B. McCarty <[EMAIL PROTECTED]> Physics Department WWW: http://www.princeton.edu/~kmccarty/ Princeton University GPG: public key ID 4F83C751 Princeton, NJ 08544

