[all-commits] [llvm/llvm-project] df6afe: [flang][runtime] Improve G0 output editing

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Jun 23 11:27:45 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: df6afee9859f982fa927dc90398e82d689f19db6
      https://github.com/llvm/llvm-project/commit/df6afee9859f982fa927dc90398e82d689f19db6
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-06-23 (Thu, 23 Jun 2022)

  Changed paths:
    M flang/runtime/edit-output.cpp
    M flang/unittests/Runtime/NumericalFormatTest.cpp

  Log Message:
  -----------
  [flang][runtime] Improve G0 output editing

G0 output editing should never overflow an output field and fill it
with asterisks.  It should also never elide the "E" in an exponent
field, even if it has more than three digits.

Differential Revision: https://reviews.llvm.org/D128396




More information about the All-commits mailing list