]> www.ginac.de Git - cln.git/blobdiff - src/rational/input/cl_RA_readparsed.cc
* src/integer/input/cl_I_read_stream.cc (read_integer): Fix a bug
[cln.git] / src / rational / input / cl_RA_readparsed.cc
index 59c017e08a691162b2519e67c344aff61d0d1c6c..417a8fdf81e0937829f852ff3e4e4daa27a7f8c3 100644 (file)
@@ -4,7 +4,7 @@
 #include "cl_sysdep.h"
 
 // Specification.
-#include "cl_rational_io.h"
+#include "cln/rational_io.h"
 
 
 // Implementation.
@@ -13,6 +13,8 @@
 #include "cl_I.h"
 #include "cl_N.h"
 
+namespace cln {
+
 const cl_RA read_rational (unsigned int base, cl_signean sign, const char * string, uintL index1, uintL index3, uintL index2)
 {
        var uintL index3_1 = index3+1; // Index der ersten Nennerziffer
@@ -26,3 +28,5 @@ const cl_RA read_rational (unsigned int base, cl_signean sign, const char * stri
                num = -num; // incl. Vorzeichen
        return I_posI_div_RA(num,den);
 }
+
+}  // namespace cln