6772
Comment: Link to Reply to F2008 CD comments

8591
Add more related standard: C (for CPP/interoperability); IEEE 754; ISO/IEC Project 22.24772

Deletions are marked like this.  Additions are marked like this. 
Line 83:  Line 83: 
== ISO/IEC Project 22.24772: Guidance for Avoiding Vulnerabilities through Language Selection and Use == "The [[http://www.aitcnet.org/isai/index.htmlOWGV project]] is preparing comparative guidance spanning multiple programming languages, so that application developers will be better able to avoid the programming errors that lead to vulnerabilities in these languages and their attendant consequences. This guidance can also be used by developers to select source code evaluation tools that can discover and eliminate coding errors that lead to vulnerabilities." * [[http://www.aitcnet.org/isai/_NextMeeting/22OWGVN0138/n0138.pdfDraft N0138]] (20080818) == IEEE 754 == The [[http://www.ieee.org/web/standards/home/IEEE]] Standard for Binary FloatingPoint Arithmetic (IEEE 754) is the most widelyused standard for floatingpoint computation. Unfortunately, they are not freely available. * [[http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?tp=&isnumber=1316&arnumber=30711&punumber=2355IEEE 7541985 Standard for Binary FloatingPoint Arithmetic]] * [[http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?tp=&isnumber=1121&arnumber=27840&punumber=2502IEEE 8541987 Standard for RadixIndependent FloatingPoint Arithmetic]] * IEEE 7542008 IEEE Standard for FloatingPoint Arithmetic * [[http://www.validlab.com/754R/drafts/archive/20061004.pdfLatest publicly available draft of IEEE 7542008]] (4 October 2006) == ISO/IEC 9899 Programming languages  C == The C standard is relevant for two parts: (a) the interoperability features of Fortran 2003/2008/interop TR and (b) for the C Preprocessor (CPP; "Preprocessing directives"), which gfortran supports as vendor extension. * [[http://www.openstd.org/JTC1/SC22/WG14/JTC1/SC22/WG14  C]] (C drafts are also available there) 
Fortran Standards Documents
Draft (unofficial) versions of the various recent Fortran standards and corrigenda are available from the J3 website, the WG5 website, and/or the WG5 file server, in various formats. In addition, some older Fortran standards are available from www.fortran.com. The official standards can be bought from the International Organization for Standardization (ISO) or from your national standardization organization.
Note that, of these standards, GNU Fortran currently only supports the base Fortran 95 standard (not parts 2 or 3) as amended in the two corrigenda, the Fortran 95 TR 15581 extension, the Fortran 77 standard with the MILSTD 1753 extensions, and some portions of the Fortran 2003 standard; these standards have been highlighted in bold. The other documents are linked here for reference, but should not be taken as documentation of GNU Fortran features.
Fortran  Automatic Coding System for the IBM 704
The oldest version; dated October 15, 1956, first presented in February 1957 and first delivered in April 1957. Fortran  Programmer's Reference Manual (PDF)
Fortran 66
Fortran 66 Standard (X3.91966): (gif) (pdf)
Fortran 77
Fortran 77 Standard (!X3J3/90.4, ISO 1539:1980): (text) (html)
DoD Extensions to Fortran 77 (MILSTD 1753): (html)
Fortran 90
Fortran 90 Standard ISO/IEC 1539:1991
Fortran 95
Fortran 95 Standard, final draft (ISO/IEC 15391:1997): (all formats), (pdf).
Fortran 95 Standard (Part 2: ISOVaryingStrings), final draft (ISO/IEC 15392:2000): (pdf) (Reference implementation written in Fortran 1, 2)
(ISO Varying strings are not implemented in GNU Fortran, but Fortran 95 module exists which implements this is Fortran.)
Fortran 95 Standard (Part 3: Conditional Compilation), final draft (ISO/IEC 15393:1998): (pdf)
(Conditional Compilation is not supported directly by GNU Fortran but you can preprocess the files using COCO.)
Fortran 95 FloatingPoint Exceptions TR, draft (ISO/IEC TR 15580:2001): (pdf)
Fortran 95 Allocatable Components TR, draft (ISO/IEC TR 15581:2001): (pdf)
Fortran 95 Corrigendum 1, draft: (pdf)
Fortran 95 Corrigendum 2, draft: (pdf)
Completed interpretations of Fortran 95
Fortran 2003
Fortran 2003 Standard, final draft (ISO/IEC 15391:2004(E)): (ascii), (TeX), (pdf).
Fortran 2003, Enhanced Modules TR, draft (ISO/IEC TR 19767:2005(E)): (pdf).
Fortran 2003 Corrigendum 1, draft (ISO/IEC 15391:2004/Cor 1:2006 (E)): (pdf)
Fortran 2003 Corrigendum 2, final draft (ISO/IEC 15391:2004/Cor.2:2007 (E)): (pdf)
Fortran 2003 Corrigendum 3, draft (not submitted to ISO yet): PDF (defect reports)
Fortran 2003 update pages (consists of corrigenda 1 and 2)
Completed interpretations of Fortran 2003
The New Features of Fortran 2003 by John Reid (non normative)
Fortran 2008
Candidate Draft (J3/08007r2, WG5 CD 15391, 11 March 2008) (Non normative coarrays description, nonnormative coarray rational) (Time table)
The new features of Fortran 2008 by John Reid (non normative)
Other Relevant Standards
POSIX
The IEEE standard covering Fortran 77 POSIX bindings is available online, though unfortunately only from locations with appropriate subscriptions to the IEEE server (e.g., many university networks). For those who do have such access, the link is:
POSIX Fortran 77 Language Interfaces (IEEE Std 1003.91992) (pdf) r2
ISO/IEC Project 22.24772: Guidance for Avoiding Vulnerabilities through Language Selection and Use
"The OWGV project is preparing comparative guidance spanning multiple programming languages, so that application developers will be better able to avoid the programming errors that lead to vulnerabilities in these languages and their attendant consequences. This guidance can also be used by developers to select source code evaluation tools that can discover and eliminate coding errors that lead to vulnerabilities."
Draft N0138 (20080818)
IEEE 754
The IEEE Standard for Binary FloatingPoint Arithmetic (IEEE 754) is the most widelyused standard for floatingpoint computation. Unfortunately, they are not freely available.
IEEE 8541987 Standard for RadixIndependent FloatingPoint Arithmetic
 IEEE 7542008 IEEE Standard for FloatingPoint Arithmetic
Latest publicly available draft of IEEE 7542008 (4 October 2006)
ISO/IEC 9899 Programming languages  C
The C standard is relevant for two parts: (a) the interoperability features of Fortran 2003/2008/interop TR and (b) for the C Preprocessor (CPP; "Preprocessing directives"), which gfortran supports as vendor extension.
JTC1/SC22/WG14  C (C drafts are also available there)