codee-com/open-catalog

[Fortran] format strings may generate indistinguishable output

Open

#100 geöffnet am 11. Sept. 2025

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Fortran (12 Forks)auto 404
Fortrangood first issuehelp wantednew check

Repository-Metriken

Stars
 (105 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Format strings like '(5I0)' will generate single long number. Most of time, it is undesired behaviour.

Example:

program main
  print '(3I0)', [11, 22, 33]
  print '(3I0)', [112, 23, 3]
end program main

The same issue is for real type. For logical type, it is not a problem.

Contributor Guide