Browse Source

tests: #include <iostream> and using namespace std; for std::cout and std::endl

Otherwise timing programs fail to compile.
master
Alexei Sheplyakov 16 years ago
parent
commit
8dfa19cd65
  1. 3
      tests/main.cc
  2. 2
      tests/timeLFRAmul.cc
  3. 2
      tests/timeLFatan.cc
  4. 2
      tests/timeLFatanh.cc
  5. 2
      tests/timeLFcos.cc
  6. 2
      tests/timeLFcosh.cc
  7. 3
      tests/timeLFexp.cc
  8. 3
      tests/timeLFln.cc
  9. 3
      tests/timeLFsin.cc
  10. 2
      tests/timeLFsinh.cc
  11. 2
      tests/timeLFsqrt.cc
  12. 2
      tests/timeMImisc5.cc
  13. 2
      tests/timeRALFdiv.cc
  14. 2
      tests/timeRAtoLF.cc
  15. 2
      tests/timeUPMImul.cc
  16. 2
      tests/timecatalan.cc
  17. 2
      tests/timesqrtmodp.cc
  18. 2
      tests/timezeta3.cc

3
tests/main.cc

@ -11,6 +11,9 @@
//#include <cln/modinteger.h> //#include <cln/modinteger.h>
//#include <cln/numtheory.h> //#include <cln/numtheory.h>
#include <cln/timing.h> #include <cln/timing.h>
using namespace cln;
#include <iostream>
using namespace std;
#define DUMP(expr) \ #define DUMP(expr) \
fprint(cout, #expr" = "); fprint(cout, expr); fprint(cout, "\n"); fprint(cout, #expr" = "); fprint(cout, expr); fprint(cout, "\n");

2
tests/timeLFRAmul.cc

@ -9,7 +9,9 @@
#include <cstdlib> #include <cstdlib>
#include <cstring> #include <cstring>
#include <cln/timing.h> #include <cln/timing.h>
#include <iostream>
using namespace cln; using namespace cln;
using namespace std;
int main (int argc, char * argv[]) int main (int argc, char * argv[])
{ {

2
tests/timeLFatan.cc

@ -10,6 +10,8 @@
#include <cstring> #include <cstring>
#include <cln/timing.h> #include <cln/timing.h>
using namespace cln; using namespace cln;
#include <iostream>
using namespace std;
int main (int argc, char * argv[]) int main (int argc, char * argv[])
{ {

2
tests/timeLFatanh.cc

@ -11,6 +11,8 @@
#include <cstring> #include <cstring>
#include <cln/timing.h> #include <cln/timing.h>
using namespace cln; using namespace cln;
#include <iostream>
using namespace std;
int main (int argc, char * argv[]) int main (int argc, char * argv[])
{ {

2
tests/timeLFcos.cc

@ -10,6 +10,8 @@
#include <cstring> #include <cstring>
#include <cln/timing.h> #include <cln/timing.h>
using namespace cln; using namespace cln;
#include <iostream>
using namespace std;
int main (int argc, char * argv[]) int main (int argc, char * argv[])
{ {

2
tests/timeLFcosh.cc

@ -10,6 +10,8 @@
#include <cstring> #include <cstring>
#include <cln/timing.h> #include <cln/timing.h>
using namespace cln; using namespace cln;
#include <iostream>
using namespace std;
int main (int argc, char * argv[]) int main (int argc, char * argv[])
{ {

3
tests/timeLFexp.cc

@ -9,6 +9,9 @@
#include <cstdlib> #include <cstdlib>
#include <cstring> #include <cstring>
#include <cln/timing.h> #include <cln/timing.h>
using namespace cln;
#include <iostream>
using namespace std;
int main (int argc, char * argv[]) int main (int argc, char * argv[])
{ {

3
tests/timeLFln.cc

@ -9,6 +9,9 @@
#include <cstdlib> #include <cstdlib>
#include <cstring> #include <cstring>
#include <cln/timing.h> #include <cln/timing.h>
using namespace cln;
#include <iostream>
using namespace std;
int main (int argc, char * argv[]) int main (int argc, char * argv[])
{ {

3
tests/timeLFsin.cc

@ -10,6 +10,9 @@
#include <cstring> #include <cstring>
#include <cln/timing.h> #include <cln/timing.h>
using namespace cln; using namespace cln;
#include <iostream>
using namespace std;
int main (int argc, char * argv[]) int main (int argc, char * argv[])
{ {

2
tests/timeLFsinh.cc

@ -10,6 +10,8 @@
#include <cstring> #include <cstring>
#include <cln/timing.h> #include <cln/timing.h>
using namespace cln; using namespace cln;
#include <iostream>
using namespace std;
int main (int argc, char * argv[]) int main (int argc, char * argv[])
{ {

2
tests/timeLFsqrt.cc

@ -9,7 +9,9 @@
#include <cstdlib> #include <cstdlib>
#include <cstring> #include <cstring>
#include <cln/timing.h> #include <cln/timing.h>
#include <iostream>
using namespace cln; using namespace cln;
using namespace std;
int main (int argc, char * argv[]) int main (int argc, char * argv[])
{ {

2
tests/timeMImisc5.cc

@ -6,6 +6,8 @@
#include <cstring> #include <cstring>
#include <cln/timing.h> #include <cln/timing.h>
using namespace cln; using namespace cln;
#include <iostream>
using namespace std;
int main (int argc, char * argv[]) int main (int argc, char * argv[])
{ {

2
tests/timeRALFdiv.cc

@ -9,7 +9,9 @@
#include <cstdlib> #include <cstdlib>
#include <cstring> #include <cstring>
#include <cln/timing.h> #include <cln/timing.h>
#include <iostream>
using namespace cln; using namespace cln;
using namespace std;
int main (int argc, char * argv[]) int main (int argc, char * argv[])
{ {

2
tests/timeRAtoLF.cc

@ -8,7 +8,9 @@
#include <cstdlib> #include <cstdlib>
#include <cstring> #include <cstring>
#include <cln/timing.h> #include <cln/timing.h>
#include <iostream>
using namespace cln; using namespace cln;
using namespace std;
int main (int argc, char * argv[]) int main (int argc, char * argv[])
{ {

2
tests/timeUPMImul.cc

@ -7,6 +7,8 @@
#include <cstring> #include <cstring>
#include <cln/timing.h> #include <cln/timing.h>
using namespace cln; using namespace cln;
#include <iostream>
using namespace std;
int main (int argc, char * argv[]) int main (int argc, char * argv[])
{ {

2
tests/timecatalan.cc

@ -7,7 +7,9 @@
#include <cstring> #include <cstring>
#include <cln/timing.h> #include <cln/timing.h>
#include "float/lfloat/cl_LF.h" #include "float/lfloat/cl_LF.h"
#include <iostream>
using namespace cln; using namespace cln;
using namespace std;
int main (int argc, char * argv[]) int main (int argc, char * argv[])
{ {

2
tests/timesqrtmodp.cc

@ -8,6 +8,8 @@
#include <cstring> #include <cstring>
#include <cln/timing.h> #include <cln/timing.h>
using namespace cln; using namespace cln;
#include <iostream>
using namespace std;
int main (int argc, char * argv[]) int main (int argc, char * argv[])
{ {

2
tests/timezeta3.cc

@ -7,6 +7,8 @@
#include <cln/timing.h> #include <cln/timing.h>
#include "float/lfloat/cl_LF.h" #include "float/lfloat/cl_LF.h"
using namespace cln; using namespace cln;
#include <iostream>
using namespace std;
int main (int argc, char * argv[]) int main (int argc, char * argv[])
{ {

Loading…
Cancel
Save