]> www.ginac.de Git - cln.git/blobdiff - src/real/output/cl_R_cprint.cc
* */*: cl_istream -> std::istream, cl_ostream -> std::ostream.
[cln.git] / src / real / output / cl_R_cprint.cc
index 317ee46fe90fc9ac906f4cd18534f68439361398..34ee0c186746c99a8c7c98a629c2998f122f6990 100644 (file)
@@ -4,17 +4,19 @@
 #include "cl_sysdep.h"
 
 // Specification.
-#include "cl_real_io.h"
+#include "cln/real_io.h"
 
 
 // Implementation.
 
-#include "cl_real.h"
+#include "cln/real.h"
 #include "cl_R.h"
-#include "cl_rational_io.h"
-#include "cl_float_io.h"
+#include "cln/rational_io.h"
+#include "cln/float_io.h"
 
-void print_real (cl_ostream stream, const cl_print_real_flags& flags, const cl_R& z)
+namespace cln {
+
+void print_real (std::ostream& stream, const cl_print_real_flags& flags, const cl_R& z)
 {
        if (rationalp(z)) {
                DeclareType(cl_RA,z);
@@ -26,3 +28,5 @@ void print_real (cl_ostream stream, const cl_print_real_flags& flags, const cl_R
                print_float(stream,flags,z);
        }
 }
+
+}  // namespace cln