[libc-commits] [libc] [libc][complex] Implement different flavors of the `conj` function (PR #118671)

Shourya Goel via libc-commits libc-commits at lists.llvm.org
Mon Dec 9 10:36:10 PST 2024


================
@@ -16,5 +16,12 @@ template <typename T> struct Complex {
   T real;
   T imag;
 };
+
+template <typename T, typename U> T conjugate(T c) {
----------------
Sh0g0-1758 wrote:

oh okay, I see your point. Added them in complex_types.h

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


More information about the libc-commits mailing list