]> www.ginac.de Git - cln.git/blobdiff - src/complex/transcendental/cl_C_asin.cc
Replace unused macro with cl_unused.
[cln.git] / src / complex / transcendental / cl_C_asin.cc
index 8a4894f74308feb665699fb5a465e28ea87323ad..4843d234e36f135c636cbb09cea9da844f159e63 100644 (file)
@@ -1,23 +1,25 @@
 // asin().
 
 // General includes.
-#include "cl_sysdep.h"
+#include "base/cl_sysdep.h"
 
 // Specification.
-#include "cl_complex.h"
+#include "cln/complex.h"
 
 
 // Implementation.
 
-#include "cl_C.h"
-#include "cl_real.h"
+#include "complex/cl_C.h"
+#include "cln/real.h"
+
+namespace cln {
 
 // Methode:
 // Wert und Branch Cuts nach der Formel CLTL2, S. 311:
 //   arcsin(z) = log(iz+sqrt(1-z^2))/i
 // Sei z=x+iy, errechne u+iv = arsinh(-y+ix) wie oben, Ergebnis v-iu.
-// Real- und Imaginärteil des Ergebnisses sind Floats, außer wenn z reell oder
-// rein imaginär ist.
+// Real- und Imaginärteil des Ergebnisses sind Floats, außer wenn z reell oder
+// rein imaginär ist.
 
 inline const cl_C_R _asin (const cl_N& z)
 {
@@ -37,3 +39,5 @@ const cl_N asin (const cl_N& z)
        var cl_R& v = u_v.imagpart;
        return complex(v,-u); // v-iu
 }
+
+}  // namespace cln