[all-commits] [llvm/llvm-project] faffcc: [flang][runtime] Refine list-directed REAL(2) output

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Jul 13 16:11:05 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: faffcc3a46cb667fb8e2e6d0e6c14ed74300d7b5
      https://github.com/llvm/llvm-project/commit/faffcc3a46cb667fb8e2e6d0e6c14ed74300d7b5
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-07-13 (Wed, 13 Jul 2022)

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

  Log Message:
  -----------
  [flang][runtime] Refine list-directed REAL(2) output

The rule used by list-directed REAL output editing to select
between Ew.d and Fw.d output editing breaks down for 16-bit
floating-point data, since the number of significant decimal
digits is so low that Ew,d output editing is nearly always selected.
Cap the test so that five-digit values will be output with Fw.d
editing.

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




More information about the All-commits mailing list