]> www.ginac.de Git - cln.git/blobdiff - src/complex/algebraic/cl_C_abs_aux.cc
Replace unused macro with cl_unused.
[cln.git] / src / complex / algebraic / cl_C_abs_aux.cc
index 98ba4660e2090d115be071bf33b8f2c33579d992..e1b53fdb6178a27cc6376577a37befc5fa9c1006 100644 (file)
@@ -1,20 +1,23 @@
 // 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