codee-com/open-catalog

[Fortran] format strings may generate indistinguishable output

Open

#100 创建于 2025年9月11日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Fortran (12 fork)auto 404
Fortrangood first issuehelp wantednew check

仓库指标

Star
 (105 star)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南