X-Git-Url: https://ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;f=tests%2Ftimesquare.cc;h=f8bc9799c283ccd0fd4cac0f3ce5ee5e8756ad8c;hb=1bf866178f2ccea16ae2f6cfc977279d42b17a00;hp=5e4716474035940ab0304ddd51ab1e53c7c955a8;hpb=dd9e0f894eec7e2a8cf85078330ddc0a6639090b;p=cln.git diff --git a/tests/timesquare.cc b/tests/timesquare.cc index 5e47164..f8bc979 100644 --- a/tests/timesquare.cc +++ b/tests/timesquare.cc @@ -1,10 +1,11 @@ -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include +using namespace cln; int main (int argc, char * argv[]) { @@ -21,12 +22,12 @@ int main (int argc, char * argv[]) cl_I M2 = (cl_I)1 << (intDsize*m2); cl_I a = random_I(M1); cl_I b = random_I(M2); - fprint(cl_stderr, "Squaring: "); + fprint(std::cerr, "Squaring: "); { CL_TIMING; for (int rep = repetitions; rep > 0; rep--) { cl_I p = a * a; } } - fprint(cl_stderr, "Multiplication: "); + fprint(std::cerr, "Multiplication: "); { CL_TIMING; for (int rep = repetitions; rep > 0; rep--) { cl_I p = a * b; }