X-Git-Url: https://ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;f=src%2Ffloat%2Ftranscendental%2Fcl_F_pi_f.cc;h=d6ea053ff9e8875706bdfce5f03f2ebfda369468;hb=c84c6db5d56829d69083c819688a973867694a2a;hp=b2cd04fbaf3001e51654a10596ac67643bc35aa7;hpb=dd9e0f894eec7e2a8cf85078330ddc0a6639090b;p=cln.git diff --git a/src/float/transcendental/cl_F_pi_f.cc b/src/float/transcendental/cl_F_pi_f.cc index b2cd04f..d6ea053 100644 --- a/src/float/transcendental/cl_F_pi_f.cc +++ b/src/float/transcendental/cl_F_pi_f.cc @@ -1,10 +1,10 @@ -// cl_pi(). +// pi(). // General includes. #include "cl_sysdep.h" // Specification. -#include "cl_float.h" +#include "cln/float.h" // Implementation. @@ -12,12 +12,16 @@ #include "cl_F.h" #include "cl_F_tran.h" -const cl_F cl_pi (cl_float_format_t f) +namespace cln { + +const cl_F pi (float_format_t f) { - floatformatcase((uintL)f + floatformatcase((uintC)f , return cl_SF_pi; , return cl_FF_pi; , return cl_DF_pi; - , return cl_pi(len); + , return pi(len); ); } + +} // namespace cln