This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
MP and recursive fortran
- To: "\"gnu-win32 at cygnus dot com\"" <gnu-win32 at cygnus dot com>
- Subject: MP and recursive fortran
- From: "William M. Mullins" <mullinwm at picard dot ml dot wpafb dot af dot mil>
- Date: Fri, 24 Jul 1998 07:04:57 -0400
- Organization: TMCI-WL/MLIM
To whoever may be interested:
For anyone interested in multi-precision calculations using cygwin32 or
recursive fortran.
gmp-2.0.2 compiles right out-of-the-box (OOB) and passes all the tests.
Though is works, it lacks most trasendentals used for many calculations.
NASA'a 'mpfunc' (if f77 for ieee) compiles OOB with the egcs g77 and
passes all tests. It also includes many transendental functions. The
companion 'transmp', which translates f77 source to make all the
calculations MP, is also in fortran but uses recursion (??????? which
some compilers seem to allow ???????). To get around this: 1) use f2c
to translate the program to c; 2) for the recursive function, edit all
of the variable declarations to remove the 'static' keywords that f2c
likes; 3) compile/link with gcc -lf2c -lm. It runs with no problems and
passes all tests.
This is simply a bit of trivia I though some one may find useful.
W. M. Mullins
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".