Browse Source

* Change all C include headers to ISO style within C++ code.

master
Richard Kreckel 21 years ago
parent
commit
a8369235e2
  1. 41
      ChangeLog
  2. 4
      benchmarks/timebench1.cc
  3. 4
      benchmarks/timebench2a.LiDIA.cc
  4. 4
      benchmarks/timebench2a.cc
  5. 4
      benchmarks/timebench2ap.cc
  6. 4
      benchmarks/timebench2b.LiDIA.cc
  7. 4
      benchmarks/timebench2b.cc
  8. 6
      examples/atan_recip.cc
  9. 4
      examples/atanh_recip.cc
  10. 2
      examples/contfrac.cc
  11. 2
      examples/e.cc
  12. 2
      examples/legendre.cc
  13. 2
      examples/lucaslehmer.cc
  14. 6
      examples/pi.cc
  15. 2
      include/cln/GV.h
  16. 2
      include/cln/SV.h
  17. 2
      include/cln/malloc.h
  18. 2
      include/cln/modules.h
  19. 2
      include/cln/object.h
  20. 2
      include/cln/string.h
  21. 2
      src/base/cl_abort.cc
  22. 2
      src/base/cl_alloca.h
  23. 2
      src/base/cl_malloc.cc
  24. 4
      src/base/random/cl_random_from.cc
  25. 2
      src/base/string/cl_spushstring_append.cc
  26. 2
      src/base/string/cl_spushstring_push.cc
  27. 2
      src/base/string/cl_st_debug.cc
  28. 2
      src/base/string/input/cl_st_gettoken.cc
  29. 2
      src/complex/input/cl_N_read.cc
  30. 2
      src/float/input/cl_F_read.cc
  31. 2
      src/float/output/cl_F_dprint.cc
  32. 2
      src/integer/input/cl_I_read.cc
  33. 2
      src/rational/input/cl_RA_read.cc
  34. 2
      src/real/format-output/cl_fmt_integer.cc
  35. 2
      src/real/format-output/cl_fmt_paddedstring.cc
  36. 2
      src/real/input/cl_R_read.cc
  37. 6
      src/timing/cl_t_current.cc
  38. 4
      src/timing/cl_t_current2.cc
  39. 2
      tests/exam.cc
  40. 4
      tests/tests.cc
  41. 4
      tests/timeLFRAmul.cc
  42. 4
      tests/timeLFatan-compare.cc
  43. 4
      tests/timeLFatan.cc
  44. 4
      tests/timeLFatanh-compare.cc
  45. 4
      tests/timeLFatanh.cc
  46. 4
      tests/timeLFcos-compare.cc
  47. 4
      tests/timeLFcos.cc
  48. 4
      tests/timeLFcosh.cc
  49. 4
      tests/timeLFexp-compare.cc
  50. 4
      tests/timeLFexp.cc
  51. 4
      tests/timeLFln-compare.cc
  52. 4
      tests/timeLFln.cc
  53. 4
      tests/timeLFsin-compare.cc
  54. 4
      tests/timeLFsin.cc
  55. 4
      tests/timeLFsinh.cc
  56. 4
      tests/timeLFsqrt.cc
  57. 4
      tests/timeMImisc5.cc
  58. 4
      tests/timeMIpow2div.cc
  59. 4
      tests/timeMIpow2recip.cc
  60. 4
      tests/timeRALFdiv.cc
  61. 4
      tests/timeRAtoLF.cc
  62. 4
      tests/timeUPMImul.cc
  63. 4
      tests/timecatalan.cc
  64. 4
      tests/timediv.cc
  65. 4
      tests/timediv2adic-compare.cc
  66. 4
      tests/timediv2adic.cc
  67. 4
      tests/timeeuler.cc
  68. 4
      tests/timeexp1.cc
  69. 4
      tests/timefact.cc
  70. 4
      tests/timegcd.cc
  71. 4
      tests/timemul-compare.cc
  72. 4
      tests/timemul.cc
  73. 4
      tests/timepi.cc
  74. 4
      tests/timeprint-compare.cc
  75. 4
      tests/timeprint.cc
  76. 4
      tests/timerecip2adic-compare.cc
  77. 4
      tests/timerecip2adic.cc
  78. 4
      tests/timesqrt.cc
  79. 4
      tests/timesqrtmodp.cc
  80. 4
      tests/timesquare.cc
  81. 4
      tests/timezeta3.cc

41
ChangeLog

@ -8,6 +8,47 @@
* rational/transcendental/cl_RA_logp.cc: fix bug where base is
reciprocal of an integer.
2004-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* benchmarks/timebench1.cc, benchmarks/timebench2a.LiDIA.cc,
benchmarks/timebench2a.cc, benchmarks/timebench2ap.cc,
benchmarks/timebench2b.LiDIA.cc, benchmarks/timebench2b.cc,
examples/atan_recip.cc, examples/atanh_recip.cc,
examples/contfrac.cc, examples/e.cc, examples/legendre.cc,
examples/lucaslehmer.cc, examples/pi.cc, include/cln/GV.h,
include/cln/SV.h, include/cln/malloc.h, include/cln/modules.h,
include/cln/object.h, include/cln/string.h, src/base/cl_abort.cc,
src/base/cl_alloca.h, src/base/cl_malloc.cc,
src/base/random/cl_random_from.cc,
src/base/string/cl_spushstring_append.cc,
src/base/string/cl_spushstring_push.cc,
src/base/string/cl_st_debug.cc,
src/base/string/input/cl_st_gettoken.cc,
src/complex/input/cl_N_read.cc, src/float/input/cl_F_read.cc,
src/float/output/cl_F_dprint.cc, src/integer/input/cl_I_read.cc,
src/rational/input/cl_RA_read.cc,
src/real/format-output/cl_fmt_integer.cc,
src/real/format-output/cl_fmt_paddedstring.cc,
src/real/input/cl_R_read.cc, src/timing/cl_t_current.cc,
src/timing/cl_t_current2.cc, tests/exam.cc, tests/tests.cc,
tests/timeLFRAmul.cc, tests/timeLFatan-compare.cc,
tests/timeLFatan.cc, tests/timeLFatanh-compare.cc,
tests/timeLFatanh.cc, tests/timeLFcos-compare.cc, tests/timeLFcos.cc,
tests/timeLFcosh.cc, tests/timeLFexp-compare.cc, tests/timeLFexp.cc,
tests/timeLFln-compare.cc, tests/timeLFln.cc,
tests/timeLFsin-compare.cc, tests/timeLFsin.cc, tests/timeLFsinh.cc,
tests/timeLFsqrt.cc, tests/timeMImisc5.cc, tests/timeMIpow2div.cc,
tests/timeMIpow2recip.cc, tests/timeRALFdiv.cc, tests/timeRAtoLF.cc,
tests/timeUPMImul.cc, tests/timecatalan.cc, tests/timediv.cc,
tests/timediv2adic-compare.cc, tests/timediv2adic.cc,
tests/timeeuler.cc, tests/timeexp1.cc, tests/timefact.cc,
tests/timegcd.cc, tests/timemul-compare.cc, tests/timemul.cc,
tests/timepi.cc, tests/timeprint-compare.cc, tests/timeprint.cc,
tests/timerecip2adic-compare.cc, tests/timerecip2adic.cc,
tests/timesqrt.cc, tests/timesqrtmodp.cc, tests/timesquare.cc,
tests/timezeta3.cc: Change all C include headers to ISO style
within C++ code.
2004-06-10 Richard B. Kreckel <kreckel@ginac.de>
* examples/perfnum.cc: update to presumed 41st Mersenne prime.

4
benchmarks/timebench1.cc

@ -9,8 +9,8 @@
#include <cln/real_io.h>
#include <cln/complex.h>
#include <cln/complex_io.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
// Timings on Linux i486 33 MHz, 1000 decimal places = 104 32-bit words.

4
benchmarks/timebench2a.LiDIA.cc

@ -1,8 +1,8 @@
#include <LiDIA/bigint.h>
#include <LiDIA/bigfloat.h>
#include <LiDIA/timer.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
int main (int argc, char * argv[])
{

4
benchmarks/timebench2a.cc

@ -4,8 +4,8 @@
#include <cln/integer_io.h>
#include <cln/float.h>
#include <cln/real.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
using namespace std;

4
benchmarks/timebench2ap.cc

@ -1,8 +1,8 @@
#include <cln/number.h>
#include <cln/io.h>
#include <cln/integer.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
using namespace std;

4
benchmarks/timebench2b.LiDIA.cc

@ -1,8 +1,8 @@
#include <LiDIA/bigint.h>
#include <LiDIA/bigfloat.h>
#include <LiDIA/timer.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
int main (int argc, char * argv[])
{

4
benchmarks/timebench2b.cc

@ -7,8 +7,8 @@
#include <cln/real_io.h>
#include <cln/complex.h>
#include <cln/complex_io.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
using namespace std;

6
examples/atan_recip.cc

@ -7,12 +7,12 @@
#include "cl_LF.h"
#include "cl_LF_tran.h"
#include "cl_alloca.h"
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include "cln/timing.h"
#undef floor
#include <math.h>
#include <cmath>
#define floor cln_floor
using namespace cln;

4
examples/atanh_recip.cc

@ -8,8 +8,8 @@
#include "cl_LF.h"
#include "cl_LF_tran.h"
#include "cl_alloca.h"
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include "cln/timing.h"
#undef floor

2
examples/contfrac.cc

@ -12,7 +12,7 @@ using namespace std;
using namespace cln;
// Our private error handling: return to the main program.
#include <setjmp.h>
#include <csetjmp>
jmp_buf restartpoint;
namespace cln {
void cl_abort (void) { longjmp(restartpoint,1); }

2
examples/e.cc

@ -35,7 +35,7 @@
#include <cln/float_io.h>
#include <cln/real.h>
#include <cln/complex.h>
#include <string.h>
#include <cstring>
#include <cln/timing.h>
#include <cmath>

2
examples/legendre.cc

@ -8,7 +8,7 @@
#include <cln/univpoly_rational.h>
#include <cln/univpoly_modint.h>
#include <cln/io.h>
#include <stdlib.h>
#include <cstdlib>
using namespace std;
using namespace cln;

2
examples/lucaslehmer.cc

@ -51,7 +51,7 @@ bool mersenne_prime_p_modint (int q)
}
#include <cln/io.h> // we do I/O
#include <stdlib.h> // declares exit()
#include <cstdlib> // declares exit()
#include <cln/timing.h>
int main (int argc, char* argv[])

6
examples/pi.cc

@ -3,9 +3,9 @@
#include <cln/output.h>
#include <cln/real.h>
#include <cln/real_io.h>
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
#include <cctype>
#include <cstdlib>
#include <cstring>
using namespace std;
using namespace cln;

2
include/cln/GV.h

@ -6,7 +6,7 @@
#include "cln/object.h"
#include "cln/V.h"
#include "cln/abort.h"
#include <stdlib.h>
#include <cstdlib>
namespace cln {

2
include/cln/SV.h

@ -6,7 +6,7 @@
#include "cln/object.h"
#include "cln/V.h"
#include "cln/abort.h"
#include <stdlib.h>
#include <cstdlib>
namespace cln {

2
include/cln/malloc.h

@ -3,7 +3,7 @@
#ifndef _CL_MALLOC_H
#define _CL_MALLOC_H
#include <stdlib.h>
#include <cstdlib>
namespace cln {

2
include/cln/modules.h

@ -259,7 +259,7 @@
//
// CL_FORCE_LINK(dummy,external_variable)
// forces a link time reference to the external_variable.
#include <stdlib.h>
#include <cstdlib>
#if 0
// This definition does not work. It gets optimized away by g++ 3.1.
#define CL_FORCE_LINK(dummy,external_variable) \

2
include/cln/object.h

@ -5,7 +5,7 @@
#include "cln/types.h"
#include "cln/modules.h"
#include <stdlib.h>
#include <cstdlib>
namespace cln {

2
include/cln/string.h

@ -6,7 +6,7 @@
#include "cln/object.h"
#include "cln/io.h"
#include "cln/abort.h"
#include <string.h>
#include <cstring>
namespace cln {

2
src/base/cl_abort.cc

@ -9,7 +9,7 @@
// Implementation.
#include <stdlib.h>
#include <cstdlib>
namespace cln {

2
src/base/cl_alloca.h

@ -4,7 +4,7 @@
#define _CL_ALLOCA_H
#include "cl_macros.h"
#include <stdlib.h>
#include <cstdlib>
namespace cln {

2
src/base/cl_malloc.cc

@ -9,7 +9,7 @@
// Implementation.
#include <stdlib.h>
#include <cstdlib>
#include "cln/io.h"
#include "cln/abort.h"

4
src/base/random/cl_random_from.cc

@ -16,7 +16,7 @@
#include <sys/types.h>
#include <unistd.h> // declares getpid()
#include <stdlib.h> // declares rand()
#include <cstdlib> // declares rand()
#if defined(HAVE_GETTIMEOFDAY)
@ -36,7 +36,7 @@ inline uint32 get_seed (void)
#elif defined(HAVE_TIMES_CLOCK)
#include <time.h>
#include <ctime>
#ifndef CLK_TCK
#include <sys/time.h>
#endif

2
src/base/string/cl_spushstring_append.cc

@ -9,7 +9,7 @@
// Implementation.
#include <string.h> // declares memcpy()
#include <cstring> // declares memcpy()
namespace cln {

2
src/base/string/cl_spushstring_push.cc

@ -9,7 +9,7 @@
// Implementation.
#include <string.h> // declares memcpy()
#include <cstring> // declares memcpy()
namespace cln {

2
src/base/string/cl_st_debug.cc

@ -10,7 +10,7 @@
#include "cln/string.h"
#include "cln/io.h"
#include <ctype.h>
#include <cctype>
namespace cln {

2
src/base/string/input/cl_st_gettoken.cc

@ -11,7 +11,7 @@
#include "cln/io.h"
#include "cl_spushstring.h"
#include <ctype.h>
#include <cctype>
namespace cln {

2
src/complex/input/cl_N_read.cc

@ -9,7 +9,7 @@
// Implementation.
#include <string.h>
#include <cstring>
#include "cln/input.h"
#include "cln/real_io.h"
#include "cln/float_io.h"

2
src/float/input/cl_F_read.cc

@ -11,7 +11,7 @@
// Implementation.
#include <string.h>
#include <cstring>
#include "cln/input.h"
#include "cln/integer.h"
#include "cl_I.h"

2
src/float/output/cl_F_dprint.cc

@ -30,7 +30,7 @@
CL_REQUIRE(cl_F_ln2_var)
CL_REQUIRE(cl_F_ln10_var)
#include <string.h>
#include <cstring>
#include "cln/output.h"
#include "cl_sstring.h"
#include "cln/float.h"

2
src/integer/input/cl_I_read.cc

@ -11,7 +11,7 @@
// Implementation.
#include <string.h>
#include <cstring>
#include "cln/input.h"
#include "cln/integer.h"
#include "cl_I.h"

2
src/rational/input/cl_RA_read.cc

@ -12,7 +12,7 @@
// Implementation.
#include <string.h>
#include <cstring>
#include "cln/input.h"
#include "cln/integer.h"
#include "cln/integer_io.h"

2
src/real/format-output/cl_fmt_integer.cc

@ -10,7 +10,7 @@
// Implementation.
#include "cln/integer_io.h"
#include <string.h>
#include <cstring>
#include "cl_I.h"
namespace cln {

2
src/real/format-output/cl_fmt_paddedstring.cc

@ -9,7 +9,7 @@
// Implementation.
#include <string.h>
#include <cstring>
namespace cln {

2
src/real/input/cl_R_read.cc

@ -11,7 +11,7 @@
// Implementation.
#include <string.h>
#include <cstring>
#include "cln/input.h"
#include "cln/rational_io.h"
#include "cln/integer_io.h"

6
src/timing/cl_t_current.cc

@ -20,11 +20,11 @@
extern "C" int gettimeofday (struct timeval * tp, GETTIMEOFDAY_TZP_T tzp);
#endif
#else
#include <time.h>
#include <ctime>
#endif
#ifdef HAVE_PERROR_DECL
#include <errno.h>
#include <stdio.h>
#include <cerrno>
#include <cstdio>
#else
extern "C" int perror (const char *);
#endif

4
src/timing/cl_t_current2.cc

@ -23,8 +23,8 @@
extern "C" clock_t times (struct tms * buffer);
#endif
#ifdef HAVE_PERROR_DECL
#include <errno.h>
#include <stdio.h>
#include <cerrno>
#include <cstdio>
#else
extern "C" int perror (const char *);
#endif

2
tests/exam.cc

@ -1,4 +1,4 @@
#include <stdlib.h>
#include <cstdlib>
#include <cln/io.h>
#include <cln/real.h>

4
tests/tests.cc

@ -1,5 +1,5 @@
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/io.h>
extern int test_I (int iterations);

4
tests/timeLFRAmul.cc

@ -6,8 +6,8 @@
#include <cln/rational.h>
#include <cln/float_io.h>
#include <cln/random.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
using namespace cln;

4
tests/timeLFatan-compare.cc

@ -5,8 +5,8 @@
#include "cl_LF.h"
#include <cln/real.h>
#include <cln/random.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
using namespace cln;

4
tests/timeLFatan.cc

@ -6,8 +6,8 @@
#include "cl_LF.h"
#include <cln/real.h>
#include <cln/random.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
using namespace cln;

4
tests/timeLFatanh-compare.cc

@ -6,8 +6,8 @@
#include <cln/complex.h>
#include <cln/real.h>
#include <cln/random.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
int main (int argc, char * argv[])

4
tests/timeLFatanh.cc

@ -7,8 +7,8 @@
#include <cln/complex_io.h>
#include <cln/real.h>
#include <cln/random.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
using namespace cln;

4
tests/timeLFcos-compare.cc

@ -5,8 +5,8 @@
#include "cl_LF.h"
#include <cln/real.h>
#include <cln/random.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
int main (int argc, char * argv[])

4
tests/timeLFcos.cc

@ -6,8 +6,8 @@
#include "cl_LF.h"
#include <cln/real.h>
#include <cln/random.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
using namespace cln;

4
tests/timeLFcosh.cc

@ -6,8 +6,8 @@
#include "cl_LF.h"
#include <cln/real.h>
#include <cln/random.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
using namespace cln;

4
tests/timeLFexp-compare.cc

@ -5,8 +5,8 @@
#include "cl_LF.h"
#include <cln/real.h>
#include <cln/random.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
int main (int argc, char * argv[])

4
tests/timeLFexp.cc

@ -6,8 +6,8 @@
#include "cl_LF.h"
#include <cln/real.h>
#include <cln/random.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
int main (int argc, char * argv[])

4
tests/timeLFln-compare.cc

@ -5,8 +5,8 @@
#include "cl_LF.h"
#include <cln/real.h>
#include <cln/random.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
int main (int argc, char * argv[])

4
tests/timeLFln.cc

@ -6,8 +6,8 @@
#include "cl_LF.h"
#include <cln/real.h>
#include <cln/random.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
int main (int argc, char * argv[])

4
tests/timeLFsin-compare.cc

@ -5,8 +5,8 @@
#include "cl_LF.h"
#include <cln/real.h>
#include <cln/random.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
int main (int argc, char * argv[])

4
tests/timeLFsin.cc

@ -6,8 +6,8 @@
#include "cl_LF.h"
#include <cln/real.h>
#include <cln/random.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
using namespace cln;

4
tests/timeLFsinh.cc

@ -6,8 +6,8 @@
#include "cl_LF.h"
#include <cln/real.h>
#include <cln/random.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
using namespace cln;

4
tests/timeLFsqrt.cc

@ -6,8 +6,8 @@
#include "cl_LF.h"
#include <cln/real.h>
#include <cln/random.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
using namespace cln;

4
tests/timeMImisc5.cc

@ -2,8 +2,8 @@
#include <cln/io.h>
#include <cln/integer.h>
#include <cln/modinteger.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
using namespace cln;

4
tests/timeMIpow2div.cc

@ -2,8 +2,8 @@
#include <cln/io.h>
#include <cln/integer.h>
#include <cln/modinteger.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
using namespace cln;

4
tests/timeMIpow2recip.cc

@ -2,8 +2,8 @@
#include <cln/io.h>
#include <cln/integer.h>
#include <cln/modinteger.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
using namespace cln;

4
tests/timeRALFdiv.cc

@ -6,8 +6,8 @@
#include <cln/rational.h>
#include <cln/float_io.h>
#include <cln/random.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
using namespace cln;

4
tests/timeRAtoLF.cc

@ -5,8 +5,8 @@
#include <cln/rational.h>
#include <cln/float_io.h>
#include <cln/random.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
using namespace cln;

4
tests/timeUPMImul.cc

@ -3,8 +3,8 @@
#include <cln/integer.h>
#include <cln/modinteger.h>
#include <cln/univpoly.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
using namespace cln;

4
tests/timecatalan.cc

@ -3,8 +3,8 @@
#include <cln/float.h>
#include <cln/real.h>
#include <cln/random.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
#include "cl_LF.h"
using namespace cln;

4
tests/timediv.cc

@ -2,8 +2,8 @@
#include <cln/io.h>
#include <cln/integer.h>
#include <cln/random.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
using namespace cln;

4
tests/timediv2adic-compare.cc

@ -6,8 +6,8 @@
#include <cln/random.h>
#include "cl_random_impl.h"
#include <cln/abort.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
using namespace cln;

4
tests/timediv2adic.cc

@ -6,8 +6,8 @@
#include <cln/random.h>
#include "cl_random_impl.h"
#include <cln/abort.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
using namespace cln;

4
tests/timeeuler.cc

@ -3,8 +3,8 @@
#include <cln/float.h>
#include <cln/real.h>
#include <cln/random.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
#include "cl_LF.h"
using namespace cln;

4
tests/timeexp1.cc

@ -3,8 +3,8 @@
#include <cln/float.h>
#include <cln/real.h>
#include <cln/random.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
using namespace cln;

4
tests/timefact.cc

@ -3,8 +3,8 @@
#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;

4
tests/timegcd.cc

@ -2,8 +2,8 @@
#include <cln/io.h>
#include <cln/integer.h>
#include <cln/random.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
using namespace cln;

4
tests/timemul-compare.cc

@ -2,8 +2,8 @@
#include <cln/io.h>
#include <cln/integer.h>
#include <cln/random.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
int main (int argc, char * argv[])

4
tests/timemul.cc

@ -2,8 +2,8 @@
#include <cln/io.h>
#include <cln/integer.h>
#include <cln/random.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
using namespace cln;

4
tests/timepi.cc

@ -4,8 +4,8 @@
#include <cln/float_io.h>
#include <cln/real.h>
#include <cln/random.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
using namespace std;

4
tests/timeprint-compare.cc

@ -2,8 +2,8 @@
#include <cln/io.h>
#include <cln/integer.h>
#include <cln/random.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
#include <cl_print.h>
#include <cln/malloc.h>

4
tests/timeprint.cc

@ -3,8 +3,8 @@
#include <cln/integer.h>
#include <cln/integer_io.h>
#include <cln/random.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
#include <cln/malloc.h>
#include <cln/abort.h>

4
tests/timerecip2adic-compare.cc

@ -6,8 +6,8 @@
#include <cln/random.h>
#include "cl_random_impl.h"
#include <cln/abort.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
using namespace cln;

4
tests/timerecip2adic.cc

@ -5,8 +5,8 @@
#include "cl_2DS.h"
#include <cln/random.h>
#include "cl_random_impl.h"
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
using namespace cln;

4
tests/timesqrt.cc

@ -2,8 +2,8 @@
#include <cln/io.h>
#include <cln/integer.h>
#include <cln/random.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
using namespace cln;

4
tests/timesqrtmodp.cc

@ -4,8 +4,8 @@
#include <cln/integer_io.h>
#include <cln/modinteger.h>
#include <cln/numtheory.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
using namespace cln;

4
tests/timesquare.cc

@ -2,8 +2,8 @@
#include <cln/io.h>
#include <cln/integer.h>
#include <cln/random.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
using namespace cln;

4
tests/timezeta3.cc

@ -2,8 +2,8 @@
#include <cln/io.h>
#include <cln/float.h>
#include <cln/real.h>
#include <stdlib.h>
#include <string.h>
#include <cstdlib>
#include <cstring>
#include <cln/timing.h>
#include "cl_LF.h"
using namespace cln;

Loading…
Cancel
Save