]> www.ginac.de Git - cln.git/blobdiff - tests/timeUPMImul.cc
* Add some missing ${EXEEXT} pieces.
[cln.git] / tests / timeUPMImul.cc
index 98b5f6ac2146d52288870f2781cd3ca53434e2bd..272d61808ed7444b00f6e5e8098eb01ebd9378ab 100644 (file)
@@ -3,9 +3,10 @@
 #include <cln/integer.h>
 #include <cln/modinteger.h>
 #include <cln/univpoly.h>
-#include <stdlib.h>
-#include <string.h>
+#include <cstdlib>
+#include <cstring>
 #include <cln/timing.h>
+using namespace cln;
 
 int main (int argc, char * argv[])
 {
@@ -28,7 +29,7 @@ int main (int argc, char * argv[])
                p1.set_coeff(i, R1->canonhom((int)(1.618033989*i*i)));
        p1.finalize();
 
-       stdout << p1 << endl;
+       cout << p1 << endl;
 
        cl_UP sp1 = PR1->zero();
        { CL_TIMING;
@@ -36,7 +37,7 @@ int main (int argc, char * argv[])
            { sp1 = square(p1); }
        }
 
-       stdout << sp1 << endl;
+       cout << sp1 << endl;
 }
 
 // Time: