From: Gautier de Montmollin <gautier.demontmollin@maths.unine.ch>
To: armand.puccetti@cisi.fr
Subject: Re: FORTRAN to ADA transl
Date: 1998/11/09
Date: 1998-11-09T00:00:00+00:00 [thread overview]
Message-ID: <364752C1.2B8745C1@maths.unine.ch> (raw)
In-Reply-To: 3647382E.42E6B4BD@cisi.fr
> Does anyone know about some translator from FORTRAN to ADA, especially
> for F77 and Ada95? Even a partial translation would help.
That perl script will do the job:
ftp://ftp.usafa.af.mil/pub/dfcs/carlisle/f2ada.pl
I have used it many times to translate numerical code.
> Ah, one constraint: my Fortran S/W is critical in terms of precision,
> that means both codes should use the same representation for reals and
> the same precision.
To be sure: find (even by testing) the precision of the fortran floats
and specify it with a "delta" in Ada.
In general (but to verify), FORTRAN real is Ada float; double or real*8
is long_float, etc. On DEC AXP machines it's the case. You can even
interface built-in FORTRAN routines (like Lapack) with your Ada code.
--
Gautier
--------
Homepage: http://www.unine.ch/math/Personnel/Assistants/Gautier/Montmollin.html
Software: http://www.unine.ch/math/Personnel/Assistants/Gautier/Gaut_FTP.htm.
next prev parent reply other threads:[~1998-11-09 0:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-11-09 0:00 FORTRAN to ADA transl armandp
1998-11-09 0:00 ` Gautier de Montmollin [this message]
1998-11-11 0:00 ` Oliver.Kellogg
1998-11-12 0:00 ` dewarr
1998-11-12 0:00 ` Gautier.DeMontmollin
1998-11-12 0:00 ` BSCrawford
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox