6 #ifndef GHOST_CPP11_FIXES_H
7 #define GHOST_CPP11_FIXES_H
26 static inline double conj_or_nop(
const double &a) {
return a; }
29 static inline T
norm(
const T &a)
34 #if __cplusplus < 201103L
35 static inline float norm(
const float &a)
41 static inline double norm(
const double &a)
48 #if __cplusplus < 201103L
58 static inline std::string
to_string(T value)
static double norm(const double &a)
Definition: cpp11_fixes.h:41
static T conj_or_nop(const T &a)
Definition: cpp11_fixes.h:19
__device__ T conj(T x)
Definition: cu_complex.h:226
static std::string to_string(T value)
Definition: cpp11_fixes.h:50
static T norm(const T &a)
Definition: cpp11_fixes.h:29