PageRenderTime 49ms CodeModel.GetById 25ms RepoModel.GetById 1ms app.codeStats 0ms

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