6 पॉइंट द्वारा xguru 2023-11-24 | 1 टिप्पणियां | WhatsApp पर शेयर करें
  • ISO/IEC 1539-1:2023 के रूप में आधिकारिक मानक रिलीज़. 674-पृष्ठ PDF

नई सुविधाएँ और बदलाव

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

1 टिप्पणियां

 
xguru 2023-11-24

नई सुविधाओं का सारांश John Reid द्वारा प्रस्तुत "The new features of Fortran 2023" से लिया गया है।
इस PDF को PDF GPT(GPT Plus subscription आवश्यक) में डालने पर यह अच्छी तरह सारांश बना देता है।

Fortran - उच्च-प्रदर्शन समानांतर प्रोग्रामिंग भाषा