Phillip Helbig wrote:
>From: SMTP%"[log in to unmask]" 16-FEB-2000 00:17:56.89
>
>> > o in the normal mathematical sense, e.g. A*(B+C) >as shorthand for
>> > A*B+A*C
>>
>> It's not just shorthand; this grouping may often improve accuracy;
>> thus Fortran, unlike other languages, permits the compiler to transform
>> the latter into the former.
>
>Right, but not the former into the latter. Suppose that would be
>better, for some reason. The new notation would allow that, while
>keeping the expression the same conceptually.
Well, if A*B+A*C is better than A*(B+C) for a real reason the user had better
write it that way. Leaving it up to the whim of the compiler as to which
form is to be used is not an advantage of this proposal.
Cheers,
--
...........................Malcolm Cohen, NAG Ltd., Oxford, U.K.
([log in to unmask])
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|