// abs().
// General includes.
-#include "cl_sysdep.h"
+#include "base/cl_sysdep.h"
// Specification.
-#include "cl_C.h"
+#include "complex/cl_C.h"
// Implementation.
-#include "cl_real.h"
+#include "cln/real.h"
-MAYBE_INLINE
-const cl_R abs (const cl_C& x)
+namespace cln {
+
+CL_INLINE const cl_R CL_INLINE_DECL(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