X-Git-Url: https://ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;f=src%2Ffloat%2Ftranscendental%2Fcl_F_pi.cc;h=217d2c8f1fd6329172c91af075a7a9761f99bb1f;hb=850abfde7f0d985ba01526c346bcd0d733562943;hp=b461e61fc842282235237e47d2a469dd7697af74;hpb=e0b64ba4f92bb0323e5b241b465d17389ceff2d9;p=cln.git diff --git a/src/float/transcendental/cl_F_pi.cc b/src/float/transcendental/cl_F_pi.cc index b461e61..217d2c8 100644 --- a/src/float/transcendental/cl_F_pi.cc +++ b/src/float/transcendental/cl_F_pi.cc @@ -1,10 +1,10 @@ -// cl_pi(). +// pi(). // General includes. #include "cl_sysdep.h" // Specification. -#include "cl_float.h" +#include "cln/float.h" // Implementation. @@ -13,12 +13,16 @@ #include "cl_F_tran.h" #include "cl_LF.h" -const cl_F cl_pi (const cl_F& y) +namespace cln { + +const cl_F pi (const cl_F& y) { floattypecase(y , return cl_SF_pi; , return cl_FF_pi; , return cl_DF_pi; - , return cl_pi(TheLfloat(y)->len); + , return pi(TheLfloat(y)->len); ); } + +} // namespace cln