]> www.ginac.de Git - cln.git/blobdiff - src/float/output/cl_F_printb.cc
* Cumulative patch including Bruno's work on large fixnums on 64 bit machines.
[cln.git] / src / float / output / cl_F_printb.cc
index fb0b598a653fdd99c399de9185b188efc436677d..9eafb0b29bce883f304452d066c2c9af92adf6ff 100644 (file)
@@ -4,17 +4,19 @@
 #include "cl_sysdep.h"
 
 // Specification.
-#include "cl_float_io.h"
+#include "cln/float_io.h"
 
 
 // Implementation.
 
-#include "cl_float.h"
+#include "cln/float.h"
 #include "cl_F.h"
-#include "cl_integer_io.h"
+#include "cln/integer_io.h"
 #include "cl_I.h"
 
-void print_float_binary (cl_ostream stream, const cl_F& z)
+namespace cln {
+
+void print_float_binary (std::ostream& stream, const cl_F& z)
 {
 // Vorzeichen, Punkt, Mantisse (binär), (Zweiersystem-)Exponent (dezimal)
        cl_idecoded_float m_e_s = integer_decode_float(z);
@@ -40,3 +42,5 @@ void print_float_binary (cl_ostream stream, const cl_F& z)
        // Exponenten dezimal ausgeben:
        print_integer(stream,10,cl_I(float_exponent(z)));
 }
+
+}  // namespace cln