PageRenderTime 27ms CodeModel.GetById 21ms app.highlight 5ms RepoModel.GetById 0ms app.codeStats 1ms

/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
 1// zeta().
 2
 3// General includes.
 4#include "base/cl_sysdep.h"
 5
 6// Specification.
 7#include "cln/float.h"
 8
 9
10// Implementation.
11
12#include "float/cl_F.h"
13#include "float/transcendental/cl_F_tran.h"
14#include "float/lfloat/cl_LF.h"
15
16namespace cln {
17
18const cl_F zeta (int s)
19{
20	floatformatcase(default_float_format
21	,	return cl_LF_to_SF(zeta(s,LF_minlen));
22	,	return cl_LF_to_FF(zeta(s,LF_minlen));
23	,	return cl_LF_to_DF(zeta(s,LF_minlen));
24	,	return zeta(s,len);
25	);
26}
27
28}  // namespace cln