(j3.2006) DOUBLE PRECISION and C Interoperability

Robert Corbett robert.corbett
Wed Sep 5 22:21:21 EDT 2012


On 09/05/12 18:41, Robert Corbett wrote:
> If a C companion processor imposes stricter requirements
> on alignment for objects of type double than a Fortran
> processor can guarantee for objects of type
> DOUBLE PRECISION, can C double and Fortran DOUBLE PRECSION
> be considered interoperable types?
>
> Robert Corbett

I have, of course, been making the assumption that the value
of C_DOUBLE is the same as the value of KIND(0D0) in the case
where C_DOUBLE is not negative.  That assumption need not be
true.

Robert Corbett



More information about the J3 mailing list