X-Git-Url: https://ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;f=tests%2Ftimesquare.cc;h=f8bc9799c283ccd0fd4cac0f3ce5ee5e8756ad8c;hb=2ee2f088755c856d4eed429ed7fcdf4ca519ae00;hp=017559694dd44867b4e21d7dbc72908975a40bee;hpb=850abfde7f0d985ba01526c346bcd0d733562943;p=cln.git diff --git a/tests/timesquare.cc b/tests/timesquare.cc index 0175596..f8bc979 100644 --- a/tests/timesquare.cc +++ b/tests/timesquare.cc @@ -2,9 +2,10 @@ #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(stderr, "Squaring: "); + fprint(std::cerr, "Squaring: "); { CL_TIMING; for (int rep = repetitions; rep > 0; rep--) { cl_I p = a * a; } } - fprint(stderr, "Multiplication: "); + fprint(std::cerr, "Multiplication: "); { CL_TIMING; for (int rep = repetitions; rep > 0; rep--) { cl_I p = a * b; }