// abs(). // General includes. #include "cl_sysdep.h" // Specification. #include "cl_C.h" // Implementation. #include "cln/real.h" namespace cln { MAYBE_INLINE const cl_R abs (const cl_C& x) { var const cl_R& a = realpart(x); var const cl_R& b = imagpart(x); return cl_hypot(a,b); } } // namespace cln