Re: allocating arrays, trouble




"Arjen Markus" <arjen.markus@xxxxxxxxxx> wrote in message
news:f2583e1d-5dd5-432d-80e4-b54b38673971@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On 26 nov, 11:38, "Förster vom Silberwald" <chain_l...@xxxxxxxxxxx>
wrote:
On Nov 26, 10:26 am, "Wade Ward" <w...@xxxxxxxxxxx> wrote:

real*8, dimension(buff1,buff2) :: ger2

Why the non-portable declaration? Would it work with silverfoerster 95?

Why is it non-portable? What do you mean by silverfoerster 95?

Thanks

"real*8" is a (popular) extension to the FORTRAN 77 standard
for:

double precision

(The "8" refers to the fact that on many machine double
precision reals are implemented with 8 bytes. But that
is not guaranteed.)

Current F90/95/... practice is this:

real(kind=kind(1.0d00))
^^^^^^^^^^^ whoops, mpj

(or any of a variety of means to determine the kind of
double precision reals).
If you've taken precautions to portablt get yourself to dp, what do you have
to do to get to quad p?

Danke im voraus,
--
wade ward

wade@xxxxxxxxxxx
435 -838-7760



----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
.



Relevant Pages

  • Re: Precision of literal real constants, parameters, and Fortran standard
    ... The calling Fortran program uses double precision ... to be contrary to the standard, ... involves approximations and the standard is silent on any accuracy ...
    (comp.lang.fortran)
  • Re: Simple question about literal constants
    ... > still appears in the current versions of the standard is in an example ... > mentioning IEEE single precision. ... and a fortran "double precision" is not necessarily an ieee754 double. ... point reals whereas fortran does not require a set bit length and says ...
    (comp.lang.fortran)
  • Re: Good function to test speed of language?
    ... be sure to use the same precision in both situations (FORTRAN ... > least the Fortran 77 standard, meaning that COSwill call a single ... > or double precision version of the cosine function, ... Implicitly declared variables, ...
    (comp.lang.c)
  • Re: allocating arrays, trouble
    ... precision reals are implemented with 8 bytes. ... I am not saying that I do'nt won't to improve my Fortran. ... lists can be done via arrays and a bit of care: ...
    (comp.lang.fortran)
  • Numerical Precision Standard
    ... Fortran floating point "precision" is. ... Scenario 2) ... assigned to the "precision" which has no standard in Fortran. ...
    (comp.lang.fortran)