]> www.ginac.de Git - cln.git/blobdiff - src/complex/algebraic/cl_C_signum.cc
Use paths relative the `src' directory in the #include directives.
[cln.git] / src / complex / algebraic / cl_C_signum.cc
index d059f32ed17554bea6a0df3e035074945389f605..4d69903c1f4684b6e30c712554d6fdbd69107658 100644 (file)
@@ -1,7 +1,7 @@
 // signum().
 
 // General includes.
-#include "cl_sysdep.h"
+#include "base/cl_sysdep.h"
 
 // Specification.
 #include "cln/complex.h"
@@ -9,16 +9,15 @@
 
 // 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.
@@ -31,7 +30,7 @@ const cl_N signum (const cl_N& x)
                if (zerop(x))
                        return x;
                else
-                       return x / abs(x);
+                       return x / abs_inline(x);
        }
 }