/cln-1.3.2/src/float/transcendental/cl_F_zeta_int_def.cc
C++ | 28 lines | 16 code | 8 blank | 4 comment | 0 complexity | 7ef0c0d5d044953c8d4431f5a23c321f MD5 | raw file
Possible License(s): GPL-2.0
- // zeta().
- // General includes.
- #include "base/cl_sysdep.h"
- // Specification.
- #include "cln/float.h"
- // Implementation.
- #include "float/cl_F.h"
- #include "float/transcendental/cl_F_tran.h"
- #include "float/lfloat/cl_LF.h"
- namespace cln {
- const cl_F zeta (int s)
- {
- floatformatcase(default_float_format
- , return cl_LF_to_SF(zeta(s,LF_minlen));
- , return cl_LF_to_FF(zeta(s,LF_minlen));
- , return cl_LF_to_DF(zeta(s,LF_minlen));
- , return zeta(s,len);
- );
- }
- } // namespace cln