X-Git-Url: https://ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;f=src%2Ffloat%2Fsfloat%2Felem%2Fcl_SF_plus.cc;h=2f4fc4841a3a5e2601ae49b56d09d17861299fa5;hb=850abfde7f0d985ba01526c346bcd0d733562943;hp=9e81451fc355ebef74616ce585fca7780c68eaf6;hpb=dd9e0f894eec7e2a8cf85078330ddc0a6639090b;p=cln.git diff --git a/src/float/sfloat/elem/cl_SF_plus.cc b/src/float/sfloat/elem/cl_SF_plus.cc index 9e81451..2f4fc48 100644 --- a/src/float/sfloat/elem/cl_SF_plus.cc +++ b/src/float/sfloat/elem/cl_SF_plus.cc @@ -4,7 +4,7 @@ #include "cl_sysdep.h" // Specification. -#include "cl_sfloat.h" +#include "cln/sfloat.h" // Implementation. @@ -12,6 +12,8 @@ #include "cl_SF.h" #include "cl_xmacros.h" +namespace cln { + const cl_SF operator+ (const cl_SF& x1, const cl_SF& x2) { // Methode (nach [Knuth, II, Seminumerical Algorithms, Abschnitt 4.2.1., S.200]): @@ -122,3 +124,5 @@ const cl_SF operator+ (const cl_SF& x1, const cl_SF& x2) return encode_SF(sign1,exp1,mant1); } } + +} // namespace cln