X-Git-Url: https://ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;f=src%2Fcomplex%2Falgebraic%2Fcl_C_abs_aux.cc;h=e1b53fdb6178a27cc6376577a37befc5fa9c1006;hb=3af2cde18b3aabed4c808b0113daa81c2263b0bd;hp=98ba4660e2090d115be071bf33b8f2c33579d992;hpb=dd9e0f894eec7e2a8cf85078330ddc0a6639090b;p=cln.git diff --git a/src/complex/algebraic/cl_C_abs_aux.cc b/src/complex/algebraic/cl_C_abs_aux.cc index 98ba466..e1b53fd 100644 --- a/src/complex/algebraic/cl_C_abs_aux.cc +++ b/src/complex/algebraic/cl_C_abs_aux.cc @@ -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