]> www.ginac.de Git - cln.git/blobdiff - src/rational/algebraic/cl_RA_rootp.cc
* */*: Convert encoding from ISO 8859-1 to UTF-8.
[cln.git] / src / rational / algebraic / cl_RA_rootp.cc
index 70b98c8d66678fe3a2d745173ed509184fd19659..8c458abf3c094d08fafb070a0e2aad9e3752b638 100644 (file)
@@ -18,7 +18,7 @@ bool rootp (const cl_RA& x, uintL n, cl_RA* w)
 {
 // Methode:
 // Bei Integers: klar.
-// Bei Brüchen a/b : muß a=c^n und b=d^n sein. Dann ist die Wurzel = c/d
+// Bei Brüchen a/b : muß a=c^n und b=d^n sein. Dann ist die Wurzel = c/d
 // (mit ggT(c,d)=1 und d>1).
        if (integerp(x)) {
                DeclareType(cl_I,x);
@@ -32,7 +32,7 @@ bool rootp (const cl_RA& x, uintL n, cl_RA* w)
                return false;
        var const cl_I& a = numerator(x);
        var cl_I c;
-       if (!rootp(a,n,&c)) // Zähler auf n-te Potenz testen
+       if (!rootp(a,n,&c)) // Zähler auf n-te Potenz testen
                return false;
        // beides n-te Potenzen -> Quotient der Wurzeln bilden
        *w = I_I_to_RT(c,d); return true;