[all-commits] [llvm/llvm-project] 4fb679: [flang] Fix Gw.d format output

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Sep 30 18:03:12 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4fb679d3b159f0a5e4ff87f4e7ecf44fbbf331b9
      https://github.com/llvm/llvm-project/commit/4fb679d3b159f0a5e4ff87f4e7ecf44fbbf331b9
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

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

  Log Message:
  -----------
  [flang] Fix Gw.d format output

The estimation of the decimal exponent needs to allow for all
'd' of the requested significant digits.

Also accept a plus sign on a "+kP" scaling factor in a format.

Differential revision: https://reviews.llvm.org/D88618




More information about the All-commits mailing list