WIP: Add csqrt, cpow to cuda_complex.hpp
Compare changes
+ 15
− 0
@@ -866,6 +866,14 @@ CUDA_CALLABLE_MEMBER complex<_Tp> sqrt(const complex<_Tp> &__x) {
@@ -1224,5 +1232,12 @@ CUDA_CALLABLE_MEMBER auto operator/(const V scalar,
Apparently, I'm using here a feature of a more recent C++ verion.
Specializing cpow(T)
to cpow(complex<T>)