]> www.ginac.de Git - cln.git/blobdiff - tests/main.cc
[BUGFIX]: cl_asm_.cc: fix include paths.
[cln.git] / tests / main.cc
index 136eb56a9f0c908cb444b70726721afac8179894..a877e779d363e24e9ba5f707e4c940ed6c5ccc49 100644 (file)
@@ -11,6 +11,9 @@
 //#include <cln/modinteger.h>
 //#include <cln/numtheory.h>
 #include <cln/timing.h>
+using namespace cln;
+#include <iostream>
+using namespace std;
 
 #define DUMP(expr)  \
        fprint(cout, #expr" = "); fprint(cout, expr); fprint(cout, "\n");
@@ -49,7 +52,7 @@ int main (int argc, char* argv[])
 #if 0
        cl_I a = "77371252437321868671713407";
        cl_I w;
-       cl_boolean squarep = isqrt(a,&w);
+       bool squarep = isqrt(a,&w);
        DUMP(squarep);
        DUMP(w);
        DUMP(expt_pos(w,2) <= a);