X-Git-Url: https://ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;f=src%2Freal%2Fdivision%2Fcl_R_fceil2.cc;h=4ce2158f15f79cb1983797569ca46126a6a158c0;hb=251c2a8ca169c9dad1cdef582953311460ecb4c0;hp=9ec4a6862ee1f5e1f021ce5e2f677148542066c1;hpb=dd9e0f894eec7e2a8cf85078330ddc0a6639090b;p=cln.git diff --git a/src/real/division/cl_R_fceil2.cc b/src/real/division/cl_R_fceil2.cc index 9ec4a68..4ce2158 100644 --- a/src/real/division/cl_R_fceil2.cc +++ b/src/real/division/cl_R_fceil2.cc @@ -4,7 +4,7 @@ #include "cl_sysdep.h" // Specification. -#include "cl_real.h" +#include "cln/real.h" // Implementation. @@ -14,10 +14,12 @@ #if 0 // 2 type dispatches -#include "cl_rational.h" -#include "cl_float.h" +#include "cln/rational.h" +#include "cln/float.h" #include "cl_R_div_t.h" +namespace cln { + const cl_R_fdiv_t fceiling2 (const cl_R& x) { if (rationalp(x)) { @@ -32,16 +34,20 @@ const cl_R_fdiv_t fceiling2 (const cl_R& x) } } +} // namespace cln + #else // 1 type dispatch #include "cl_RA.h" -#include "cl_integer.h" -#include "cl_sfloat.h" -#include "cl_ffloat.h" -#include "cl_dfloat.h" -#include "cl_lfloat.h" +#include "cln/integer.h" +#include "cln/sfloat.h" +#include "cln/ffloat.h" +#include "cln/dfloat.h" +#include "cln/lfloat.h" #include "cl_LF.h" +namespace cln { + const cl_R_fdiv_t fceiling2 (const cl_R& x) { realcase6(x @@ -59,4 +65,6 @@ const cl_R_fdiv_t fceiling2 (const cl_R& x) ); } +} // namespace cln + #endif