// signum().
// General includes.
-#include "cl_sysdep.h"
+#include "base/cl_sysdep.h"
// Specification.
#include "cln/complex.h"
// Implementation.
-#include "cl_C.h"
+#include "complex/cl_C.h"
#include "cln/real.h"
-#undef MAYBE_INLINE
-#define MAYBE_INLINE inline
-#include "cl_C_abs_aux.cc"
+#include "base/cl_inline.h"
+#include "complex/algebraic/cl_C_abs_aux.cc"
namespace cln {
-const cl_N signum (const cl_N& x)
+const cl_N CL_FLATTEN signum (const cl_N& x)
{
// Methode:
// x reell -> klar.
if (zerop(x))
return x;
else
- return x / abs(x);
+ return x / abs_inline(x);
}
}