]> www.ginac.de Git - cln.git/blobdiff - src/float/sfloat/misc/cl_SF_signum.cc
* All Files have been modified for inclusion of namespace cln;
[cln.git] / src / float / sfloat / misc / cl_SF_signum.cc
index 08e294e17a70d7351543a2584f67aaa354b0fecf..b1239da08576eda1e2d3095de5834eda73e93e0a 100644 (file)
@@ -4,7 +4,7 @@
 #include "cl_sysdep.h"
 
 // Specification.
-#include "cl_sfloat.h"
+#include "cln/sfloat.h"
 
 
 // Implementation.
@@ -16,6 +16,8 @@
 #include "cl_SF_minusp.cc"
 #include "cl_SF_zerop.cc"
 
+namespace cln {
+
 MAYBE_INLINE2
 const cl_SF signum (const cl_SF& x)
 {
@@ -23,3 +25,5 @@ const cl_SF signum (const cl_SF& x)
        elif (zerop(x)) { return SF_0; } // x=0 -> 0.0
        else { return SF_1; } // x>0 -> +1.0
 }
+
+}  // namespace cln