Fortran 2008 (CloudMonk.io)

Fortran 2008



Return to Fortran 2003, Fortran 2018, Fortran bibliography, Fortran, Fortran glossary, Fortran topics, Fortran glossary, Fortran courses, IBM Mainframe glossary, Awesome Fortran, Awesome IBM Mainframe, IBM Mainframe development, IBM Mainframe bibliography, COBOL, COBOL glossary, High-performance computing (HPC)

Fortran 2008 is a minor revision of Fortran 2003.

Also called Fortran ISO/IEC 2010


The final draft of the Fortran 2008 standard,
ISO/IEC JTC 1/SC 22/WG 5/N1830,
was released on June 7, 2010 and is available
from the WG5's FTP server at
.

For compiler support, see Fortran 2008 status.

## Summary of New Features

New features include:

* Submodules
* Coarrays
* `do concurrent` construct
* `contiguous` attribute
* `block` construct
* `exit` statement
* `error stop` statement
* Internal procedures can be passed as actual arguments
* Procedure pointers can point to an internal procedure
* Maximum rank increased to 15
* `newunit=` in `open` statement
* `g0` edit descriptor
* Unlimited format item

Changes to existing Intrinsic procedures | intrinsic procedures:

* acos, asin, atan, cosh, sinh, tan, and tanh now accept complex arguments.
* atan2 can now be referenced as atan.
* lge, lgt, lle, and llt now accept arguments of ASCII kind.
* maxloc and minloc now have an optional `back=` argument.
* selected_real_kind now has a `radix=` argument.

New intrinsic procedures:

* Special functions
** Inverse hyperbolic trigonometric functions: acosh, asinh, and atanh.
** Bessel functions: bessel_j0, bessel_j1, bessel_jn, bessel_y0, bessel_y1, and bessel_yn.
** Error function: erf, erfc, and erfc_scaled.
** Gamma function: gamma and log_gamma.
** Euclidean distance: hypot.
** $L_2$ norm: norm2.

* Bitwise operations:
** Bit sequence comparisons: bge, bgt, ble, and blt.
** Combined shifting: dshiftl and dshiftr.
** Counting bits: leadz, trailz, popcnt and poppar.
** Masking bits: maskl and maskr.
** Shifting bits: shifta, shiftl and shiftr.
** Merging bits: merge_bits.
** Bit transformational functions: iall, iany, and iparity.

* Coarray intrinsics:
** Convert a cosubscript to an image index: image_index.
** Cobounds of a coarray: lcobound and ucobound.
** Number of images: num_images.
** Image index or cosubscripts: this_image.

* Other:
** Test for the `contiguous` attribute: is_contiguous.
** Size of an element in bits: storage_size.
** Tests for the number of true values being odd: parity.
** Search for a value in an array: findloc.
** Shell commands: execute_command_line.
** Define and reference variables atomically: atomic_define and atomic_ref.

Additions to intrinsic modules:

* iso_fortran_env:
** Information about the compiler: `compiler_version` and `compiler_options`.
** Named constants for selecting kind values.

* ieee_arithmetic:
** `ieee_selected_real_kind` now has a `radix=` argument.

* iso_c_binding:
** `c_sizeof` returns the size of an array element in bytes.

Declared Obsolete:

* `entry` (Fortran 77 and later)

## News

* John Reid announced on 2010 September 10th that the Final Draft International Standard had been approved by ISO by 18 votes to nil with 15 abstentions. The standard is likely to be published by ISO within two months, i.e. by the end of November 2010.

## Standards Documents

J3 Documents:

* Work Plan (http://j3-fortran.org/doc/year/07/07-010.html)
* Schedule (http://j3-fortran.org/doc/year/07/07-005.html)

Latest draft accepted by the ISO Secretariat:

* ddg>ISO/IEC JTC 1/SC 22/WG 5/N1830 (ftp://ftp.nag.co.uk/sc22wg5/N1801-N1850/N1830.pdf) (June 7, 2010)

Previous drafts of the standard:

* ddg>ISO/IEC JTC 1/SC 22/WG 5/N1826 (ftp://ftp.nag.co.uk/sc22wg5/N1801-N1850/N1826.pdf) (April 20, 2010)

* ddg>ISO/IEC JTC 1/SC 22/WG 5/N1791 (ftp://ftp.nag.co.uk/sc22wg5/N1751-N1800/N1791.pdf) (August 28, 2009)

* ddg>ISO/IEC JTC 1/SC 22/WG 5/N1776 (ftp://ftp.nag.co.uk/sc22wg5/N1751-N1800/N1776.pdf) (March 25, 2009)


See Also


* Fortran 2003

References



* Reid, John (2008). ddg>The new features of Fortran 2008 - (http://dx.doi.org/10.1145/1408643.1408645). Fortran 2008 New features by John Reid N1828

*ACM Fortran Forum* 27(2), 8-21. (See also [N1729](ftp://ftp.nag.co.uk/sc22wg5/N1701-N1750/N1729.pdf))

* Reid, J. (2010). Coarrays in the next Fortran Standard (ftp://ftp.nag.co.uk/sc22wg5/N1801-N1850/N1824.pdf). ddg>ISO/IEC JTC1/SC22/WG5 N1824



(FtrnWiki)

Research Fortran More


Fortran Research:
* ddg>Fortran 2008 on DuckDuckGo
* fortranwiki>Fortran 2008 on Fortran Wiki
* fortran>Fortran 2008 on Fortran-Lang.org
* fortraniso>Fortran 2008 on wg5-fortran.org (ISO Fortran Standards)
* fortranlib>Fortran 2008 on StdLib.Fortran-Lang.org
* oreilly>Fortran 2008 on O'Reilly
* github>Fortran 2008 on GitHub
* reddit>Fortran 2008 on Reddit
* stackoverflow>Fortran 2008 on StackOverflow
* scholar>Fortran 2008 on scholar.google.com
* youtube>Fortran 2008 on YouTube


Fair Use Sources


Fair Use Sources:
* B097819373 (MdFtrn 2020)
* Fortran Wiki (FtrnWiki) - https://fortranwiki.org/fortran/show/Fortran+2008
* Fortran-Lang.org
* wg5-fortran.org (ISO-IEC Fortran Standards Committee)
* Fortran 2023 Draft Standard - Fortran ISO-IEC Standard

Fortran: Effective Fortran, Fortran Best Practices, Fortran Fundamentals, Fortran Inventor - Fortran Language Designer: John Backus of IBM in 1957 (see John Backus Oral History); Modern Fortran - Legacy Fortran, Fortran keywords, Fortran data structures - Fortran algorithms, Fortran syntax, IBM Mainframe DevOps, Fortran DevOps, Fortran Development Tools (Fortran IDEs and Code Editors, Fortran Compilers, Fortran CI/CD Build Tools, Fortran Standard Library), Fortran Standards (ISO Fortran: Fortran 202X | 202X, Fortran 2018 | 2018, Fortran 2018 | 2018, Fortran 2008 | 2008, Fortran 2003 | 2003, Fortran 95 | 95, Fortran 90 | 90, Fortran 77 | 77), ANSI Fortran-Fortran 66 | 66, Fortran and Supercomputers (Fortran and High-Performance Computing (HPC)), Parallel Fortran (Embarrassingly Parallel Fortran - Fortran Coarrays), Fortran Paradigms (Imperative Fortran, Procedural Fortran, [[Object-Oriented

Fortran]] - Fortran OOP, Functional Fortran), Fortran Community, Learning Fortran, Fortran on Windows, Fortran on Linux, Fortran on UNIX, Fortran on macOS, Mainframe Fortran, IBM i Fortran, Fortran installation, Fortran containerization, Fortran configuration, Fortran SRE, Fortran data science - Fortran DataOps, Fortran machine learning, Fortran deep learning, Fortran concurrency, Fortran history, Fortran bibliography, Fortran Glossary - Glossaire de Fortran - French, Fortran topics, Fortran courses, Fortran Standard Library, Fortran libraries, Fortran frameworks, Fortran research, Fortran GitHub, Written in Fortran, Fortran popularity, Fortran Awesome list, Fortran Versions. (navbar_fortran - see also navbar_cobol, navbar_mainframe)

----



Cloud Monk is Retired (impermanence | for now). Buddha with you. Copyright | © Beginningless Time - Present Moment - Three Times: The Buddhas or Fair Use. Disclaimers



SYI LU SENG E MU CHYWE YE. NAN. WEI LA YE. WEI LA YE. SA WA HE.



----