[libcxx-commits] [libcxx] [libc++][math] Provide overloads for cv-unqualified floating point types for `std::signbit` (PR #106566)

Robin Caloudis via libcxx-commits libcxx-commits at lists.llvm.org
Thu Sep 12 08:36:27 PDT 2024


================
@@ -34,8 +34,21 @@ namespace __math {
 #  define _LIBCPP_SIGNBIT_CONSTEXPR
 #endif
 
-template <class _A1, __enable_if_t<is_floating_point<_A1>::value, int> = 0>
-_LIBCPP_NODISCARD inline _LIBCPP_SIGNBIT_CONSTEXPR _LIBCPP_HIDE_FROM_ABI bool signbit(_A1 __x) _NOEXCEPT {
+// The universal C runtime (UCRT) in the WinSDK provides floating point overloads
----------------
robincaloudis wrote:

You are right. I removed the header.

https://github.com/llvm/llvm-project/pull/106566


More information about the libcxx-commits mailing list