X-Git-Url: https://ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;f=tests%2Ftimezeta3.cc;h=cbdb8a037349decc74a51400de99f5f29a4c2c20;hb=97da144ed68ca771ce367e7e0d5604a2042c1122;hp=eae434fc9ad8845e74b2b09d171850123b56db8b;hpb=0e9c0591fb76b6cac33bc567fca31e6695453a07;p=cln.git diff --git a/tests/timezeta3.cc b/tests/timezeta3.cc index eae434f..cbdb8a0 100644 --- a/tests/timezeta3.cc +++ b/tests/timezeta3.cc @@ -6,7 +6,18 @@ #include #include #include "float/lfloat/cl_LF.h" +namespace cln +{ +// FIXME: don't use internal functions. +extern cl_LF zeta (int s, uintC len); +extern cl_LF compute_zeta_exp (int s, uintC len); +extern cl_LF compute_zeta_cvz1 (int s, uintC len); +extern cl_LF compute_zeta_cvz2 (int s, uintC len); +extern cl_LF zeta3 (uintC len); +} using namespace cln; +#include +using namespace std; int main (int argc, char * argv[]) { @@ -18,11 +29,6 @@ int main (int argc, char * argv[]) if (argc < 2) exit(1); uintL len = atoi(argv[1]); - extern cl_LF zeta (int s, uintC len); - extern cl_LF compute_zeta_exp (int s, uintC len); - extern cl_LF compute_zeta_cvz1 (int s, uintC len); - extern cl_LF compute_zeta_cvz2 (int s, uintC len); - extern cl_LF zeta3 (uintC len); cl_LF p; ln(cl_I_to_LF(1000,len+10)); // fill cache { CL_TIMING;