[libc-commits] [libc] [libc] Add MPFR testing infra for float128. (PR #119499)

via libc-commits libc-commits at lists.llvm.org
Wed Dec 11 21:45:35 PST 2024


================
@@ -62,16 +61,15 @@ template <> struct make_real<cfloat16> {
   using type = float16;
 };
 #endif
-#if defined(LIBC_TYPES_HAS_CFLOAT128) &&                                       \
-    !defined(LIBC_TYPES_CFLOAT128_IS_COMPLEX_LONG_DOUBLE)
+#ifdef LIBC_TYPES_CFLOAT128_IS_NOT_COMPLEX_LONG_DOUBLE
 template <> struct make_real<cfloat128> {
   using type = float128;
 };
 #endif
 
 template <typename T> using make_real_t = typename make_real<T>::type;
 
-template <typename T> LIBC_INLINE constexpr T conjugate(T c) {
+template <typename T> LIBC_INLINE static constexpr T conjugate(T c) {
----------------
lntue wrote:

I was just playing around to see if this symbol is exposed in the static archives and object files or not.  Reverted it back to before.

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


More information about the libc-commits mailing list