[all-commits] [llvm/llvm-project] ea7e50: [flang][runtime] Implement EX editing for input & ...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Oct 16 13:56:21 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea7e50cdf2f531d323a564590a22c7bb6e11aa3a
      https://github.com/llvm/llvm-project/commit/ea7e50cdf2f531d323a564590a22c7bb6e11aa3a
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2023-10-16 (Mon, 16 Oct 2023)

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

  Log Message:
  -----------
  [flang][runtime] Implement EX editing for input & output (#67208)

Support the EX edit descriptor for hexadecimal real formatted output and
hexadecimal real input for all forms of formatted input.. (We're
possibly the first Fortran compiler to support this feature for input
editing; only one other can handle EX output editing.)

As true (not BOZ) hexadecimal floating-point constants are not supported
in Fortran source code, only in formatted input, the implementation
takes place in the I/O editing portion of the runtime, not as new
conversions in the Decimal library.




More information about the All-commits mailing list