[all-commits] [llvm/llvm-project] 061df0: [flang][runtime] Fix directed UP/DOWN rounding edg...

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Jul 6 17:39:22 PDT 2022


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

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

  Log Message:
  -----------
  [flang][runtime] Fix directed UP/DOWN rounding edge case for Fw.d output

When Fw.d output editing takes place with directed rounding, make sure that
nonzero values that would normally be converted to zero round up (or down,
depending on the sign) to a scaled 1.

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




More information about the All-commits mailing list