]> www.ginac.de Git - cln.git/blobdiff - src/rational/algebraic/cl_RA_sqrtp.cc
* */*: Convert encoding from ISO 8859-1 to UTF-8.
[cln.git] / src / rational / algebraic / cl_RA_sqrtp.cc
index 31174b99edd477b6b9acd48fb7022b4e65dbaf5a..c5347792e0ff66a2a8dbbee0e3398a20a1c8f515 100644 (file)
@@ -18,7 +18,7 @@ bool sqrtp (const cl_RA& x, cl_RA* w)
 {
 // Methode:
 // Bei Integers: klar.
-// Bei Brüchen a/b : muß a=c^2 und b=d^2 sein. Dann ist die Wurzel = c/d
+// Bei Brüchen a/b : muß a=c^2 und b=d^2 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 sqrtp (const cl_RA& x, cl_RA* w)
                return false;
        var const cl_I& a = numerator(x);
        var cl_I c;
-       if (!sqrtp(a,&c)) // Zähler auf Quadratzahl testen
+       if (!sqrtp(a,&c)) // Zähler auf Quadratzahl testen
                return false;
        // beides Quadratzahlen -> Quotient der Wurzeln bilden
        *w = I_I_to_RT(c,d); return true;