> Date: Mon, 18 Sep 2000 20:49:01 -0400
> From: Aleksandar Donev <[log in to unmask]>
> robin wrote:
>
> > > I have noticed that my g77 on an IA32 machine does not support double
> > > precision (or at least when I try to WRITE a double precision number it is
> > > still printed as single precision).
> >
> > Did you change the format specification so that it would?
>
> Yes, I though of that and tried it and it worked. I have no clue why g77
> makers decided to make FMT=* this way. I tried to avoid teaching my students
> all the complications with FMT formaters, but I guess one needs them. It is
> especially frustrating printing a complex number in the usual (x,y) way---it
> seems I have to put the braces in the format myself.
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?
> Thanks,
> Aleksandar
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|