[J3] type definitions

Robert Corbett rpcorbett at att.net
Wed Aug 10 22:18:34 UTC 2022


Is the program
      PROGRAM MAIN
        TYPE T
          REAL(KIND=KIND(X)) Y
        END TYPE T
      END

standard conformant?

What about the program

      PROGRAM MAIN
        DOUBLE PRECISION X
        TYPE T
          REAL(KIND=KIND(X)) X
        END TYPE T
      END

?

Some of the text in the Fortran 2008
standard and Corrigendum 1 thatapplies to these programs seems tobe missing in the Fortran 2018 
standard and the 2023 draft.

Robert Corbett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20220810/5a71f1a5/attachment.htm>


More information about the J3 mailing list