>However I was wondering if the storage scheme of complex numbers is
>defined in the standard,
I was sure it was but I didn't manage to prove it.
The Fortran 90 standard says
"In a storage association context
...
A nonpointer scalar object of type double precision real or
default complex occupies two contiguous numeric storage units."
so you could use COMMON or EQUIVALENCE to have a real arrays
mapped to the complex array.
However the correspondence between actual and dummy arguments
is described by argument and sequence association and the above
text was not written in that context.
I suspect that there may be other wording in the standard that
I overlooked.
Harvey
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|