[all-commits] [llvm/llvm-project] 3d2b28: [libc][math][c++23] Add {canonicalize, iscanonical, ...

Krishna Pandey via All-commits all-commits at lists.llvm.org
Wed Aug 27 10:01:39 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d2b2820440170f46fbf8514061b58c3e8dc07bc
      https://github.com/llvm/llvm-project/commit/3d2b2820440170f46fbf8514061b58c3e8dc07bc
  Author: Krishna Pandey <kpandey81930 at gmail.com>
  Date:   2025-08-27 (Wed, 27 Aug 2025)

  Changed paths:
    M libc/config/baremetal/aarch64/entrypoints.txt
    M libc/config/baremetal/arm/entrypoints.txt
    M libc/config/baremetal/riscv/entrypoints.txt
    M libc/config/darwin/aarch64/entrypoints.txt
    M libc/config/darwin/x86_64/entrypoints.txt
    M libc/config/gpu/amdgpu/entrypoints.txt
    M libc/config/gpu/nvptx/entrypoints.txt
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/arm/entrypoints.txt
    M libc/config/linux/riscv/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/config/windows/entrypoints.txt
    M libc/docs/headers/math/index.rst
    M libc/src/__support/FPUtil/BasicOperations.h
    M libc/src/math/CMakeLists.txt
    A libc/src/math/canonicalizebf16.h
    A libc/src/math/copysignbf16.h
    A libc/src/math/fdimbf16.h
    M libc/src/math/generic/CMakeLists.txt
    A libc/src/math/generic/canonicalizebf16.cpp
    A libc/src/math/generic/copysignbf16.cpp
    A libc/src/math/generic/fdimbf16.cpp
    A libc/src/math/generic/iscanonicalbf16.cpp
    A libc/src/math/generic/issignalingbf16.cpp
    A libc/src/math/iscanonicalbf16.h
    A libc/src/math/issignalingbf16.h
    M libc/test/src/math/smoke/CMakeLists.txt
    A libc/test/src/math/smoke/canonicalizebf16_test.cpp
    A libc/test/src/math/smoke/copysignbf16_test.cpp
    A libc/test/src/math/smoke/fdimbf16_test.cpp
    A libc/test/src/math/smoke/iscanonicalbf16_test.cpp
    A libc/test/src/math/smoke/issignalingbf16_test.cpp

  Log Message:
  -----------
  [libc][math][c++23] Add {canonicalize,iscanonical,fdim,copysign,issignaling}bf16 math functions (#155567)

This PR adds the following basic math functions for BFloat16 type along
with the tests:
- canonicalizebf16
- iscanonicalbf16
- fdimbf16
- copysignbf16
- issignalingbf16

---------

Signed-off-by: Krishna Pandey <kpandey81930 at gmail.com>



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