[all-commits] [llvm/llvm-project] da63fe: [flang][runtime] Allow extra character for E0.0 ou...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Jun 3 17:42:07 PDT 2022


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

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

  Log Message:
  -----------
  [flang][runtime] Allow extra character for E0.0 output editing

When the digit count ('d') is zero in E0 editing, allow for one more
output character; otherwise, any - or + sign in the output causes
an output field overflow.

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




More information about the All-commits mailing list