[all-commits] [llvm/llvm-project] 23361e: [libc][math] Refactor copysign family to header-on...

hulxv via All-commits all-commits at lists.llvm.org
Mon Apr 13 09:04:13 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 23361e18ac41c3460e0cf79d0cd58beafd5c0a84
      https://github.com/llvm/llvm-project/commit/23361e18ac41c3460e0cf79d0cd58beafd5c0a84
  Author: hulxv <hulxxv at gmail.com>
  Date:   2026-04-13 (Mon, 13 Apr 2026)

  Changed paths:
    M libc/shared/math.h
    A libc/shared/math/copysign.h
    A libc/shared/math/copysignbf16.h
    A libc/shared/math/copysignf.h
    A libc/shared/math/copysignf128.h
    A libc/shared/math/copysignf16.h
    A libc/shared/math/copysignl.h
    M libc/src/__support/FPUtil/ManipulationFunctions.h
    M libc/src/__support/math/CMakeLists.txt
    A libc/src/__support/math/copysign.h
    A libc/src/__support/math/copysignbf16.h
    A libc/src/__support/math/copysignf.h
    A libc/src/__support/math/copysignf128.h
    A libc/src/__support/math/copysignf16.h
    A libc/src/__support/math/copysignl.h
    M libc/src/math/generic/CMakeLists.txt
    M libc/src/math/generic/copysign.cpp
    M libc/src/math/generic/copysignbf16.cpp
    M libc/src/math/generic/copysignf.cpp
    M libc/src/math/generic/copysignf128.cpp
    M libc/src/math/generic/copysignf16.cpp
    M libc/src/math/generic/copysignl.cpp
    M libc/test/shared/CMakeLists.txt
    M libc/test/shared/shared_math_constexpr_test.cpp
    M libc/test/shared/shared_math_test.cpp
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel

  Log Message:
  -----------
  [libc][math] Refactor copysign family to header-only (#182137)

Refactors the copysign math family to be header-only.

Closes https://github.com/llvm/llvm-project/issues/182136

Target Functions:
  - copysign
  - copysignbf16
  - copysignf
  - copysignf128
  - copysignf16
  - copysignl

---------

Co-authored-by: bassiounix <muhammad.m.bassiouni 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