1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/math/lll_spect/files/patch-lll_search.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

41 lines
683 B
C

--- lll_search.C.orig 2010-02-16 15:59:17.000000000 -0500
+++ lll_search.C 2010-02-16 16:00:58.000000000 -0500
@@ -12,24 +12,20 @@
/*-------------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>
@@ -38,7 +34,8 @@
/*------------------------ Definitions ------------------------------*/
-
+using namespace NTL;
+using namespace std;
ZZ lambda, modul, *m_primes;