]> www.ginac.de Git - cln.git/blobdiff - tests/timefact.cc
* Add table of contents in TeX output.
[cln.git] / tests / timefact.cc
index 4c23d0827ad5d97b5f219bb220d6f5fc44ddb4b8..894f02800770f7ff50fdb27426a22a3f87cdc33f 100644 (file)
@@ -3,9 +3,10 @@
 #include <cln/integer.h>
 #include <cln/random.h>
 #include "cl_I.h"
-#include <stdlib.h>
-#include <string.h>
+#include <cstdlib>
+#include <cstring>
 #include <cln/timing.h>
+using namespace cln;
 
 int main (int argc, char * argv[])
 {
@@ -19,6 +20,6 @@ int main (int argc, char * argv[])
        cl_I m = cl_I(argv[1]);
        { CL_TIMING;
          for (int rep = repetitions; rep > 0; rep--)
-           cl_I f = factorial(FN_to_L(m));
+           cl_I f = factorial(FN_to_V(m));
        }
 }