codee-com/open-catalog

[Fortran] format strings may generate indistinguishable output

Open

#100 opened on 2025年9月11日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)Fortran (12 forks)auto 404
Fortrangood first issuehelp wantednew check

Repository metrics

Stars
 (105 stars)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド