10.07.2015 Views

PGI Fortran Reference manual - The Portland Group

PGI Fortran Reference manual - The Portland Group

PGI Fortran Reference manual - The Portland Group

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 2. <strong>Fortran</strong> Data Types...........................................................................................................................................162.1. Intrinsic Data Types...................................................................................................................................................162.1.1. Kind Parameter..................................................................................................................................................162.1.2. Number of Bytes Specification.......................................................................................................................... 172.2. Constants...................................................................................................................................................................192.2.1. Integer Constants...............................................................................................................................................192.2.2. Binary, Octal and Hexadecimal Constants........................................................................................................ 192.2.3. Real Constants.................................................................................................................................................. 202.2.4. Double Precision Constants.............................................................................................................................. 202.2.5. Complex Constants............................................................................................................................................212.2.6. Double Complex Constants...............................................................................................................................212.2.7. Logical Constants.............................................................................................................................................. 212.2.8. Character Constants.......................................................................................................................................... 212.2.9. Parameter Constants......................................................................................................................................... 222.3. Structure Constructors...............................................................................................................................................222.4. Derived Types............................................................................................................................................................232.5. Deferred Type Parameters........................................................................................................................................ 242.5.1. Typed Allocation.................................................................................................................................................252.6. Arrays.........................................................................................................................................................................252.6.1. Array Declaration Element.................................................................................................................................262.6.2. Deferred Shape Arrays......................................................................................................................................262.6.3. Subscripts...........................................................................................................................................................262.6.4. Character Substring........................................................................................................................................... 262.6.5. Array Constructor Syntax...................................................................................................................................272.7. <strong>Fortran</strong> Pointers and Targets.................................................................................................................................... 272.8. <strong>Fortran</strong> Binary, Octal and Hexadecimal Constants................................................................................................... 282.8.1. Octal and Hexadecimal Constants - Alternate Forms.......................................................................................282.9. Hollerith Constants.................................................................................................................................................... 292.10. Structures.................................................................................................................................................................302.10.1. Records............................................................................................................................................................312.10.2. UNION and MAP Declarations........................................................................................................................ 322.10.3. Data Initialization..............................................................................................................................................342.11. Pointer Variables......................................................................................................................................................342.11.1. Restrictions.......................................................................................................................................................352.11.2. Pointer Assignment.......................................................................................................................................... 36Chapter 3. <strong>Fortran</strong> Statements...........................................................................................................................................373.1. Statement Format Overview......................................................................................................................................373.1.1. Definition of Statement-related Terms............................................................................................................... 373.1.2. Origin of Statement............................................................................................................................................373.1.3. List-related Notation...........................................................................................................................................383.2. <strong>Fortran</strong> Statement Summary Table........................................................................................................................... 383.3. ACCEPT.....................................................................................................................................................................43F77 extension...............................................................................................................................................................43<strong>PGI</strong> <strong>Fortran</strong> <strong>Reference</strong> Guide iii

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!