Fortran marches on, remaining one of the principal programming languages used in high-performance scientific, numerical, and engineering computing. A series of significant revisions to the standard versions of the language have progressively enhanced its capabilities, and the latest standard - Fortran 2018 - includes many additions and improvements.
This edition ofModern Fortran Explainedexpands on the last. Given the release of updated versions of Fortran compilers, the separate descriptions of Fortran 2003 and Fortran 2008 have been incorporated into the main text, which thereby becomes a unified description of the full Fortran 2008 version of the language. This clearer standard has allowed many deficiencies and irregularities in the earlier language versions to be resolved.
Four new chapters describe the additional features of Fortran 2018, with its enhancements to coarrays for parallel programming, interoperability with C, IEEE arithmetic, and various other improvements.
Written by leading experts in the field, two of whom have actively contributed to Fortran 2018, this is a complete and authoritative description of Fortran in its latest form. It is intended for new and existing users of the language, and for all those involved in scientific and numerical computing. It is suitable as a textbook for teaching and, with its index, as a handy reference for practitioners.
1. Whence Fortran? 2. Language elements 3. Expressions and assignments 4. Control constructs 5. Program units and procedures 6. Allocation of data 7. Array features 8. Specification statements 9. Intrinsic procedures and modules 10. Data transfer 11. Edit descriptors 12. Operations on external files 13. Advanced type parameter features 14. Procedure pointers 15. Object-oriented programming 16. Submodules 17. Coarrays 18. Floating-point exception handling 19. Interoperability with C 20. Fortran 2018 coarraylC0