revap types, step 1

Steve Kargl sgk@troutmask.apl.washington.edu
Thu Aug 26 15:30:00 GMT 2004


On Wed, Aug 25, 2004 at 11:14:44PM -0700, Richard Henderson wrote:
> + 
> +   /* Choose the default double kind.  F2003 merely says that DOUBLE
> +      PRECISION should be larger than REAL.  Traditionally, DOUBLE
> +      PRECISION is twice the size of REAL.  We may or may not be able
> +      to honor either of these constraints, but try our best.  */

Richard,

I might be misreading this comment.  Are you saying that
sizeof(DOUBLE PRECISION) may not be equal to 2*sizeof(REAL)
with your patch?  This may break a boat load of code that
uses EQUIVALENCE statements.  OTOH, your patch looks to be
a major improvement over the previous code.

-- 
Steve



More information about the Fortran mailing list