]> www.ginac.de Git - cln.git/blobdiff - src/float/misc/cl_F_abs.cc
* All Files have been modified for inclusion of namespace cln;
[cln.git] / src / float / misc / cl_F_abs.cc
index 879bc597ad55f9e994f0ea03efcb95b2895ef416..07df8c524c7aee86b8b59c91bae71b502a516806 100644 (file)
@@ -4,16 +4,16 @@
 #include "cl_sysdep.h"
 
 // Specification.
-#include "cl_float.h"
+#include "cln/float.h"
 
 
 // Implementation.
 
 #include "cl_F.h"
-#include "cl_sfloat.h"
-#include "cl_ffloat.h"
-#include "cl_dfloat.h"
-#include "cl_lfloat.h"
+#include "cln/sfloat.h"
+#include "cln/ffloat.h"
+#include "cln/dfloat.h"
+#include "cln/lfloat.h"
 
 #undef MAYBE_INLINE
 #define MAYBE_INLINE inline
@@ -22,6 +22,8 @@
 #include "cl_DF_minusp.cc"
 #include "cl_LF_minusp.cc"
 
+namespace cln {
+
 const cl_F abs (const cl_F& x)
 {
 // x<0 -> (- x), x>=0 -> x
@@ -32,3 +34,5 @@ const cl_F abs (const cl_F& x)
        ,       if (minusp(x)) return -x; else return x;
        );
 }
+
+}  // namespace cln