]> www.ginac.de Git - cln.git/blobdiff - src/real/misc/cl_R_expt.cc
Finalize CLN 1.3.7 release.
[cln.git] / src / real / misc / cl_R_expt.cc
index c1f581db242da53699c3d50e5792820d29661e23..34f5b19510d713e5d6b75135ca7a6c00d71131ef 100644 (file)
@@ -1,7 +1,7 @@
 // expt().
 
 // General includes.
-#include "cl_sysdep.h"
+#include "base/cl_sysdep.h"
 
 // Specification.
 #include "cln/real.h"
@@ -9,22 +9,22 @@
 
 // Implementation.
 
-#include "cl_R.h"
+#include "real/cl_R.h"
 #include "cln/rational.h"
 #include "cln/integer.h"
 
 namespace cln {
 
 // Methode:
-// Für y>0:
+// Für y>0:
 //   a:=x, b:=y.
 //   Solange b gerade, setze a:=a*a, b:=b/2. [a^b bleibt invariant, = x^y.]
 //   c:=a.
 //   Solange b:=floor(b/2) >0 ist,
 //     setze a:=a*a, und falls b ungerade, setze c:=a*c.
 //   Ergebnis c.
-// Für y=0: Ergebnis 1.
-// Für y<0: (/ (expt x (- y))).
+// Für y=0: Ergebnis 1.
+// Für y<0: (/ (expt x (- y))).
 
 // Assume y>0.
 inline const cl_R expt_pos (const cl_R& x, uintL y)