On Wed, 20 Sep 2000, Phillip Helbig wrote:
> > On Wed, 20 Sep 2000, W. J. Metzger wrote:
> > > How about sumx = sum( real( x, kind(0d0) ) )
> >
> > I would expect this to create a large temporary array, which
> > has got to be a net loss.
> >
> > It would be great if SUM could accept an optional KIND argument
> > which specifies the precision at which the summation is done.
>
> It seems to me that this wouldn't matter. The standard doesn't specify
> how things are done internally. ...
Obviously (but maybe not :-) ), what I am proposing the optional
KIND argument would do would be to specify how things are done
internally, for this function.
-P.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|