-// cl_cosh_sinh().
+// cosh_sinh().
// General includes.
#include "cl_sysdep.h"
// Specification.
-#include "cl_real.h"
+#include "cln/real.h"
// Implementation.
-#include "cl_float.h"
+#include "cln/float.h"
#include "cl_R.h"
-const cl_cosh_sinh_t cl_cosh_sinh (const cl_R& x)
+namespace cln {
+
+const cosh_sinh_t cosh_sinh (const cl_R& x)
{
// Methode:
// x rational -> bei x=0 (1,0) als Ergebnis, sonst x in Float umwandeln.
if (rationalp(x)) {
DeclareType(cl_RA,x);
if (zerop(x)) // x=0 -> (1,0) als Ergebnis
- return cl_cosh_sinh_t(1,0);
- return cl_cosh_sinh(cl_float(x)); // sonst in Float umwandeln
+ return cosh_sinh_t(1,0);
+ return cosh_sinh(cl_float(x)); // sonst in Float umwandeln
} else {
DeclareType(cl_F,x);
- return cl_cosh_sinh(x);
+ return cosh_sinh(x);
}
}
+
+} // namespace cln