]> www.ginac.de Git - cln.git/blobdiff - src/integer/algebraic/cl_I_rootp_I.cc
* All Files have been modified for inclusion of namespace cln;
[cln.git] / src / integer / algebraic / cl_I_rootp_I.cc
index c229cb1bf6fa7a1d9e3dcf39a600f6fc2987a268..497f10a58f723a0e0b6f93b0f228deae16496bd2 100644 (file)
@@ -4,13 +4,15 @@
 #include "cl_sysdep.h"
 
 // Specification.
-#include "cl_integer.h"
+#include "cln/integer.h"
 
 
 // Implementation.
 
 #include "cl_I.h"
 
+namespace cln {
+
 // Methode:
 // Falls x=0 oder x=1: x = x^n -> JA, x als Ergebnis.
 // Hier also x>1. Suche ein Integer y > 1 mit x=y^n.
@@ -26,3 +28,5 @@ cl_boolean rootp (const cl_I& x, const cl_I& n, cl_I* w)
        // Nun ist n < (integer-length x). Also paßt n in ein uintL.
        return cl_rootp_aux(x,cl_I_to_UL(n),w);
 }
+
+}  // namespace cln