]> www.ginac.de Git - cln.git/blobdiff - src/float/transcendental/cl_F_tan.cc
Replace unused macro with cl_unused.
[cln.git] / src / float / transcendental / cl_F_tan.cc
index dac0f2852d2307a1d3fe6d5e326e113061981615..0c1213fd0bc9b036fff32e57a395f146ba0281de 100644 (file)
@@ -1,19 +1,22 @@
 // tan().
 
 // General includes.
-#include "cl_sysdep.h"
+#include "base/cl_sysdep.h"
 
 // Specification.
-#include "cl_float.h"
+#include "cln/float.h"
 
 
 // Implementation.
 
-MAYBE_INLINE
-const cl_F tan (const cl_F& x)
+namespace cln {
+
+CL_INLINE const cl_F CL_INLINE_DECL(tan) (const cl_F& x)
 {
 // Methode:
 // (/ (sin x) (cos x))
-       var cl_cos_sin_t trig = cl_cos_sin(x);
+       var cos_sin_t trig = cos_sin(x);
        return The(cl_F)(trig.sin) / The(cl_F)(trig.cos);
 }
+
+}  // namespace cln