- ISO/IEC 1539-1:2023 के रूप में आधिकारिक मानक रिलीज़. 674-पृष्ठ PDF
नई सुविधाएँ और बदलाव
- लंबाई सीमा में बदलाव
- free source format में पंक्ति लंबाई सीमा बढ़ाकर 10,000 अक्षर की गई.
- 255 continuation lines की सीमा हटाई गई और statement length सीमा बढ़ाकर 10 लाख अक्षर की गई.
- character variable की लंबाई
- जब deferred-length allocatable variable को internal specification द्वारा परिभाषित किया जाता है, तो उसे processor द्वारा सही लंबाई में allocate किया जाता है.
- conditional expression
- conditional expression जोड़ा गया (
value = (a > 0.0 ? a : 0.0) रूप).
- conditional argument
- conditional argument जोड़ा गया, और सभी arguments का rank, type, kind समान होना चाहिए.
- coarray component वाले arrays
- coarray component वाले type के objects array हो सकते हैं या allocatable हो सकते हैं, लेकिन स्वयं coarray नहीं होते.
- Put with Notify
- SHMEM community में लोकप्रिय फीचर, उदाहरण:
x[10 notify=nx] = y.
- Do Concurrent का reduction specifier
do concurrent syntax के भीतर reduction variable का उपयोग.
- simple procedure
- pure procedure केवल arguments के माध्यम से variables को बदलता है, जबकि simple procedure केवल arguments के माध्यम से variables को refer करता है.
- enumeration type
- नए enumeration type का समर्थन (
enum bind(c) आदि).
- integer array का उपयोग करके subscript
- कई subscripts निर्दिष्ट करने के लिए integer array का उपयोग संभव.
- integer array का उपयोग करके rank और bounds
- assumed-shape array और explicit-shape array में rank और lower bounds का उपयोग.
- System Clock में सुधार
- Fortran 2018 में system clock arguments को बेहतर बनाकर विभिन्न integer kinds का समर्थन जोड़ा गया.
- Intrinsic Type के लिए अतिरिक्त named constants
iso_fortran_env module में जोड़े गए नए named constants.
- Intrinsic Procedure c_f_pointer में सुधार
c_f_pointer में lower bounds निर्दिष्ट करने के लिए अतिरिक्त optional argument जोड़ा गया.
- BOZ constants का विस्तारित उपयोग
- binary, octal, hexadecimal (BOZ) constants को initialization, array constructor, enumeration constructor आदि में उपयोग किया जा सकता है.
- डिग्री इकाई में काम करने वाले trigonometric functions
- डिग्री इकाई में मान निकालने वाले trigonometric functions (
sind(x), cosd(x), tand(x) आदि).
- half-revolution इकाई में काम करने वाले trigonometric functions
- half-revolution (180 डिग्री) इकाई में मान निकालने वाले trigonometric functions (
sinpi(x), cospi(x), tanpi(x) आदि).
- logical selection kind
- logical type की storage size निर्दिष्ट करने वाला
selected_logical_kind(bits) function.
- अब और नहीं जोड़ी जाने वाली obsolete और deleted सुविधाएँ
- नई सुविधाओं को obsolete और deleted features की सूची में नहीं जोड़ा जाएगा.
1 टिप्पणियां
नई सुविधाओं का सारांश John Reid द्वारा प्रस्तुत "The new features of Fortran 2023" से लिया गया है।
इस PDF को PDF GPT(GPT Plus subscription आवश्यक) में डालने पर यह अच्छी तरह सारांश बना देता है।
Fortran - उच्च-प्रदर्शन समानांतर प्रोग्रामिंग भाषा