Re: specifying type of constant in floating-point initialization expression
On 2012-04-08 21:14:23 +0000, Richard Maine said:
> Isolation of nonportable things is one of the most important principles
> in writing code that is easy to port and maintain.
Many compilers (well, ifort and gfortran JOTTOMH) support
the f08 iso_fortran_env constants real32, real64, and real128.
They are portable and precise.
If you don't like the names, just rename on the use statement.
use, intrinsic :: iso_fortran_env, only: my_better_name => real64