[all-commits] [llvm/llvm-project] 500f6c: [flang][runtime] Support SPACING for REAL(2 & 3) (...

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Sep 4 10:53:45 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 500f6cc25cb93607e9ea13732b791297acf8f97f
      https://github.com/llvm/llvm-project/commit/500f6cc25cb93607e9ea13732b791297acf8f97f
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-09-04 (Wed, 04 Sep 2024)

  Changed paths:
    M flang/include/flang/Runtime/cpp-type.h
    M flang/include/flang/Runtime/numeric.h
    M flang/runtime/numeric-templates.h
    M flang/runtime/numeric.cpp
    M flang/unittests/Runtime/Numeric.cpp

  Log Message:
  -----------
  [flang][runtime] Support SPACING for REAL(2 & 3) (#106575)

Add runtime APIs for the intrinsic function SPACING for REAL kinds 2 & 3
in two ways: Spacing2 (& 3) for build environments with std::float16_t,
and Spacing2By4 (& 3By4) variants (for any build environment) which
compute SPACING for those types but accept and return their values as
32-bit floats.

SPACING for REAL(2) is needed by HDF5.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list