X-Git-Url: https://ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;f=tests%2Ftimediv2adic.cc;h=09264c4cf87cefcd6bd5e38f98e000eb3d8cd599;hb=97da144ed68ca771ce367e7e0d5604a2042c1122;hp=a944574f660f1719639adb3e39cf6cf0e7bc190f;hpb=dd9e0f894eec7e2a8cf85078330ddc0a6639090b;p=cln.git diff --git a/tests/timediv2adic.cc b/tests/timediv2adic.cc index a944574..09264c4 100644 --- a/tests/timediv2adic.cc +++ b/tests/timediv2adic.cc @@ -1,14 +1,14 @@ -#include -#include -#include -#include "cl_DS.h" -#include "cl_2DS.h" -#include -#include "cl_random_impl.h" -#include -#include -#include -#include +#include +#include +#include +#include "base/digitseq/cl_DS.h" +#include "base/digitseq/cl_2DS.h" +#include +#include "base/random/cl_random_impl.h" +#include +#include +#include +using namespace cln; int main (int argc, char * argv[]) { @@ -23,7 +23,7 @@ int main (int argc, char * argv[]) uintL b_len = atoi(argv[2]); if (!(a_len >= b_len && b_len > 0)) exit(1); - SAVE_NUM_STACK; + CL_ALLOCA_STACK; uintD* a_MSDptr; uintD* a_LSDptr; uintD* b_MSDptr; @@ -36,8 +36,8 @@ int main (int argc, char * argv[]) num_stack_alloc(b_len,b_MSDptr=,b_LSDptr=); num_stack_alloc(a_len,q_MSDptr=,q_LSDptr=); num_stack_alloc(a_len,q1_MSDptr=,q1_LSDptr=); - random_UDS(cl_default_random_state,a_MSDptr,a_len); - random_UDS(cl_default_random_state,b_MSDptr,b_len); + random_UDS(default_random_state,a_MSDptr,a_len); + random_UDS(default_random_state,b_MSDptr,b_len); lspref(b_LSDptr,0) |= 1; // force b to be odd { CL_TIMING; for (int rep = repetitions; rep > 0; rep--)