> Date: Tue, 19 Sep 2000 20:21:31 -0400
> From: Aleksandar Donev <[log in to unmask]>
> > Try: print *, c
> > which automatically puts in the parentheses.
> >
> > Since it now transpires that this double precision problem occurs with
> > complex, are you sure that you actually have correctly specified double
> > oprecision? How did you specify it?
>
> Eell, It is not really a problem, other than the fact I need formatting
> explicitly, which is anoying. I always declare things with KIND, as in:
>
> integer, parameter :: wp=kind(0.0d0) ! Using selected_real_kind is no
> different complex(kind=wp) :: x, erf
>
> Also, I don't like and don't teach to the students PRINT and other shortcuts.
PRINT is one of the simplest forms, specially good for students.
There is also WRITE (*, *) which does the same thing.
> Thanks,
> Aleksandar
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|