freebsd-ports/math/lll_spect/files/patch-lll_spect.C
Li-Wen Hsu f95c979721 Add lll_spect , LLL-spectral test of linear congruential random number
generators.

PR:		ports/144023
Submitted by:	bf <bf1783 at gmail.com>

Feature safe:	yes
2010-02-17 07:47:05 +00:00

39 lines
674 B
C

--- lll_spect.C.orig 2010-02-16 15:51:33.000000000 -0500
+++ lll_spect.C 2010-02-16 15:55:48.000000000 -0500
@@ -14,30 +14,29 @@
/*-------------Libraries (needs Victor Shoups NTL-Lib----------------*/
-#include <iostream.h>
+#include <iostream>
-#include <fstream.h>
+#include <fstream>
#include <time.h>
#include <sys/resource.h>
-#include <math.h>
+#include <cmath>
#include <float.h>
-#include <NTL/ZZ.h>
-
#include <NTL/RR.h>
-#include <NTL/mat_ZZ.h>
-
#include <NTL/LLL.h>
/*------------------------ Definitions ------------------------------*/
+using namespace NTL;
+using namespace std;
+
ZZ mult, modul;
const int dim_max = 24;