]> www.ginac.de Git - cln.git/blobdiff - src/float/transcendental/cl_F_roundpi2.cc
* All Files have been modified for inclusion of namespace cln;
[cln.git] / src / float / transcendental / cl_F_roundpi2.cc
index 9503a779652eb8df94e36836132dcbda29c92c8a..671cdcf7bc7c202524ed8c321bca11a6819c4e72 100644 (file)
@@ -9,6 +9,8 @@
 
 // Implementation.
 
+namespace cln {
+
 const cl_F_div_t cl_round_pi2 (const cl_F& x)
 {
        if (float_exponent(x) < 0)
@@ -16,5 +18,7 @@ const cl_F_div_t cl_round_pi2 (const cl_F& x)
                return cl_F_div_t(0,x); // Quotient 0, Rest x
        else
                // x durch pi/2 (mit hinreichender Genauigkeit) dividieren
-               return round2(x,scale_float(cl_pi(x),-1));
+               return round2(x,scale_float(pi(x),-1));
 }
+
+}  // namespace cln