Re: compilation problem with module function interface definition



glen herrmannsfeldt wrote:
>
> Maybe in a few years decimal floating point will get popular, and
> this problem will go away. That is, 1.23 will be exactly 1.23, single
> or double precision. There are people working on an efficient float
> decimal system.

Let's hope they'll do a better job than a mangled mess that is a
fattened, no, obese Fortran d'jour. In the meantime, here's a sample
number purification system (sans KINDling perversions),

real*8 a,w
data x/1.23/
print*, x
a = w(x)
print*, a

1.230000
1.23000000000000

.



Relevant Pages