[all-commits] [llvm/llvm-project] 14e221: [flang][runtime] Correct EXw.0 output editing (#75...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Dec 26 14:53:24 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 14e221aa68c17599c830f458b9727a84bb1df6a9
      https://github.com/llvm/llvm-project/commit/14e221aa68c17599c830f458b9727a84bb1df6a9
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2023-12-26 (Tue, 26 Dec 2023)

  Changed paths:
    M flang/include/flang/Decimal/binary-floating-point.h
    M flang/runtime/edit-output.cpp
    M flang/unittests/Runtime/NumericalFormatTest.cpp

  Log Message:
  -----------
  [flang][runtime] Correct EXw.0 output editing (#75121)

A zero 'd' digit count in EX output editing has a meaning that's
distinct from other numeric output editing descriptors, and I missed
this in my initial implementation of the feature. d==0 means that the
runtime should emit hexadecimal digits after the (hexa)decimal point
until all of the rest of them would be zero.




More information about the All-commits mailing list