You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1796 lines
69 KiB

2006-04-25 Bruno Haible <bruno@clisp.org> Richard B. Kreckel <kreckel@ginac.de> Make it theoretically possible to use bignums and long-floats with more than 2^32 significant digits or bits. * doc/cln.tex (logcount): Change return type to uintC. (struct cl_byte): Change elements to uintC. (integer_length, ord2, power2p): Change return type to uintC. (scale_float): Change argument type to sintC. (float_digits, float_precision): Change return type to uintC. * examples/atan_recip.cc: Use uintC instead of uintL where appropriate. * examples/atanh_recip.cc: Likewise. * include/cln/GV.h: Likewise. * include/cln/GV_complex.h: Likewise. * include/cln/GV_integer.h: Likewise. * include/cln/GV_modinteger.h: Likewise. * include/cln/GV_number.h: Likewise. * include/cln/GV_rational.h: Likewise. * include/cln/GV_real.h: Likewise. * include/cln/SV.h: Likewise. * include/cln/SV_complex.h: Likewise. * include/cln/SV_integer.h: Likewise. * include/cln/SV_number.h: Likewise. * include/cln/SV_rational.h: Likewise. * include/cln/SV_real.h: Likewise. * include/cln/SV_ringelt.h: Likewise. * include/cln/dfloat.h: Likewise. * include/cln/ffloat.h: Likewise. * include/cln/float.h: Likewise. * include/cln/integer.h: Likewise. * include/cln/lfloat.h: Likewise. * include/cln/modinteger.h: Likewise. * include/cln/sfloat.h: Likewise. * src/base/cl_low.h (integerlengthC): New macro. * src/base/digitseq/cl_2DS_div.cc: Use uintC instead of uintL where appropriate. * src/base/digitseq/cl_2DS_recip.cc: Likewise. * src/base/digitseq/cl_DS.h: Likewise. * src/base/digitseq/cl_DS_mul.c: Likewise. * src/base/digitseq/cl_DS_mul_fftc.h: Likewise. * src/base/digitseq/cl_DS_mul_fftcs.h: Likewise. * src/base/digitseq/cl_DS_mul_fftm.h: Likewise. * src/base/digitseq/cl_DS_mul_fftp.h: Likewise. * src/base/digitseq/cl_DS_mul_fftp3.h: Likewise. * src/base/digitseq/cl_DS_mul_fftp3m.h: Likewise. * src/base/digitseq/cl_DS_mul_fftr.h: Likewise. * src/base/digitseq/cl_DS_mul_kara.h: Likewise. * src/base/digitseq/cl_DS_mul_nuss.h: Likewise. * src/base/digitseq/cl_DS_recip.cc: Likewise. * src/base/digitseq/cl_DS_recipsqrt.cc: Likewise. * src/base/digitseq/cl_DS_sqrt.cc: Likewise. * src/base/digitseq/cl_DS_trandom.cc: Likewise. * src/complex/input/cl_N_read.cc: Likewise. * src/complex/transcendental/cl_C_asinh_aux.cc: Likewise. * src/complex/transcendental/cl_C_expt_C.cc: Likewise. * src/float/cl_F.h: Likewise. * src/float/conv/cl_F_from_F_f.cc: Likewise. * src/float/conv/cl_F_from_I_f.cc: Likewise. * src/float/conv/cl_F_from_RA_f.cc: Likewise. * src/float/dfloat/conv/cl_I_to_double.cc: Likewise. * src/float/dfloat/conv/cl_RA_to_double.cc: Likewise. * src/float/dfloat/elem/cl_DF_from_I.cc: Likewise. * src/float/dfloat/elem/cl_DF_from_RA.cc: Likewise. * src/float/dfloat/elem/cl_DF_scale.cc: Likewise. * src/float/dfloat/misc/cl_DF_digits.cc: Likewise. * src/float/dfloat/misc/cl_DF_precision.cc: Likewise. * src/float/elem/cl_F_scale.cc: Likewise. * src/float/ffloat/conv/cl_I_to_float.cc: Likewise. * src/float/ffloat/conv/cl_RA_to_float.cc: Likewise. * src/float/ffloat/elem/cl_FF_from_I.cc: Likewise. * src/float/ffloat/elem/cl_FF_from_RA.cc: Likewise. * src/float/ffloat/elem/cl_FF_scale.cc: Likewise. * src/float/ffloat/misc/cl_FF_digits.cc: Likewise. * src/float/ffloat/misc/cl_FF_precision.cc: Likewise. * src/float/input/cl_F_read.cc: Likewise. * src/float/lfloat/algebraic/cl_LF_sqrt.cc: Likewise. * src/float/lfloat/elem/cl_LF_1plus.cc: Likewise. * src/float/lfloat/elem/cl_LF_I_div.cc: Likewise. * src/float/lfloat/elem/cl_LF_I_mul.cc: Likewise. * src/float/lfloat/elem/cl_LF_div.cc: Likewise. * src/float/lfloat/elem/cl_LF_from_I.cc: Likewise. * src/float/lfloat/elem/cl_LF_from_RA.cc: Likewise. * src/float/lfloat/elem/cl_LF_fround.cc: Likewise. * src/float/lfloat/elem/cl_LF_ftrunc.cc: Likewise. * src/float/lfloat/elem/cl_LF_futrunc.cc: Likewise. * src/float/lfloat/elem/cl_LF_scale.cc: Likewise. * src/float/lfloat/elem/cl_LF_to_I.cc: Likewise. * src/float/lfloat/misc/cl_LF_digits.cc: Likewise. * src/float/lfloat/misc/cl_LF_idecode.cc: Likewise. * src/float/lfloat/misc/cl_LF_leninc.cc: Likewise. * src/float/lfloat/misc/cl_LF_lenincx.cc: Likewise. * src/float/lfloat/misc/cl_LF_precision.cc: Likewise. * src/float/lfloat/misc/cl_LF_shortenrel.cc: Likewise. * src/float/lfloat/misc/cl_LF_shortenwith.cc: Likewise. * src/float/misc/cl_F_digits.cc: Likewise. * src/float/misc/cl_F_epsneg.cc: Likewise. * src/float/misc/cl_F_epspos.cc: Likewise. * src/float/misc/cl_F_leastneg.cc: Likewise. * src/float/misc/cl_F_leastpos.cc: Likewise. * src/float/misc/cl_F_mostneg.cc: Likewise. * src/float/misc/cl_F_mostpos.cc: Likewise. * src/float/misc/cl_F_precision.cc: Likewise. * src/float/misc/cl_F_rational.cc: Likewise. * src/float/misc/cl_F_shortenrel.cc: Likewise. * src/float/output/cl_F_dprint.cc: Likewise. * src/float/random/cl_F_random.cc: Likewise. * src/float/sfloat/elem/cl_SF_from_I.cc: Likewise. * src/float/sfloat/elem/cl_SF_from_RA.cc: Likewise. * src/float/sfloat/elem/cl_SF_scale.cc: Likewise. * src/float/sfloat/misc/cl_SF_digits.cc: Likewise. * src/float/sfloat/misc/cl_SF_precision.cc: Likewise. * src/float/transcendental/cl_F_atanhx.cc: Likewise. * src/float/transcendental/cl_F_atanx.cc: Likewise. * src/float/transcendental/cl_F_catalanconst_f.cc: Likewise. * src/float/transcendental/cl_F_cos.cc: Likewise. * src/float/transcendental/cl_F_cosh.cc: Likewise. * src/float/transcendental/cl_F_coshsinh.cc: Likewise. * src/float/transcendental/cl_F_cossin.cc: Likewise. * src/float/transcendental/cl_F_eulerconst_f.cc: Likewise. * src/float/transcendental/cl_F_exp1_f.cc: Likewise. * src/float/transcendental/cl_F_expx.cc: Likewise. * src/float/transcendental/cl_F_ln10_f.cc: Likewise. * src/float/transcendental/cl_F_ln2_f.cc: Likewise. * src/float/transcendental/cl_F_lnx.cc: Likewise. * src/float/transcendental/cl_F_pi_f.cc: Likewise. * src/float/transcendental/cl_F_sin.cc: Likewise. * src/float/transcendental/cl_F_sinh.cc: Likewise. * src/float/transcendental/cl_F_sinhx.cc: Likewise. * src/float/transcendental/cl_F_sinx.cc: Likewise. * src/float/transcendental/cl_F_tran.h: Likewise. * src/float/transcendental/cl_F_zeta_int_f.cc: Likewise. * src/float/transcendental/cl_LF_atan_recip.cc: Likewise. * src/float/transcendental/cl_LF_atanh_recip.cc: Likewise. * src/float/transcendental/cl_LF_catalanconst.cc: Likewise. * src/float/transcendental/cl_LF_coshsinh_aux.cc: Likewise. * src/float/transcendental/cl_LF_cossin_aux.cc: Likewise. * src/float/transcendental/cl_LF_eulerconst.cc: Likewise. * src/float/transcendental/cl_LF_exp1.cc: Likewise. * src/float/transcendental/cl_LF_exp_aux.cc: Likewise. * src/float/transcendental/cl_LF_pi.cc: Likewise. * src/float/transcendental/cl_LF_ratseries.cc: Likewise. * src/float/transcendental/cl_LF_ratseries_.cc: Likewise. * src/float/transcendental/cl_LF_ratseries_a.cc: Likewise. * src/float/transcendental/cl_LF_ratseries_ab.cc: Likewise. * src/float/transcendental/cl_LF_ratseries_b.cc: Likewise. * src/float/transcendental/cl_LF_ratseries_p.cc: Likewise. * src/float/transcendental/cl_LF_ratseries_pa.cc: Likewise. * src/float/transcendental/cl_LF_ratseries_pab.cc: Likewise. * src/float/transcendental/cl_LF_ratseries_pb.cc: Likewise. * src/float/transcendental/cl_LF_ratseries_pq.cc: Likewise. * src/float/transcendental/cl_LF_ratseries_pqa.cc: Likewise. * src/float/transcendental/cl_LF_ratseries_pqab.cc: Likewise. * src/float/transcendental/cl_LF_ratseries_pqb.cc: Likewise. * src/float/transcendental/cl_LF_ratseries_q.cc: Likewise. * src/float/transcendental/cl_LF_ratseries_qa.cc: Likewise. * src/float/transcendental/cl_LF_ratseries_qab.cc: Likewise. * src/float/transcendental/cl_LF_ratseries_qb.cc: Likewise. * src/float/transcendental/cl_LF_ratseries_stream_pq.cc: Likewise. * src/float/transcendental/cl_LF_ratseries_stream_pqa.cc: Likewise. * src/float/transcendental/cl_LF_ratseries_stream_pqab.cc: Likewise. * src/float/transcendental/cl_LF_ratseries_stream_pqb.cc: Likewise. * src/float/transcendental/cl_LF_ratsumseries_pqcd.cc: Likewise. * src/float/transcendental/cl_LF_ratsumseries_pqcd_aux.cc: Likewise. * src/float/transcendental/cl_LF_ratsumseries_pqd.cc: Likewise. * src/float/transcendental/cl_LF_ratsumseries_pqd_aux.cc: Likewise. * src/float/transcendental/cl_LF_tran.h: Likewise. * src/float/transcendental/cl_LF_zeta3.cc: Likewise. * src/float/transcendental/cl_LF_zeta_int.cc: Likewise. * src/integer/algebraic/cl_I_rootp_I.cc: Likewise. * src/integer/algebraic/cl_I_rootp_aux.cc: Likewise. * src/integer/bitwise/cl_I_ash.cc: Likewise. * src/integer/bitwise/cl_I_ash_I.cc: Likewise. * src/integer/bitwise/cl_I_byte.h: Likewise. * src/integer/bitwise/cl_I_fullbyte.cc: Likewise. * src/integer/bitwise/cl_I_ilength.cc: Likewise. * src/integer/bitwise/cl_I_ldb.cc: Likewise. * src/integer/bitwise/cl_I_ldbtest.cc: Likewise. * src/integer/bitwise/cl_I_ldbx.cc: Likewise. * src/integer/bitwise/cl_I_ldbxtest.cc: Likewise. * src/integer/bitwise/cl_I_logbitp.cc: Likewise. * src/integer/bitwise/cl_I_logbitp_I.cc: Likewise. * src/integer/bitwise/cl_I_logcount.cc: Likewise. * src/integer/bitwise/cl_I_mkf.cc: Likewise. * src/integer/bitwise/cl_I_mkfx.cc: Likewise. * src/integer/cl_I.h: Likewise. * src/integer/conv/cl_I_to_digits.cc: Likewise. * src/integer/conv/cl_I_digits_need.cc: Likewise. * src/integer/conv/cl_I_from_digits.cc: Likewise. * src/integer/gcd/cl_I_gcd.cc: Likewise. * src/integer/gcd/cl_I_xgcd.cc: Likewise. * src/integer/misc/cl_I_eqhashcode.cc: Likewise. * src/integer/misc/cl_I_ord2.cc: Likewise. * src/integer/misc/cl_I_power2p.cc: Likewise. * src/integer/output/cl_I_cached_power.h (cached_power_table): allow for 40 elements. * src/integer/output/cl_I_decstring.cc: Use uintC instead of uintL where appropriate. * src/integer/output/cl_I_print.cc: Likewise. * src/integer/output/cl_I_print_string.cc: Likewise. * src/modinteger/cl_MI.cc: Likewise. * src/modinteger/cl_MI_lshift.cc: Likewise. * src/modinteger/cl_MI_montgom.h: Likewise. * src/modinteger/cl_MI_pow2.h: Likewise. * src/modinteger/cl_MI_pow2m1.h: Likewise. * src/modinteger/cl_MI_pow2p1.h: Likewise. * src/modinteger/cl_MI_rshift.cc: Likewise. * src/modinteger/cl_MI_std.h: Likewise. * src/numtheory/cl_IF_millerrabin.cc: Likewise. * src/numtheory/cl_nt_isprobprime.cc: Likewise. * src/numtheory/cl_nt_sqrtmodp.cc: Likewise. * src/polynomial/elem/cl_UP_GF2.h: Likewise. * src/real/conv/cl_F_from_R_f.cc: Likewise. * src/real/format-output/cl_fmt_floatstring.cc: Likewise. * src/real/input/cl_R_read.cc: Likewise. * src/vector/cl_GV_I.cc: Likewise. * src/vector/cl_GV_I_copy.cc: Likewise. * src/vector/cl_GV_number.cc: Likewise. * src/vector/cl_GV_number_copy.cc: Likewise. * src/vector/cl_SV_copy.cc: Likewise. * src/vector/cl_SV_number.cc: Likewise. * src/vector/cl_SV_ringelt.cc: Likewise. * tests/main.cc: Likewise. * tests/test_I_ilength.cc: Likewise. * tests/test_I_ord2.cc: Likewise.
19 years ago
19 years ago
24 years ago
24 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
  1. 2006-09-14 Richard B. Kreckel <kreckel@ginac.de>
  2. * examples/perfnum.cc: update to presumed 44th Mersenne prime.
  3. 2006-08-15 Richard B. Kreckel <kreckel@ginac.de>
  4. * tests/Makefile.in: MinGW support for make check
  5. (Patch by Sheplyakov Alexei <varg@theor.jinr.ru> to add ${EXEEXT}).
  6. * Makefile.in: Convert from $(VAR) to ${VAR} syntax.
  7. * benchmarks/Makefile.in: Likewise.
  8. * doc/Makefile.in: Likewise.
  9. * examples/Makefile.in: Likewise.
  10. * src/Makefile.in: Likewise.
  11. * tests/Makefile.in: Likewise.
  12. 2006-08-06 Richard B. Kreckel <kreckel@ginac.de>
  13. * configure.ac: Re-enable shared lib on non-MinGW platforms, sigh.
  14. 2006-08-04 Sheplyakov Alexei <varg@theor.jinr.ru>
  15. * configure.ac: Disable shared lib on MinGW.
  16. 2006-08-03 Sheplyakov Alexei <varg@theor.jinr.ru>
  17. * m4/param.m4: Add support for MinGW.
  18. * src/base/random/cl_random_from.cc: Fix for last patch.
  19. 2006-07-23 Sheplyakov Alexei <varg@theor.jinr.ru>
  20. * src/base/random/cl_random_from.cc: Add support for MinGW.
  21. 2006-06-13 Richard B. Kreckel <kreckel@ginac.de>
  22. * m4/general.m4 (CL_CANONICAL_HOST_CPU): Force host_cpu=i386 for x86_64
  23. if userland is 32 bit.
  24. * include/cln/config.h.in: Simplify __x86_64__ selection.
  25. * src/base/digitseq/cl_asm_x86_64_.cc: Remove.
  26. 2006-06-09 Richard B. Kreckel <kreckel@ginac.de>
  27. * src/base/digitseq/cl_DS.h (struct DS): Change len type to uintC.
  28. 2006-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  29. * m4/gettimeofday.m4 (CL_GETTIMEOFDAY): Fix M4 quoting.
  30. 2006-05-20 Bruno Haible <bruno@clisp.org>
  31. * src/base/random/cl_random_from.cc: Treat FreeBSD, NetBSD like other
  32. Unix platforms.
  33. 2006-05-07 Richard B. Kreckel <kreckel@ginac.de>
  34. * include/cln/modules.h (CL_JUMP_TO): Fix for Intel Mac.
  35. 2006-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  36. Prepare for autoconf-2.60.
  37. * Makefile.in (datarootdir): New variable.
  38. * src/Makefile.in (datarootdir): New variable.
  39. * doc/Makefile.in (datarootdir): New variable.
  40. 2006-04-25 Bruno Haible <bruno@clisp.org>
  41. Richard B. Kreckel <kreckel@ginac.de>
  42. Make it theoretically possible to use bignums and long-floats with
  43. more than 2^32 significant digits or bits.
  44. * doc/cln.tex (logcount): Change return type to uintC.
  45. (struct cl_byte): Change elements to uintC.
  46. (integer_length, ord2, power2p): Change return type to uintC.
  47. (scale_float): Change argument type to sintC.
  48. (float_digits, float_precision): Change return type to uintC.
  49. * examples/atan_recip.cc: Use uintC instead of uintL where appropriate.
  50. * examples/atanh_recip.cc: Likewise.
  51. * include/cln/GV.h: Likewise.
  52. * include/cln/GV_complex.h: Likewise.
  53. * include/cln/GV_integer.h: Likewise.
  54. * include/cln/GV_modinteger.h: Likewise.
  55. * include/cln/GV_number.h: Likewise.
  56. * include/cln/GV_rational.h: Likewise.
  57. * include/cln/GV_real.h: Likewise.
  58. * include/cln/SV.h: Likewise.
  59. * include/cln/SV_complex.h: Likewise.
  60. * include/cln/SV_integer.h: Likewise.
  61. * include/cln/SV_number.h: Likewise.
  62. * include/cln/SV_rational.h: Likewise.
  63. * include/cln/SV_real.h: Likewise.
  64. * include/cln/SV_ringelt.h: Likewise.
  65. * include/cln/dfloat.h: Likewise.
  66. * include/cln/ffloat.h: Likewise.
  67. * include/cln/float.h: Likewise.
  68. * include/cln/integer.h: Likewise.
  69. * include/cln/lfloat.h: Likewise.
  70. * include/cln/modinteger.h: Likewise.
  71. * include/cln/sfloat.h: Likewise.
  72. * src/base/cl_low.h (integerlengthC): New macro.
  73. * src/base/digitseq/cl_2DS_div.cc: Use uintC instead of uintL where
  74. appropriate.
  75. * src/base/digitseq/cl_2DS_recip.cc: Likewise.
  76. * src/base/digitseq/cl_DS.h: Likewise.
  77. * src/base/digitseq/cl_DS_mul.c: Likewise.
  78. * src/base/digitseq/cl_DS_mul_fftc.h: Likewise.
  79. * src/base/digitseq/cl_DS_mul_fftcs.h: Likewise.
  80. * src/base/digitseq/cl_DS_mul_fftm.h: Likewise.
  81. * src/base/digitseq/cl_DS_mul_fftp.h: Likewise.
  82. * src/base/digitseq/cl_DS_mul_fftp3.h: Likewise.
  83. * src/base/digitseq/cl_DS_mul_fftp3m.h: Likewise.
  84. * src/base/digitseq/cl_DS_mul_fftr.h: Likewise.
  85. * src/base/digitseq/cl_DS_mul_kara.h: Likewise.
  86. * src/base/digitseq/cl_DS_mul_nuss.h: Likewise.
  87. * src/base/digitseq/cl_DS_recip.cc: Likewise.
  88. * src/base/digitseq/cl_DS_recipsqrt.cc: Likewise.
  89. * src/base/digitseq/cl_DS_sqrt.cc: Likewise.
  90. * src/base/digitseq/cl_DS_trandom.cc: Likewise.
  91. * src/complex/input/cl_N_read.cc: Likewise.
  92. * src/complex/transcendental/cl_C_asinh_aux.cc: Likewise.
  93. * src/complex/transcendental/cl_C_expt_C.cc: Likewise.
  94. * src/float/cl_F.h: Likewise.
  95. * src/float/conv/cl_F_from_F_f.cc: Likewise.
  96. * src/float/conv/cl_F_from_I_f.cc: Likewise.
  97. * src/float/conv/cl_F_from_RA_f.cc: Likewise.
  98. * src/float/dfloat/conv/cl_I_to_double.cc: Likewise.
  99. * src/float/dfloat/conv/cl_RA_to_double.cc: Likewise.
  100. * src/float/dfloat/elem/cl_DF_from_I.cc: Likewise.
  101. * src/float/dfloat/elem/cl_DF_from_RA.cc: Likewise.
  102. * src/float/dfloat/elem/cl_DF_scale.cc: Likewise.
  103. * src/float/dfloat/misc/cl_DF_digits.cc: Likewise.
  104. * src/float/dfloat/misc/cl_DF_precision.cc: Likewise.
  105. * src/float/elem/cl_F_scale.cc: Likewise.
  106. * src/float/ffloat/conv/cl_I_to_float.cc: Likewise.
  107. * src/float/ffloat/conv/cl_RA_to_float.cc: Likewise.
  108. * src/float/ffloat/elem/cl_FF_from_I.cc: Likewise.
  109. * src/float/ffloat/elem/cl_FF_from_RA.cc: Likewise.
  110. * src/float/ffloat/elem/cl_FF_scale.cc: Likewise.
  111. * src/float/ffloat/misc/cl_FF_digits.cc: Likewise.
  112. * src/float/ffloat/misc/cl_FF_precision.cc: Likewise.
  113. * src/float/input/cl_F_read.cc: Likewise.
  114. * src/float/lfloat/algebraic/cl_LF_sqrt.cc: Likewise.
  115. * src/float/lfloat/elem/cl_LF_1plus.cc: Likewise.
  116. * src/float/lfloat/elem/cl_LF_I_div.cc: Likewise.
  117. * src/float/lfloat/elem/cl_LF_I_mul.cc: Likewise.
  118. * src/float/lfloat/elem/cl_LF_div.cc: Likewise.
  119. * src/float/lfloat/elem/cl_LF_from_I.cc: Likewise.
  120. * src/float/lfloat/elem/cl_LF_from_RA.cc: Likewise.
  121. * src/float/lfloat/elem/cl_LF_fround.cc: Likewise.
  122. * src/float/lfloat/elem/cl_LF_ftrunc.cc: Likewise.
  123. * src/float/lfloat/elem/cl_LF_futrunc.cc: Likewise.
  124. * src/float/lfloat/elem/cl_LF_scale.cc: Likewise.
  125. * src/float/lfloat/elem/cl_LF_to_I.cc: Likewise.
  126. * src/float/lfloat/misc/cl_LF_digits.cc: Likewise.
  127. * src/float/lfloat/misc/cl_LF_idecode.cc: Likewise.
  128. * src/float/lfloat/misc/cl_LF_leninc.cc: Likewise.
  129. * src/float/lfloat/misc/cl_LF_lenincx.cc: Likewise.
  130. * src/float/lfloat/misc/cl_LF_precision.cc: Likewise.
  131. * src/float/lfloat/misc/cl_LF_shortenrel.cc: Likewise.
  132. * src/float/lfloat/misc/cl_LF_shortenwith.cc: Likewise.
  133. * src/float/misc/cl_F_digits.cc: Likewise.
  134. * src/float/misc/cl_F_epsneg.cc: Likewise.
  135. * src/float/misc/cl_F_epspos.cc: Likewise.
  136. * src/float/misc/cl_F_leastneg.cc: Likewise.
  137. * src/float/misc/cl_F_leastpos.cc: Likewise.
  138. * src/float/misc/cl_F_mostneg.cc: Likewise.
  139. * src/float/misc/cl_F_mostpos.cc: Likewise.
  140. * src/float/misc/cl_F_precision.cc: Likewise.
  141. * src/float/misc/cl_F_rational.cc: Likewise.
  142. * src/float/misc/cl_F_shortenrel.cc: Likewise.
  143. * src/float/output/cl_F_dprint.cc: Likewise.
  144. * src/float/random/cl_F_random.cc: Likewise.
  145. * src/float/sfloat/elem/cl_SF_from_I.cc: Likewise.
  146. * src/float/sfloat/elem/cl_SF_from_RA.cc: Likewise.
  147. * src/float/sfloat/elem/cl_SF_scale.cc: Likewise.
  148. * src/float/sfloat/misc/cl_SF_digits.cc: Likewise.
  149. * src/float/sfloat/misc/cl_SF_precision.cc: Likewise.
  150. * src/float/transcendental/cl_F_atanhx.cc: Likewise.
  151. * src/float/transcendental/cl_F_atanx.cc: Likewise.
  152. * src/float/transcendental/cl_F_catalanconst_f.cc: Likewise.
  153. * src/float/transcendental/cl_F_cos.cc: Likewise.
  154. * src/float/transcendental/cl_F_cosh.cc: Likewise.
  155. * src/float/transcendental/cl_F_coshsinh.cc: Likewise.
  156. * src/float/transcendental/cl_F_cossin.cc: Likewise.
  157. * src/float/transcendental/cl_F_eulerconst_f.cc: Likewise.
  158. * src/float/transcendental/cl_F_exp1_f.cc: Likewise.
  159. * src/float/transcendental/cl_F_expx.cc: Likewise.
  160. * src/float/transcendental/cl_F_ln10_f.cc: Likewise.
  161. * src/float/transcendental/cl_F_ln2_f.cc: Likewise.
  162. * src/float/transcendental/cl_F_lnx.cc: Likewise.
  163. * src/float/transcendental/cl_F_pi_f.cc: Likewise.
  164. * src/float/transcendental/cl_F_sin.cc: Likewise.
  165. * src/float/transcendental/cl_F_sinh.cc: Likewise.
  166. * src/float/transcendental/cl_F_sinhx.cc: Likewise.
  167. * src/float/transcendental/cl_F_sinx.cc: Likewise.
  168. * src/float/transcendental/cl_F_tran.h: Likewise.
  169. * src/float/transcendental/cl_F_zeta_int_f.cc: Likewise.
  170. * src/float/transcendental/cl_LF_atan_recip.cc: Likewise.
  171. * src/float/transcendental/cl_LF_atanh_recip.cc: Likewise.
  172. * src/float/transcendental/cl_LF_catalanconst.cc: Likewise.
  173. * src/float/transcendental/cl_LF_coshsinh_aux.cc: Likewise.
  174. * src/float/transcendental/cl_LF_cossin_aux.cc: Likewise.
  175. * src/float/transcendental/cl_LF_eulerconst.cc: Likewise.
  176. * src/float/transcendental/cl_LF_exp1.cc: Likewise.
  177. * src/float/transcendental/cl_LF_exp_aux.cc: Likewise.
  178. * src/float/transcendental/cl_LF_pi.cc: Likewise.
  179. * src/float/transcendental/cl_LF_ratseries.cc: Likewise.
  180. * src/float/transcendental/cl_LF_ratseries_.cc: Likewise.
  181. * src/float/transcendental/cl_LF_ratseries_a.cc: Likewise.
  182. * src/float/transcendental/cl_LF_ratseries_ab.cc: Likewise.
  183. * src/float/transcendental/cl_LF_ratseries_b.cc: Likewise.
  184. * src/float/transcendental/cl_LF_ratseries_p.cc: Likewise.
  185. * src/float/transcendental/cl_LF_ratseries_pa.cc: Likewise.
  186. * src/float/transcendental/cl_LF_ratseries_pab.cc: Likewise.
  187. * src/float/transcendental/cl_LF_ratseries_pb.cc: Likewise.
  188. * src/float/transcendental/cl_LF_ratseries_pq.cc: Likewise.
  189. * src/float/transcendental/cl_LF_ratseries_pqa.cc: Likewise.
  190. * src/float/transcendental/cl_LF_ratseries_pqab.cc: Likewise.
  191. * src/float/transcendental/cl_LF_ratseries_pqb.cc: Likewise.
  192. * src/float/transcendental/cl_LF_ratseries_q.cc: Likewise.
  193. * src/float/transcendental/cl_LF_ratseries_qa.cc: Likewise.
  194. * src/float/transcendental/cl_LF_ratseries_qab.cc: Likewise.
  195. * src/float/transcendental/cl_LF_ratseries_qb.cc: Likewise.
  196. * src/float/transcendental/cl_LF_ratseries_stream_pq.cc: Likewise.
  197. * src/float/transcendental/cl_LF_ratseries_stream_pqa.cc: Likewise.
  198. * src/float/transcendental/cl_LF_ratseries_stream_pqab.cc: Likewise.
  199. * src/float/transcendental/cl_LF_ratseries_stream_pqb.cc: Likewise.
  200. * src/float/transcendental/cl_LF_ratsumseries_pqcd.cc: Likewise.
  201. * src/float/transcendental/cl_LF_ratsumseries_pqcd_aux.cc: Likewise.
  202. * src/float/transcendental/cl_LF_ratsumseries_pqd.cc: Likewise.
  203. * src/float/transcendental/cl_LF_ratsumseries_pqd_aux.cc: Likewise.
  204. * src/float/transcendental/cl_LF_tran.h: Likewise.
  205. * src/float/transcendental/cl_LF_zeta3.cc: Likewise.
  206. * src/float/transcendental/cl_LF_zeta_int.cc: Likewise.
  207. * src/integer/algebraic/cl_I_rootp_I.cc: Likewise.
  208. * src/integer/algebraic/cl_I_rootp_aux.cc: Likewise.
  209. * src/integer/bitwise/cl_I_ash.cc: Likewise.
  210. * src/integer/bitwise/cl_I_ash_I.cc: Likewise.
  211. * src/integer/bitwise/cl_I_byte.h: Likewise.
  212. * src/integer/bitwise/cl_I_fullbyte.cc: Likewise.
  213. * src/integer/bitwise/cl_I_ilength.cc: Likewise.
  214. * src/integer/bitwise/cl_I_ldb.cc: Likewise.
  215. * src/integer/bitwise/cl_I_ldbtest.cc: Likewise.
  216. * src/integer/bitwise/cl_I_ldbx.cc: Likewise.
  217. * src/integer/bitwise/cl_I_ldbxtest.cc: Likewise.
  218. * src/integer/bitwise/cl_I_logbitp.cc: Likewise.
  219. * src/integer/bitwise/cl_I_logbitp_I.cc: Likewise.
  220. * src/integer/bitwise/cl_I_logcount.cc: Likewise.
  221. * src/integer/bitwise/cl_I_mkf.cc: Likewise.
  222. * src/integer/bitwise/cl_I_mkfx.cc: Likewise.
  223. * src/integer/cl_I.h: Likewise.
  224. * src/integer/conv/cl_I_to_digits.cc: Likewise.
  225. * src/integer/conv/cl_I_digits_need.cc: Likewise.
  226. * src/integer/conv/cl_I_from_digits.cc: Likewise.
  227. * src/integer/gcd/cl_I_gcd.cc: Likewise.
  228. * src/integer/gcd/cl_I_xgcd.cc: Likewise.
  229. * src/integer/misc/cl_I_eqhashcode.cc: Likewise.
  230. * src/integer/misc/cl_I_ord2.cc: Likewise.
  231. * src/integer/misc/cl_I_power2p.cc: Likewise.
  232. * src/integer/output/cl_I_cached_power.h (cached_power_table): allow
  233. for 40 elements.
  234. * src/integer/output/cl_I_decstring.cc: Use uintC instead of uintL
  235. where appropriate.
  236. * src/integer/output/cl_I_print.cc: Likewise.
  237. * src/integer/output/cl_I_print_string.cc: Likewise.
  238. * src/modinteger/cl_MI.cc: Likewise.
  239. * src/modinteger/cl_MI_lshift.cc: Likewise.
  240. * src/modinteger/cl_MI_montgom.h: Likewise.
  241. * src/modinteger/cl_MI_pow2.h: Likewise.
  242. * src/modinteger/cl_MI_pow2m1.h: Likewise.
  243. * src/modinteger/cl_MI_pow2p1.h: Likewise.
  244. * src/modinteger/cl_MI_rshift.cc: Likewise.
  245. * src/modinteger/cl_MI_std.h: Likewise.
  246. * src/numtheory/cl_IF_millerrabin.cc: Likewise.
  247. * src/numtheory/cl_nt_isprobprime.cc: Likewise.
  248. * src/numtheory/cl_nt_sqrtmodp.cc: Likewise.
  249. * src/polynomial/elem/cl_UP_GF2.h: Likewise.
  250. * src/real/conv/cl_F_from_R_f.cc: Likewise.
  251. * src/real/format-output/cl_fmt_floatstring.cc: Likewise.
  252. * src/real/input/cl_R_read.cc: Likewise.
  253. * src/vector/cl_GV_I.cc: Likewise.
  254. * src/vector/cl_GV_I_copy.cc: Likewise.
  255. * src/vector/cl_GV_number.cc: Likewise.
  256. * src/vector/cl_GV_number_copy.cc: Likewise.
  257. * src/vector/cl_SV_copy.cc: Likewise.
  258. * src/vector/cl_SV_number.cc: Likewise.
  259. * src/vector/cl_SV_ringelt.cc: Likewise.
  260. * tests/main.cc: Likewise.
  261. * tests/test_I_ilength.cc: Likewise.
  262. * tests/test_I_ord2.cc: Likewise.
  263. 2006-04-19 Bruno Haible <bruno@clisp.org>
  264. Prepare for autoconf-2.60.
  265. * general.m4 (CL_CC_WORKS): Include <stdlib.h>, for exit() declaration.
  266. * longdouble.m4 (CL_LONGDOUBLE): Likewise.
  267. * longlong.m4 (CL_LONGLONG): Likewise.
  268. * times.m4 (CL_TIMES_CLOCK): Likewise.
  269. Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
  270. 2005-12-04 Bruno Haible <bruno@clisp.org>
  271. * src/integer/conv/cl_I_to_digits.cc (I_to_digits_noshrink): Set
  272. erg->len at the end.
  273. 2005-12-04 Bruno Haible <bruno@clisp.org>
  274. Extend the fixnum range from 32 bits to 61 bits on 64-bit platforms.
  275. * doc/cln.tex (gcd, jacobi): Take 'long' instead of 'int32' arguments.
  276. * include/cln/object.h (cl_value_shift): Define as 3, not 32, in the
  277. 64-bit case.
  278. * include/cln/types.h (intVsize): New macro.
  279. (sintV, uintV): New types.
  280. * include/cln/integer.h (gcd): Take uintV arguments.
  281. * include/cln/numtheory.h (jacobi): Take sintV arguments.
  282. * src/complex/input/cl_N_read.cc (read_complex): Call FN_to_UV instead
  283. of FN_to_UL.
  284. * src/complex/transcendental/cl_C_expt_C.cc: Likewise.
  285. * src/float/dfloat/elem/cl_DF_scale_I.cc: Use uintV instead of uintL
  286. * src/float/dfloat/elem/cl_DF_from_RA.cc: Don't assume values >= 2^53
  287. and < 2^55 are always bignums.
  288. where appropriate.
  289. * src/float/ffloat/conv/cl_RA_to_float.cc: Call FN_to_UV instead of
  290. FN_to_UL.
  291. * src/float/ffloat/elem/cl_FF_from_RA.cc: Likewise.
  292. * src/float/ffloat/elem/cl_FF_scale_I.cc: Call FN_to_V instead of
  293. FN_to_L.
  294. * src/float/lfloat/elem/cl_LF_scale_I.cc: Likewise.
  295. * src/float/output/cl_F_dprint.cc: Likewise.
  296. * src/float/sfloat/elem/cl_SF_from_RA.cc: Call FN_to_UV instead of
  297. FN_to_UL.
  298. * src/float/sfloat/elem/cl_SF_scale_I.cc: Call FN_to_V instead of
  299. FN_to_L.
  300. * src/integer/cl_I.h (FN_to_UV): Renamed from FN_to_UL, change return
  301. type.
  302. (FN_to_V): Renamed from FN_to_L, change return type.
  303. (FN_V_zerop): Renamed from FN_L_zerop.
  304. (FN_V_minusp): Renamed from FN_L_minusp.
  305. (cl_I_constructor_from_L2, cl_I_constructor_from_UL2): Define as an
  306. inline function on 64-bit platforms.
  307. (V_to_I, UV_to_I): New macros.
  308. (pFN_maxlength_digits_at): Return an uintV instead of an uint32.
  309. (set_pFN_maxlength_digits_at): Take an uintV instead of an uint32.
  310. * src/integer/algebraic/cl_I_sqrtp.cc: Call FN_to_UV instead of
  311. FN_to_UL.
  312. * src/integer/bitwise/cl_I_ash_I.cc: Call FN_to_V instead of FN_to_L.
  313. * src/integer/bitwise/cl_I_ilength.cc: Likewise.
  314. * src/integer/bitwise/cl_I_log_aux.cc: Likewise.
  315. * src/integer/bitwise/cl_I_logbitp_I.cc: Likewise.
  316. * src/integer/bitwise/cl_I_logcount.cc: Likewise.
  317. * src/integer/bitwise/cl_I_logtest.cc: Likewise.
  318. * src/integer/conv/cl_I_from_L2.cc: Don't produce code on 64-bit
  319. platforms.
  320. * src/integer/conv/cl_I_from_UL2.cc: Likewise.
  321. * src/integer/conv/cl_I_from_NDS.cc: Update.
  322. * src/integer/conv/cl_I_from_Q.cc: Remove cast to sint32.
  323. * src/integer/conv/cl_I_from_UQ.cc: Remove cast to uint32.
  324. * src/integer/conv/cl_I_to_L.cc: Check again fixnum that needs more
  325. than 32 bits.
  326. * src/integer/conv/cl_I_to_Q.cc: Call FN_to_V instead of FN_to_L.
  327. * src/integer/conv/cl_I_to_UL.cc: Likewise.
  328. * src/integer/conv/cl_I_to_UQ.cc: Likewise.
  329. * src/integer/elem/cl_I_div.cc: Treat fixnums that need more than 32
  330. bits like bignums.
  331. * src/integer/elem/cl_I_minus.cc: Call FN_to_V instead of FN_to_L.
  332. * src/integer/elem/cl_I_mul.cc: Likewise.
  333. * src/integer/elem/cl_I_plus.cc: Likewise.
  334. * src/integer/elem/cl_I_square.cc: Likewise.
  335. * src/integer/elem/cl_I_uminus.cc: Likewise.
  336. * src/integer/gcd/cl_I_gcd.cc: Likewise.
  337. * src/integer/gcd/cl_low_gcd.cc (gcd): Take uintV arguments.
  338. * src/integer/hash/cl_I_hashcode.cc: Call FN_to_V instead of FN_to_L.
  339. * src/integer/input/cl_I_read.cc (read_integer): Call FN_to_UV instead
  340. of FN_to_UL.
  341. * src/integer/misc/cl_I_ord2.cc (ord2): Call ord2_64 on 64-bit
  342. platforms.
  343. * src/integer/misc/cl_I_power2p.cc: Call FN_to_UV instead of FN_to_UL.
  344. * src/integer/misc/combin/cl_I_doublefactorial.cc (doublefakul_table):
  345. Extend table for larger fixnums.
  346. (doublefactorial): Update.
  347. * src/integer/misc/combin/cl_I_factorial.cc (fakul_table): Extend table
  348. for larger fixnums.
  349. (factorial): Update.
  350. * src/modinteger/cl_MI_fix16.h: Call FN_to_UV instead of FN_to_UL.
  351. * src/modinteger/cl_MI_fix29.h: Likewise.
  352. * src/modinteger/cl_MI_fix32.h: Likewise.
  353. * src/modinteger/cl_MI_std.h: Likewise.
  354. * src/numtheory/cl_nt_cornacchia4.cc: Call FN_to_V instead of FN_to_L.
  355. * src/numtheory/cl_nt_jacobi.cc: Likewise.
  356. * src/numtheory/cl_nt_jacobi_low.cc (jacobi_aux): Take uintV arguments
  357. instead of uint32 arguments.
  358. (jacobi): Take sintV argument instead of a sint32 argument.
  359. * src/rational/input/cl_RA_read.cc: Call FN_to_UV instead of FN_to_UL.
  360. * src/real/input/cl_R_read.cc: Likewise.
  361. * src/vector/cl_GV_I.cc: Likewise.
  362. * tests/timefact.cc: Call FN_to_V instead of FN_to_L.
  363. 2005-12-04 Bruno Haible <bruno@clisp.org>
  364. More complete 64-bit division macros.
  365. * src/base/cl_low.h (divu_6432_3232_w): Choose a different macro
  366. expansion on x86_64.
  367. (divu_6432_6432): New macro.
  368. (divu_6464_6464): Choose a different macro expansion for all CPUs
  369. except sparc64 and x86_64.
  370. (divu_12864_6464): Define NEED_VAR_divu_64_rest here.
  371. * src/base/low/cl_low_div.cc (divu_64_rest): Avoid defining it twice.
  372. (divu_6464_6464_): New function.
  373. 2005-12-04 Bruno Haible <bruno@clisp.org>
  374. * src/base/cl_low.h (ord2_64): New macro.
  375. 2005-12-02 Bruno Haible <bruno@clisp.org>
  376. * src/base/cl_low.h (mulu64) [x86_64]: Change asm restriction, since
  377. mulq doesn't accept immediate arguments.
  378. 2005-11-26 Bruno Haible <bruno@clisp.org>
  379. * src/base/cl_low.h (GENERIC_INTEGERLENGTH32): New macro.
  380. (integerlength64): Define using integerlength32 if integerlength32
  381. is not defined generically.
  382. 2005-11-26 Bruno Haible <bruno@clisp.org>
  383. * src/base/cl_low.h (mulu32) [SPARC64]: Remove rd instruction, since
  384. umul returns the complete 64-bit product in a register.
  385. (mulu32_w) [SPARC64]: Prefer umul over mulx instruction.
  386. (divu_6432_3232_w) [SPARC64]: Prefer umul/udiv over mulx/udivx
  387. instructions.
  388. 2005-11-26 Bruno Haible <bruno@clisp.org>
  389. * src/base/cl_low.h (divu_3216_1616): Prepend underscore to local
  390. variables.
  391. 2005-11-26 Bruno Haible <bruno@clisp.org>
  392. * src/base/cl_low.h (ord2_32): Parenthesize macro argument.
  393. 2005-12-17 Richard B. Kreckel <kreckel@ginac.de>
  394. * Created branch cln_1-1 for maintenance patches.
  395. This is the main branch, which will eventually become CLN 1.2.0.
  396. 2005-12-15 Dmitry V. Kustov <kustov@telex221.ru>
  397. * src/base/random/cl_random_from.cc: Add support for OpenBSD.
  398. 2005-11-23 Richard B. Kreckel <kreckel@ginac.de>
  399. * Version 1.1.11 released.
  400. 2005-11-20 Richard B. Kreckel <kreckel@ginac.de>
  401. * src/integer/conv/cl_I_cached_power.h: New file.
  402. * src/integer/conv/cl_I_cached_power.cc: New file.
  403. Contains power_table and cached_power_table previously...
  404. * src/integer/conv/cl_I_to_digits.cc: ...here.
  405. * src/integer/conv/cl_I_from_digits.cc: Use cached powers.
  406. 2005-11-02 Richard B. Kreckel <kreckel@ginac.de>
  407. * src/integer/conv/cl_I_from_digits.cc: Made input of all numbers in
  408. non-power-of-two base much faster.
  409. * tests/test_I_io.cc: New file...
  410. * tests/Makefile.in, tests/test_I.cc: ...used here.
  411. 2005-10-22 Richard B. Kreckel <kreckel@ginac.de>
  412. * Version 1.1.10 released.
  413. 2005-10-22 Richard B. Kreckel <kreckel@ginac.de>
  414. * src/Makefile.in: Accept CPPFLAGS from environment.
  415. * examples/Makefile.in: Likewise.
  416. * benchmarks/Makefile.in: Likewise.
  417. * tests/Makefile.in: Likewise.
  418. 2005-08-30 Richard B. Kreckel <kreckel@ginac.de>
  419. * include/cln/modules.h (CL_OUTPUT_LABEL): Work around redundant
  420. duplication of basic blocks on m68k.
  421. 2005-08-30 Richard B. Kreckel <kreckel@ginac.de>
  422. * include/cln/modules.h (CL_JUMP_TO): Fix mips* brokenness.
  423. 2005-08-27 Bruno Haible <bruno@clisp.org>
  424. Split aclocal.m4 into individual files.
  425. * m4/alloca.m4, m4/as-underscore.m4, m4/c++-constructors.m4:
  426. * m4/fpu_control.m4, m4/general.m4, m4/gettimeofday.m4:
  427. * m4/longdouble.m4, m4/longlong.m4, m4/param.m4, m4/perror.m4:
  428. * m4/proto.m4, m4/rusage.m4, m4/times.m4:
  429. New files, extracted from autoconf/aclocal.m4.
  430. * autoconf/aclocal.m4: m4_include them.
  431. * Makefile.devel (AUTOCONF_MACROS): New variable.
  432. (configure): Depend on it.
  433. (CLISP_M4DIR): Remove variable.
  434. (autoconf/aclocal.m4): Remove rule.
  435. 2005-08-27 Bruno Haible <bruno@clisp.org>
  436. * src/integer/bitwise/cl_I_ash_I.cc (ash): Avoid shifting a 32-bit
  437. zero value by more than 31 bits.
  438. 2005-08-27 Bruno Haible <bruno@clisp.org>
  439. Make the long-float overflow check work on 64-bit platforms.
  440. * src/float/lfloat/cl_LF.h (LF_exp_mid, LF_exp_high): Define as
  441. 'unsigned int', not 'unsigned long'.
  442. 2005-08-27 Bruno Haible <bruno@clisp.org>
  443. * include/cln/modules.h (CL_OUTPUT_LABEL): Work around redundant
  444. duplication of basic blocks by g++ 4.0.
  445. See <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23345>.
  446. 2005-08-27 Bruno Haible <bruno@clisp.org>
  447. Make it possible to cross-compile CLN.
  448. * m4/intparam.m4: New file.
  449. * m4/floatparam.m4: New file.
  450. * autoconf/aclocal.m4: Include both.
  451. (CL_MACHINE): Add an additional CROSS_MACRO parameter.
  452. * configure.ac (CL_MACHINE): When cross-compiling, use
  453. CL_INTPARAM_CROSS and CL_FLOATPARAM_CROSS.
  454. 2005-08-27 Bruno Haible <bruno@clisp.org>
  455. Define HAVE_LONGLONG and HAVE_LONGDOUBLE when cross-compiling.
  456. * autoconf/aclocal.m4 (CL_LONGLONG, CL_LONGDOUBLE): When cross-
  457. compiling, use the test code from gnulib.
  458. 2005-08-27 Bruno Haible <bruno@clisp.org>
  459. * autoconf/aclocal.m4 (CL_RUSAGE): Fix error when cross-compiling.
  460. 2005-08-16 Richard B. Kreckel <kreckel@ginac.de>
  461. The patch of 2005-05-01 made it impossible to test the type of a cl_UP
  462. by comparing with &cl_class_univpoly_ring. We need an alternative:
  463. * include/cln/object.h (cl_class_flags_modint_ring): New #define...
  464. * src/polynomial/elem/cl_UP.cc (cl_class_univpoly_ring): ...used here.
  465. * src/polynomial/elem/cl_UP_GF2.h: Likewise.
  466. * src/polynomial/elem/cl_UP_MI.h: Likewise.
  467. * src/polynomial/elem/cl_UP_gen.h: Likewise.
  468. * src/polynomial/elem/cl_UP_number.h: Likewise.
  469. 2005-08-15 Richard B. Kreckel <kreckel@ginac.de>
  470. * m4/cc.m4 (CL_AS_NOEXECSTACK): New macro...
  471. * configure.ac: ...used here for setting ASMFLAGS...
  472. * src/Makefile.in: ...which are used here.
  473. 2005-08-02 Andreas Jochens <aj@andaco.de>
  474. * include/cln/config.h.in: Add support for PowerPC 64 CPU.
  475. * include/cln/modules.h: Likewise.
  476. * include/cln/object.h: Likewise.
  477. * include/cln/types.h: Likewise.
  478. 2005-07-24 Richard B. Kreckel <kreckel@ginac.de>
  479. Make out of the box build on x86_64 system with complete 32 bit
  480. userland possible
  481. * include/cln/config.h.in: Don't #define __x86_64__ when
  482. __i386__ is defined.
  483. * src/base/digitseq/cl_asm_x86_64_.cc: New file.
  484. * doc/cln.tex: Revert workaround description introduced 2005-05-02.
  485. 2005-06-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  486. * Makefile.in: Don't enter nonexisting directories.
  487. 2005-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  488. Speed up the linking step
  489. * src/Makefile.in: Use -objectlist for linking libcln.la.
  490. 2005-05-15 Richard B. Kreckel <kreckel@ginac.de>
  491. * autoconf/ltmain.sh: Upgrade to libtool-1.5.16.
  492. * m4/libtool.m4: Upgrade to libtool-1.5.16 (without Comeau patch).
  493. 2005-05-02 Richard B. Kreckel <kreckel@ginac.de>
  494. * doc/cln.tex: Document what to do on a x86_64 machine with 32-bit
  495. userland.
  496. 2005-05-01 Richard B. Kreckel <kreckel@ginac.de>
  497. Fix crashes in find_univpoly_ring and related functions
  498. * include/cln/modinteger.h: Remove vptr from cl_heap_modint_ring;
  499. remove declaration of cl_class cl_class_modint_ring.
  500. * include/cln/univpoly.h: Remove vptr from cl_heap_univpoly_ring;
  501. remove declaration of cl_class_univpoly_ring.
  502. * include/cln/object.h: cl_class_flags_modint_ring: New #define...
  503. * src/modinteger/cl_MI.cc: ...used in cl_class_modint_ring.
  504. * src/modinteger/cl_MI_fix16.h: No vptr, but static dtor and type flag.
  505. * src/modinteger/cl_MI_fix29.h: Likewise.
  506. * src/modinteger/cl_MI_fix32.h: Likewise.
  507. * src/modinteger/cl_MI_int32.h: Likewise.
  508. * src/modinteger/cl_MI_montgom.h: Likewise.
  509. * src/modinteger/cl_MI_pow2: Likewise.
  510. * src/modinteger/cl_MI_pow2m1.h: Likewise.
  511. * src/modinteger/cl_MI_pow2p1.h: Likewise.
  512. * src/modinteger/cl_MI_std.h: Likewise.
  513. * src/polynomial/elem/cl_UP.cc (cl_make_univpoly_ring): Compare with
  514. cl_class_flags_modint_ring, not with cl_class_modint_ring.
  515. * src/polynomial/elem/cl_UP_GF2.h (cl_class_num_univpoly_ring): New.
  516. * src/polynomial/elem/cl_UP_MI.h (cl_class_modint_univpoly_ring): New.
  517. * src/polynomial/elem/cl_UP_gen.h (cl_class_gen_univpoly_ring): New.
  518. * src/polynomial/elem/cl_UP_number.h (cl_class_num_univpoly_ring): New.
  519. Reported by Ralf Goertz <R_Goertz@web.de>.
  520. 2005-04-29 Richard B. Kreckel <kreckel@ginac.de>
  521. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  522. * m4/cc.m4: Emit a warning if g++ is used and optimization turned off.
  523. 2005-04-24 Richard B. Kreckel <kreckel@ginac.de>
  524. Make GCC compiler flags default to -O
  525. * m4/cc.m4: New file...
  526. * configure.ac: ...used here.
  527. * autoconf/aclocal.m4: Regenerate.
  528. 2005-04-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  529. * include/cln/string.h: Declare cl_string.
  530. 2005-03-17 Richard B. Kreckel <kreckel@ginac.de>
  531. * autoconf/ltmain.sh: Upgrade to libtool-1.5.14.
  532. * m4/libtool.m4: Upgrade to libtool-1.5.14 with Comeau patch.
  533. * autoconf/aclocal.m4: Regenerate.
  534. 2005-03-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  535. * src/Makefile.in: Use $CXX instead of $CC when linking.
  536. 2005-02-27 Richard B. Kreckel <kreckel@ginac.de>
  537. * examples/perfnum.cc: update to presumed 42st Mersenne prime.
  538. 2004-11-28 Richard B. Kreckel <kreckel@ginac.de>
  539. Disambiguate binary operators of CLN types with float/double
  540. * include/cln/dfloat.h: Add binary operator overloads for arguments of
  541. type double.
  542. * include/cln/ffloat.h: Likewise, for arguments of type float.
  543. * include/cln/float.h: Likewise, both for arguments of types double and
  544. float.
  545. * include/cln/real.h: Likewise.
  546. Reported by Isidro Cachadiña Gutiérrez <icacha@unex.es>.
  547. 2004-11-03 Richard B. Kreckel <kreckel@ginac.de>
  548. * Version 1.1.9 released.
  549. 2004-10-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  550. * src/Makefile.in: Let config.status set LDFLAGS.
  551. 2004-10-27 Peter Breitenlohner <peb@mppmu.mpg.de>
  552. * cln.pc.in: Fix typo.
  553. * Makefile.in (INSTALL_SCRIPT): Added, to be used for scripts like
  554. cln-config. Allows us to do special things to binaries, like
  555. installing them with install -s.
  556. * doc/Makefile.in: add/remove the cln.info from the installed
  557. $(infodir)/dir unless this is debian install-info (code copied from
  558. what GNU automake would produce).
  559. 2004-10-26 Richard B. Kreckel <kreckel@ginac.de>
  560. * src/integer/input/cl_I_read_stream.cc (read_integer): Fix a bug
  561. that caused radix specifiers to not work when reading from a stream.
  562. * src/rational/input/cl_RA_read_stream.cc (read_rational): Likewise.
  563. * src/real/input/cl_R_read_stream.cc (read_real): Likewise.
  564. * src/float/input/cl_F_read_stream.cc (read_float): Likewise.
  565. * src/complex/input/cl_N_read_stream.cc (read_complex): Likewise.
  566. 2004-10-25 Richard B. Kreckel <kreckel@ginac.de>
  567. * src/base/cl_low.h: Add mulu64 assembler macro for ia64.
  568. 2004-10-24 Richard B. Kreckel <kreckel@ginac.de>
  569. * src/base/cl_low.h: Add mul and div macros for x86_64.
  570. 2004-10-23 Richard B. Kreckel <kreckel@ginac.de>
  571. * src/integer/conv/cl_I_from_digits.cc (digits_to_I): Fix thinko in
  572. new code for base power of two.
  573. 2004-10-22 Richard B. Kreckel <kreckel@ginac.de>
  574. * src/integer/conv/cl_I_to_digits (I_to_digits): Fix an elusive stack
  575. overwriting problem. That was the real cause for Debian bug#246319.
  576. * src/integer/output/cl_I_print.cc (print_integer): Revert workaround
  577. for the bug fixed above.
  578. 2004-10-20 Richard B. Kreckel <kreckel@ginac.de>
  579. * include/cln/types.h: Use 64 bit digits on x86_64 CPU.
  580. 2004-10-12 Richard B. Kreckel <kreckel@ginac.de>
  581. * src/integer/conv/cl_I_from_digits.cc (digits_to_I): Speedup when
  582. the base is a power of two.
  583. 2004-10-05 Richard B. Kreckel <kreckel@ginac.de>
  584. * src/integer/conv/cl_I_to_digits.cc (I_to_digits): Fix bug in base 32.
  585. 2004-09-27 Richard B. Kreckel <kreckel@ginac.de>
  586. Support for little-endian Mips, second shot
  587. * src/base/digitseq/cl_asm_mipsel_.cc: New file...
  588. * src/base/digitseq/cl_asm_cc: ...used here.
  589. * src/base/digitseq/cl_asm.h: Include cl_asm_mips.h for any endianness.
  590. * include/cln/object.h: Set alignment for mipsel explicitly.
  591. 2004-09-05 Richard B. Kreckel <kreckel@ginac.de>
  592. Support for little-endian Mips
  593. * include/cln/config.h.in: Add __mipsel__.
  594. * include/cln/modules.h: For Mips, this is endianness-agnostic.
  595. * src/base/digitseq/cl_asm_.cc, src/base/digitseq/cl_asm.h:
  596. Mask out assembler for little-endian Mips.
  597. 2004-08-30 Bruno Haible <bruno@clisp.org>
  598. * benchmarks/timebench2.sh: Multiply all repeat counts by 100.
  599. * benchmarks/timebench2.results: Add recent PowerPC G4 results.
  600. 2004-08-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  601. * examples/e.cc: remove extra semicolon.
  602. 2004-08-25 Bruno Haible <bruno@clisp.org>
  603. * autoconf/ltmain.sh: Upgrade to libtool-1.5.6.
  604. * m4/libtool.m4: New file, from libtool-1.5.6 with modifications:
  605. 2004-08-22 Bruno Haible <bruno@clisp.org>
  606. * m4/libtool.m4: Add support for Comeau C++ on Linux.
  607. Reported by Prof. Roberto Bagnara <bagnara@cs.unipr.it>.
  608. * autoconf/aclocal.m4: Regenerate.
  609. 2004-08-19 Bruno Haible <bruno@clisp.org>
  610. * include/cln/modules.h (CL_GLOBALIZE_JUMP_LABEL, CL_JUMP_TO): When
  611. converting a label to a string, use ASM_UNDERSCORE_PREFIX. Needed on
  612. MacOS X.
  613. Reported by Darren Bane <darren.bane@ul.ie>.
  614. 2004-07-01 Richard B. Kreckel <kreckel@ginac.de>
  615. * Version 1.1.8 released.
  616. 2004-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  617. * src/base/cl_macros.h: alloca(3) has size_t argument type.
  618. 2004-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  619. * include/cln/floatformat.h: Do define a type here.
  620. 2004-06-27 Richard B. Kreckel <kreckel@ginac.de>
  621. * include/cln/modules.h (CL_JUMP_TO): Fix AMD64 brokenness.
  622. 2004-06-23 Bruno Haible <bruno@clisp.org>
  623. * configure.ac: Pretend ftime() is not available. Needed by
  624. CL_TIMES_CLOCK.
  625. 2004-06-21 Ralf Stephan <ralf@ark.in-berlin.de>
  626. * doc/cln.tex: Document jacobi, isprobprime and nextprobprime.
  627. 2004-06-18 Richard B. Kreckel <kreckel@ginac.de>
  628. * rational/transcendental/cl_RA_logp.cc: fix bug where base is
  629. reciprocal of an integer.
  630. Reported by Niklas Knutsson <nq@altern.org>.
  631. 2004-06-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  632. * src/complex/ring/cl_C_ring.cc, src/integer/ring/cl_I_ring.cc,
  633. src/rational/ring/cl_RA_ring.cc, src/real/ring/cl_R_ring.cc:
  634. Make template specializations explicit.
  635. 2004-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  636. * src/complex/input/cl_N_read.cc, src/float/input/cl_F_read.cc,
  637. src/integer/input/cl_I_read.cc, src/rational/input/cl_RA_read.cc,
  638. src/real/input/cl_R_read.cc: Remove unused labels.
  639. 2004-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  640. * benchmarks/timebench1.cc, benchmarks/timebench2a.LiDIA.cc,
  641. benchmarks/timebench2a.cc, benchmarks/timebench2ap.cc,
  642. benchmarks/timebench2b.LiDIA.cc, benchmarks/timebench2b.cc,
  643. examples/atan_recip.cc, examples/atanh_recip.cc,
  644. examples/contfrac.cc, examples/e.cc, examples/legendre.cc,
  645. examples/lucaslehmer.cc, examples/pi.cc, include/cln/GV.h,
  646. include/cln/SV.h, include/cln/malloc.h, include/cln/modules.h,
  647. include/cln/object.h, include/cln/string.h, src/base/cl_abort.cc,
  648. src/base/cl_alloca.h, src/base/cl_malloc.cc,
  649. src/base/random/cl_random_from.cc,
  650. src/base/string/cl_spushstring_append.cc,
  651. src/base/string/cl_spushstring_push.cc,
  652. src/base/string/cl_st_debug.cc,
  653. src/base/string/input/cl_st_gettoken.cc,
  654. src/complex/input/cl_N_read.cc, src/float/input/cl_F_read.cc,
  655. src/float/output/cl_F_dprint.cc, src/integer/input/cl_I_read.cc,
  656. src/rational/input/cl_RA_read.cc,
  657. src/real/format-output/cl_fmt_integer.cc,
  658. src/real/format-output/cl_fmt_paddedstring.cc,
  659. src/real/input/cl_R_read.cc, src/timing/cl_t_current.cc,
  660. src/timing/cl_t_current2.cc, tests/exam.cc, tests/tests.cc,
  661. tests/timeLFRAmul.cc, tests/timeLFatan-compare.cc,
  662. tests/timeLFatan.cc, tests/timeLFatanh-compare.cc,
  663. tests/timeLFatanh.cc, tests/timeLFcos-compare.cc, tests/timeLFcos.cc,
  664. tests/timeLFcosh.cc, tests/timeLFexp-compare.cc, tests/timeLFexp.cc,
  665. tests/timeLFln-compare.cc, tests/timeLFln.cc,
  666. tests/timeLFsin-compare.cc, tests/timeLFsin.cc, tests/timeLFsinh.cc,
  667. tests/timeLFsqrt.cc, tests/timeMImisc5.cc, tests/timeMIpow2div.cc,
  668. tests/timeMIpow2recip.cc, tests/timeRALFdiv.cc, tests/timeRAtoLF.cc,
  669. tests/timeUPMImul.cc, tests/timecatalan.cc, tests/timediv.cc,
  670. tests/timediv2adic-compare.cc, tests/timediv2adic.cc,
  671. tests/timeeuler.cc, tests/timeexp1.cc, tests/timefact.cc,
  672. tests/timegcd.cc, tests/timemul-compare.cc, tests/timemul.cc,
  673. tests/timepi.cc, tests/timeprint-compare.cc, tests/timeprint.cc,
  674. tests/timerecip2adic-compare.cc, tests/timerecip2adic.cc,
  675. tests/timesqrt.cc, tests/timesqrtmodp.cc, tests/timesquare.cc,
  676. tests/timezeta3.cc: Change all C include headers to ISO style
  677. within C++ code.
  678. 2004-06-10 Richard B. Kreckel <kreckel@ginac.de>
  679. * examples/perfnum.cc: update to presumed 41st Mersenne prime.
  680. 2004-05-02 Richard B. Kreckel <kreckel@ginac.de>
  681. * Version 1.1.7 released.
  682. 2004-05-02 Richard B. Kreckel <kreckel@ginac.de>
  683. * examples/pi.cc and examples/pi.1: New files.
  684. * examples/Makefile.in: Build the pi executable.
  685. 2004-05-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  686. * src/Makefile.in: Fix for parallel build: wait for subdir objects to
  687. be finished before creating the library.
  688. 2004-04-30 Richard B. Kreckel <kreckel@ginac.de>
  689. * src/integer/output/cl_I_print.cc (print_integer): workaround
  690. GCC compiler bug (cf. Debian bug#246319).
  691. 2004-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  692. * m4/gmp.m4 (CL_GMP_CHECK): Do not lose LIBS setting with config.cache
  693. enabled.
  694. 2004-03-08 Bruno Haible <bruno@clisp.org>
  695. * src/float/lfloat/elem/cl_LF_mul.cc (operator*): Fix the second
  696. underflow condition.
  697. * src/float/lfloat/algebraic/cl_LF_sqrt.cc (sqrt): Fix a bug with large
  698. uexp whereby SQRT of MOST-POSITIVE-LONG-FLOAT was less than 1.
  699. 2004-03-04 Richard B. Kreckel <kreckel@ginac.de>
  700. * Makefile.in (install): Add ${srcdir} for cln.m4.
  701. * m4/gmp.m4: quote macro names.
  702. Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
  703. 2004-01-01 Richard B. Kreckel <kreckel@ginac.de>
  704. * Version 1.1.6 released.
  705. 2004-01-01 Richard B. Kreckel <kreckel@ginac.de>
  706. * include/cln/univpoly.h, include/cln/univpoly_complex.h,
  707. include/cln//univpoly_integer.h, include/cln/univpoly_modint.h,
  708. include/cln/univpoly_rational.h, include/cln/univpoly_real.h,
  709. src/polynomial/elem/cl_UP_GF2.h, src/polynomial/elem/cl_UP_MI.h,
  710. src/polynomial/elem/cl_UP_gen.h, src/polynomial/elem/cl_UP_no_ring.cc,
  711. src/polynomial/elem/cl_UP_number.h (ldegree): New function.
  712. * doc/cln.tex: Document `ldegree'.
  713. 2003-12-29 Richard B. Kreckel <kreckel@ginac.de>
  714. Rework of autoconfiscation infrastructure
  715. * autoconf/config.{guess,sub}: Update to GNU version 2003-10-07.
  716. * autoconf/ltmain.sh: Update to GNU version 1.4.3.
  717. * autoconf/autoconf: Remove (from now on we assume autoconf is
  718. installed properly on the sytem).
  719. * autoconf/autoconf.m4: Likewise.
  720. * autoconf/autoconf.m4f: Likewise.
  721. * autoconf/acgeneral.m4: Likewise.
  722. * autoconf/acspecific.m4: Likewise.
  723. * autoconf/aclocal.m4: Regenerate.
  724. * autoconf/acinclude.m4: Remove (while moving the macros...)
  725. * m4/gmp.m4: New file (...to here).
  726. * Makefile.devel: Update to new scheme.
  727. * configure.ac: Likewise.
  728. * include/cln/GV_integer.h: Assume template specializations work.
  729. * include/cln/GV_modinteger.h: Likewise.
  730. * include/cln/config.h.in: Likewise, and drop HAVE_BOOL.
  731. * src/base/cl_base_config.h.in: Drop support for obsolete ftime(3).
  732. * src/base/random/cl_random_from.cc: Likewise.
  733. * src/timing/cl_base_config.h.in: Likewise.
  734. * src/timing/cl_t_current.cc: Likewise.
  735. 2003-12-27 Richard B. Kreckel <kreckel@ginac.de>
  736. * src/polynomial/cl_UP_gen.h (gen_minus): Fix case where first
  737. argument is zero.
  738. * src/polynomial/cl_UP_MI.h (modint_minus): Likewise.
  739. * src/polynomial/cl_UP_number.h (num_minus): Likewise.
  740. Reported by Munagala Ramanath <amberarrow@yahoo.com>.
  741. 2003-12-02 Richard B. Kreckel <kreckel@ginac.de>
  742. * examples/perfnum.cc: update to presumed 40th Mersenne prime.
  743. 2003-11-20 Christian Bauer <cbauer@ginac.de>
  744. Added pkg-config support
  745. * cln.pc.in: New file.
  746. * Makefile.in: Take care of cln.pc.
  747. * configure.ac: Likewise.
  748. 2003-08-06 Richard B. Kreckel <kreckel@ginac.de>
  749. * src/numtheory/cl_nt_sqrtmodp.cc: #undef _R.
  750. Reported by Andrew Rechnitzer <A.Rechnitzer@ms.unimelb.edu.au>.
  751. 2003-08-01 Richard Kreckel <kreckel@ginac.de>
  752. More dependent base resolution issues
  753. * src/base/hash/cl_hash.h (cl_heap_hashtable<T>::iterator()):
  754. portable syntactic simplification.
  755. * src/base/hash/cl_hashset.h: Preceed inherited members with this->.
  756. * src/base/hash/cl_hash1.h: Likewise for member functions.
  757. * src/base/hash/cl_hash2.h: Likewise.
  758. * src/base/hash/cl_hashuniq.h: Likewise.
  759. * src/base/hash/cl_hashuniqweak.h: Likewise.
  760. * src/base/hash/cl_hash.h: Revert explicit static member function
  761. lookup since that was GCC's fault.
  762. * src/base/hash/cl_hash2weak.h: Likewise.
  763. * src/base/hash/cl_hashuniqweak.h: Likewise.
  764. 2003-06-29 Richard Kreckel <kreckel@ginac.de>
  765. Dependent base resolution needed for GCC-3.4
  766. * include/cln/GV.h: Preceed inherited members with this->.
  767. * include/cln/SV.h: Likewise.
  768. * include/cln/object.h: Likewise.
  769. * src/base/hash/cl_hash1.h: Likewise.
  770. * src/base/hash/cl_hash1weak.h: Likewise.
  771. * src/base/hash/cl_hash2.h: Likewise.
  772. * src/base/hash/cl_hashuniq.h: Likewise.
  773. * src/base/hash/cl_hash.h: Make lookup of static member function
  774. explicit.
  775. * src/base/hash/cl_hash2weak.h: Likewise.
  776. * src/base/hash/cl_hashuniqweak.h: Likewise.
  777. * src/modinteger/cl_MI.cc: Make shell-comment a C-comment. Geez.
  778. 2003-02-24 Bruno Haible <bruno@clisp.org>
  779. * src/base/random/cl_random_from.cc (random_state::random_state): Add
  780. support for MacOS X.
  781. * src/modinteger/cl_MI.cc: #undef _R.
  782. Reported by Erann Gat <gat@jpl.nasa.gov>.
  783. 2002-08-03 Joerg Arndt <jj@suse.de>
  784. * include/cln/config.h.in: Add support for x86_64 CPU.
  785. * include/cln/modules.h: Likewise.
  786. * include/cln/types.h: Likewise.
  787. * include/cln/object.h: Likewise.
  788. 2002-06-08 Richard Kreckel <kreckel@ginac.de>
  789. * src/base/digitseq/cl_asm.h: ensure intCsize==16 when including
  790. m68k Assembler routines.
  791. * src/base/digitseq/cl_asm_.cc: Likewise.
  792. 2002-05-28 Richard Kreckel <kreckel@ginac.de>
  793. * Version 1.1.5 released.
  794. 2002-05-27 Richard Kreckel <kreckel@ginac.de>
  795. * include/cln/modules.h (CL_CONCATENATE): New macro.
  796. 2002-05-10 Richard Kreckel <kreckel@ginac.de>
  797. * doc/cln.tex (Building the library): Update recommendations for
  798. compiling on Tru64 using g++ 3.0 and 3.1.
  799. * README: Update homepage.
  800. 2002-05-05 Bruno Haible <bruno@clisp.org>
  801. * doc/cln.tex (Building the library): Give some recommendations for
  802. g++ 3.0 and 3.1.
  803. Force link-time references despite optimizations done by g++ 2.95
  804. and newer.
  805. * include/cln/modules.h (CL_FORCE_LINK): New macro.
  806. * Use CL_FORCE_LINK.
  807. * include/cln/GV_integer.h (cl_GV_I_debug_dummy): Likewise.
  808. * include/cln/GV_number.h (cl_GV_number_debug_dummy): Likewise.
  809. * include/cln/SV_number.h (cl_SV_number_debug_dummy): Likewise.
  810. * include/cln/SV_ringelt.h (cl_SV_ringelt_debug_dummy): Likewise.
  811. * include/cln/dfloat.h (cl_DF_debug_dummy): Likewise.
  812. * include/cln/ffloat.h (cl_FF_classes_dummy, cl_FF_debug_dummy):
  813. Likewise.
  814. * include/cln/integer.h (cl_I_classes_dummy, cl_I_debug_dummy):
  815. Likewise.
  816. * include/cln/lfloat.h (cl_LF_debug_dummy): Likewise.
  817. * include/cln/modinteger.h (cl_MI_debug_dummy): Likewise.
  818. * include/cln/rational.h (cl_RA_debug_dummy): Likewise.
  819. * include/cln/real.h (cl_R_debug_dummy): Likewise.
  820. * include/cln/ring.h (cl_ring_debug_dummy): Likewise.
  821. * include/cln/sfloat.h (cl_SF_classes_dummy, cl_SF_classes_dummy):
  822. Likewise.
  823. * include/cln/string.h (cl_string_debug_dummy): Likewise.
  824. * include/cln/univpoly.h (cl_UP_debug_dummy): Likewise.
  825. * src/float/base/cl_ieee.h (cl_ieee_dummy_NNN): Likewise.
  826. Avoid g++ 3.1 warnings.
  827. * src/base/cl_offsetof.h (offsetof): Redefine each time.
  828. * src/base/digitseq/cl_DS.h: Include "cl_offsetof.h" after <gmp.h>.
  829. Avoid g++ 3.1 warnings.
  830. * src/base/hash/cl_hash.h (struct cl_heap_hashtable): Use typename
  831. where needed.
  832. * src/base/hash/cl_hash1.h (struct cl_heap_hashtable_1): typedef
  833. htxentry as a shortcut.
  834. * src/base/hash/cl_hash2.h (struct cl_heap_hashtable_2): Likewise.
  835. * src/base/hash/cl_hashset.h (struct cl_heap_hashtable_set): Likewise.
  836. * src/base/hash/cl_hashuniq.h (struct cl_heap_hashtable_uniq):
  837. Likewise.
  838. 2002-03-15 Bruno Haible <bruno@clisp.org>
  839. * cln.tex: Document problem with GNU make 3.77.
  840. Reported by Michael Somos <somos@grail.cba.csuohio.edu>.
  841. 2002-02-16 Richard Kreckel <kreckel@ginac.de>
  842. * cln.m4: quote macro name.
  843. Pointed out by Roberto Bagnara.
  844. 2002-01-20 Richard Kreckel <kreckel@ginac.de>
  845. * autoconf/config.{guess,sub}: Update to GNU version 2002-01-02.
  846. (the old one was broken on Linux/Mips.)
  847. 2002-01-04 Richard Kreckel <kreckel@ginac.de>
  848. * autoconf/autoconf.m4f: get brutal in order to adhere to FHS.
  849. * Version 1.1.4 released.
  850. 2002-01-03 Richard Kreckel <kreckel@ginac.de>
  851. * autoconf/acinclude.m4: revamp MPN-matcher.
  852. * autoconf/aclocal.m4: upgrade to autoconf-2.52 infrastructure,
  853. sync with CLisp from CVS.
  854. * autoconf/autoconf: Likewise.
  855. * autoconf/autoconf.m4f: Likewise (new file).
  856. * configure.ac: Likewise (new file, replaces configure.in).
  857. * configure.in: Likewise (deleted, replaced by configure.ac).
  858. * autoconf/config.{guess,sub}: Update to GNU version 2001-12-13.
  859. * src/Makefile.in: made VPATH safe for autoconf-2.52.
  860. * include/cln/config.h.in: Add __s390__.
  861. 2001-12-31 Richard Kreckel <kreckel@ginac.de>
  862. * src/base/digitseq/cl_DS.h: <gmp.h> is not included extern "C"
  863. any more since GMP4 has some C++ support in it.
  864. 2001-12-14 Richard Kreckel <kreckel@ginac.de>
  865. * include/cln/modules.h, include/cln/object.h: add support for
  866. s390.
  867. * src/numtheory/cl_nt_sqrtmodp.cc: workaround for GCC2.x compiler-bug
  868. on s390, provided by Gerhard Tonn.
  869. 2001-11-05 Richard Kreckel <kreckel@ginac.de>
  870. * autoconf/ltmain.sh: Upgrade to libtool-1.4.2.
  871. * autoconf/config.{guess,sub}: Update to GNU version 2001-09-07.
  872. * Version 1.1.3 released.
  873. 2001-11-04 Bruno Haible <haible@clisp.cons.org>
  874. Interoperability with gcc-3.0 -fuse-cxa-atexit.
  875. * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add test whether
  876. global destructors actually exist.
  877. * include/cln/modules.h (CL_PROVIDE, CL_PROVIDE_END, CL_PROVIDE_END):
  878. Don't hack the global destructors if there is no global destructors
  879. function.
  880. 2001-11-03 Richard Kreckel <kreckel@ginac.de>
  881. * src/float/transcendental/cl_F_sinx.cc (sinx_naive): For small
  882. values of x, return square(x) instead of x.
  883. * src/float/transcendental/cl_F_sinhx.cc (sinhx_naive): Likewise.
  884. 2001-07-25 Richard Kreckel <kreckel@ginac.de>
  885. * Version 1.1.2 released.
  886. 2001-07-24 Richard Kreckel <kreckel@ginac.de>
  887. * src/base/hash/cl_hash.h: declare _cl_hashtable_iterator<htentry> a
  888. friend of cl_heap_hashtable<htentry>.
  889. 2001-07-22 Richard Kreckel <kreckel@ginac.de>
  890. * src/float/base/cl_ieee.cc: try to do magic to the FPU only if
  891. _FPU_IEEE is really defined.
  892. * include/cln/modules.h: change assembler labels from `label' to
  893. `label:' on hppa, needed by Linux (see comment).
  894. * autoconf/acinclude.m4: new file (for storing CLN-specific macros).
  895. * Makefile.devel: adjusted.
  896. * autoconf/aclocal.m4: regenerate.
  897. * src/base/low/cl_low_mul.cc: moved POD variables that are declared
  898. extern "C" elsewhere out of the namespace.
  899. * src/base/low/cl_low_div.cc: Likewise.
  900. 2001-06-08 Bruno Haible <haible@clisp.cons.org>
  901. * autoconf/config.{guess,sub}: Update to GNU version 2001-05-11.
  902. * autoconf/aclocal.m4: Upgrade to libtool-1.4.
  903. * autoconf/ltmain.sh: Likewise.
  904. * autoconf/ltconfig: Remove file.
  905. * autoconf/install-sh: New file.
  906. * configure.in: Add AC_CONFIG_AUX_DIR call.
  907. 2001-06-05 Richard Kreckel <kreckel@ginac.de>
  908. * tests/tests.cc: resolve namespace ambiguity about strcmp().
  909. 2001-05-31 Richard Kreckel <kreckel@ginac.de>
  910. * Version 1.1.1 released.
  911. 2001-05-28 Richard Kreckel <kreckel@ginac.de>
  912. * cln/cln.tex: documented problems with shared library on Sparc
  913. using gcc older than 2.95.3.
  914. * configure.in: Fixed typos in versioning docu.
  915. 2001-05-25 Bruno Haible <haible@clisp.cons.org>
  916. * src/base/digitseq/cl_asm_arm_.cc: Use #0x instead of #& to designate
  917. hexadecimal constants.
  918. 2001-05-25 Richard Kreckel <kreckel@ginac.de>
  919. * autoconf/floatparam.c (double_wordorder_bigendian_p): new symbol.
  920. * src/float/dfloat/cl_DF.h: Check for double_wordorder_bigendian_p.
  921. * Removed LiDIA interface since that is now outdated (namespace cln)
  922. and maintained elsewhere.
  923. * Adjusted dates and final touches for 1.1.1.
  924. 2001-05-19 Richard Kreckel <kreckel@ginac.de>
  925. * INSTALL: Update toolchain info: no egcs, some more platforms.
  926. * doc/cln.tex: Likewise.
  927. 2001-05-18 Richard Kreckel <kreckel@ginac.de>
  928. * src/base/cl_low.h: prepended variables declared inside macros
  929. with underscore. Fixes equal_hashcode() on various platforms.
  930. 2001-04-25 Richard Kreckel <kreckel@ginac.de>
  931. * src/base/cl_low.h: Added several checks if NO_ASM is defined, so
  932. this definition becomes actually useful. This is needed for
  933. compilation on Arm until somebody fixes the assembler files for Arm.
  934. * src/base/digitseq/cl_asm.h: Likewise.
  935. * src/base/digitseq/cl_asm_.cc: Likewise.
  936. * */Makefile.in: Added `override' in front of `CPPFLAGS +=' so
  937. one can say `make CPPFLAGS=-DFOOBAR'.
  938. 2001-03-26 Arvid Norberg <c99ang@cs.umu.se>
  939. * src/base/random/cl_random_from.cc: ported to beos.
  940. 2001-03-05 Richard Kreckel <kreckel@ginac.de>
  941. * include/cln/modules.h (CL_JUMP_TO): Fix IA64 brokenness.
  942. 2001-01-28 Richard Kreckel <kreckel@ginac.de>
  943. * include/cln/number.h (cl_as_N): Remove bogus comment.
  944. 2001-01-22 Richard Kreckel <kreckel@ginac.de>
  945. * configure.in: Make build in separate builddir possible (again).
  946. 2001-01-22 Richard Kreckel <kreckel@ginac.de>
  947. * include/cln/*.h: Change signatures of all classes' methods
  948. cln::cl_foo::operator new(size_t, cl_foo*) to
  949. cln::cl_foo::operator new(size_t, void*) so one can declare
  950. std::vector<cln::cl_foo>, std::list<cln::cl_foo> etc. for
  951. certain STL implementations (like libstdc++-v3).
  952. 2000-12-14 Richard Kreckel <kreckel@ginac.de>
  953. * Version 1.1 released.
  954. 2000-12-13 Richard Kreckel <kreckel@ginac.de>
  955. * */*: cl_istream -> std::istream, cl_ostream -> std::ostream.
  956. 2000-12-05 Richard Kreckel <kreckel@ginac.de>
  957. * Makefile.in, src/Makefile.in, doc/Makefile.in: Use mkdir -p.
  958. * include/cln/version.h.in, src/base/verion.cc: New files.
  959. * configure.in: Generate include/cln/version.h.
  960. * cln.m4: Rewrote it. Check result of cln-config without compiling.
  961. Do cross-check library version and header version information.
  962. 2000-12-02 Christian Bauer <cbauer@ginac.de>
  963. * Makefile.in, src/Makefile.in, doc/Makefile.in: Added $DESTDIR.
  964. * cln.m4, cln.spec.in: some minor fixes with respect to RPM package
  965. building.
  966. 2000-11-24 Richard Kreckel <kreckel@ginac.de>
  967. * */*: Removed problematic stdin, stdout and stderr definitions.
  968. Use std::cin, std::cout, std::cerr instead (obsoletes 2000-10-29).
  969. 2000-11-20 Bruno Haible
  970. * cln-config.1: change title.
  971. 2000-11-18 Richard Kreckel <kreckel@ginac.de>
  972. * cln.m4: New file.
  973. * doc/cln.tex: Document package tools cln-config and cln.m4.
  974. * Makefile.in: Care about cln.m4.
  975. 2000-11-17 Richard Kreckel <kreckel@ginac.de>
  976. * cln-config.1: added manpage, as required by a couple of distros.
  977. * Makefile.in, doc/Makefile.in: target install depends on installdirs.
  978. 2000-11-16 Richard Kreckel <kreckel@ginac.de>
  979. * autoconf/aclocal.m4 (CL_GMP_SET_UINTD): New macro...
  980. * configure.in: ...used here.
  981. * include/cln/config.h.in: Put in macros defined by CL_GMP_SET_UINTD...
  982. * include/cln/types.h: ...used here.
  983. * autoconf/acgeneral.m4, autoconf/aclocal.m4: Adhere to FHS.
  984. 2000-11-13 Richard Kreckel <kreckel@ginac.de>
  985. * src/base/digitseq/cl_asm.h: Test if (intDsize==32) for MIPS and HPPA,
  986. in order to guard against an accidented configuration.
  987. * src/integer/conv/cl_I_to_digits.cc (table): member b_hoch_k of
  988. struct power_table_entry initialized as ULL instead of as UL, if
  989. intDsize==64 (caused misprinting on MIPS w/ GMP).
  990. * src/base/cl_macros.h (minus_bitm, bitc): implemented ULL, if
  991. HAVE_FAST_LONGLONG.
  992. * src/integer/bitwise/cl_I_mkfx.cc (mkf_extract): Likewise.
  993. * src/integer/conv/cl_I_from_L.cc (cl_I_from_L): Added trival
  994. generation of Bignum for intDsize==64 and a notreached-check at end.
  995. * autoconf/config.guess, autoconf/config.sub: updated from FSF.
  996. * include/cln/config.h.in: Prepared support for IA64.
  997. * include/cln/types.h: Likewise.
  998. * include/cln/object.h: Likewise.
  999. * include/cln/modules.h: Likewise.
  1000. * src/base/cl_macros.h (nonreturning_function): Likewise (NUE's
  1001. compiler claims __GNUC_MINOR__==9).
  1002. 2000-11-03 Richard Kreckel <kreckel@ginac.de>
  1003. * src/base/cl_macros.h (bit, minus_bit): changed criterion for ULL from
  1004. HAVE_DD to HAVE_FAST_LONGLONG.
  1005. * src/base/cl_macros.h (bitm): implemented ULL, if HAVE_FAST_LONGLONG.
  1006. * src/base/cl_low.h: actually no need to include "cln/types.h" here.
  1007. * src/base/cl_low.h (logcount_64): always ULL, independent of HAVE_DD.
  1008. * src/base/random/cl_UL_random.cc (random32): a is always ULL.
  1009. 2000-11-01 Richard Kreckel <kreckel@ginac.de>
  1010. * include/cln/object.h (cl_combine): define additional signatures, if
  1011. HAVE_LONGLONG is defined, in order to keep the compiler happy.
  1012. * src/base/cl_macros.h: include "cln/types.h", since we need HAVE_DD...
  1013. * src/base/cl_macros.h (bit): ...for this macro...
  1014. * src/base/cl_macros.h (minus_bit): ...and this one.
  1015. * src/base/cl_low.h: include "cln/types.h", since we need HAVE_DD...
  1016. * src/base/cl_low.h (logcount_64): ...for this macro.
  1017. * src/base/random/cl_UL_random.cc (random32): if HAVE_DD a is an ULL.
  1018. * src/integer/gcd/cl_I_gcd_aux2.cc (floorDD): fixed algorithmic bug.
  1019. that turned up when intDsize==32 and cl_word_size==64.
  1020. * src/float/dfloat/elem/cl_DF_div.cc (operator/): fixed a missing cast
  1021. to uint64 that turned up when intDsize==32 and cl_word_size==64.
  1022. 2000-10-29 Richard Kreckel <kreckel@ginac.de>
  1023. * src/real/input/cl_R_read.cc, src/complex/input/cl_N_read.cc:
  1024. #undef stderr, if it's defined so cln::stderr isn't confused.
  1025. * src/base/input/cl_read_globals.cc: stdin should not be extern.
  1026. 2000-09-05 Richard Kreckel <kreckel@ginac.de>
  1027. * include/cln/number.h (As): Fix it in namespace by suffixing `_As'
  1028. to the appropiate method instead of prefixing `as_'.
  1029. * src/complex/misc/cl_N_as.cc (cl_N_As): Likewise.
  1030. * src/real/misc/cl_R_as.cc (cl_R_As): Likewise.
  1031. * src/rational/misc/cl_RA_as.cc (cl_RA_As): Likewise.
  1032. * src/integer/misc/cl_I_as.cc (cl_I_As): Likewise.
  1033. * src/float/misc/cl_F_as.cc (cl_F_As): Likewise.
  1034. * src/float/sfloat/misc/cl_SF_as.cc (cl_SF_As): Likewise.
  1035. * src/float/lfloat/misc/cl_LF_as.cc (cl_LF_As): Likewise.
  1036. * src/float/ffloat/misc/cl_FF_as.cc (cl_FF_As): Likewise.
  1037. * src/float/dfloat/misc/cl_DF_as.cc (cl_DF_As): Likewise.
  1038. 2000-09-05 Richard Kreckel <kreckel@ginac.de>
  1039. * src/complex/transcendental/cl_C_expt_C.cc (expt): fix logic for
  1040. the 0^y cases.
  1041. 2000-08-30 Richard Kreckel <kreckel@ginac.de>
  1042. * include/cln/number.h, cl_number::_as_cl_private_thing(): removed.
  1043. Rearranged for a clearer distinction between macros and remaining
  1044. identifiers, so Cint can parse it smoothly.
  1045. 2000-08-29 Richard Kreckel <kreckel@ginac.de>
  1046. * include/cln/number.h, the(const cl_number& x): New template
  1047. function.
  1048. 2000-08-29 Richard Kreckel <kreckel@ginac.de>
  1049. * */*: Pushed CLN into a namespace `cln'. While doing so, the
  1050. following identifiers got their poor-man's namespace (i.e. the
  1051. prefix `cl_') stripped off:
  1052. cl_catalanconst() -> catalanconst()
  1053. cl_compare() -> compare()
  1054. cl_cos_sin() -> cos_sin()
  1055. cl_cos_sin_t -> cos_sin_t
  1056. cl_cosh_sinh() -> cosh_sinh()
  1057. cl_cosh_sinh_t -> cosh_sinh_t
  1058. cl_decoded_dfloat -> decoded_dfloat
  1059. cl_decoded_ffloat -> decoded_ffloat
  1060. cl_decoded_float -> decoded_float
  1061. cl_decoded_lfloat -> decoded_lfloat
  1062. cl_decoded_sfloat -> decoded_sfloat
  1063. cl_default_float_format -> default_float_format
  1064. cl_default_print_flags -> default_print_flags
  1065. cl_default_random_state -> default_random_state
  1066. cl_double_approx() -> double_approx()
  1067. cl_equal() -> equal()
  1068. cl_equal_hashcode() -> equal_hashcode()
  1069. cl_eulerconst() -> eulerconst()
  1070. cl_find_modint_ring() -> find_modint_ring()
  1071. cl_find_univpoly_ring() -> find_univ_poly_ring()
  1072. cl_float_approx() -> float_approx
  1073. cl_float_format() -> float_format()
  1074. cl_float_format_t -> float_format_t
  1075. cl_free_hook() -> free_hook()
  1076. cl_hermite() -> hermite()
  1077. cl_laguerre() -> laguerre()
  1078. cl_legendre() -> legandre()
  1079. cl_malloc_hook() -> malloc_hook()
  1080. cl_pi() -> pi()
  1081. cl_tschebychev() -> tschebychev()
  1082. cl_zeta() -> zeta()
  1083. NB: For functions these changes includes all signatures.
  1084. * include/*: moved to include/cln/*, stripped `cl_' off filenames.
  1085. * cln-config.in: new file.
  1086. 2000-08-26 Bruno Haible <haible@clisp.cons.org>
  1087. * autoconf/acgeneral.m4 (AC_OUTPUT): Use braces in exec_prefix default
  1088. value, not parens.
  1089. 2000-08-18 Bruno Haible <haible@clisp.cons.org>
  1090. * include/cl_univpoly_modint.h: Fix typo.
  1091. 2000-07-13 Bruno Haible <haible@clisp.cons.org>
  1092. * src/float/input/cl_F_read_stream.cc (number_char_p): Accept '_',
  1093. used as precision marker for floats.
  1094. Reported by Keith Briggs (in 1998) and Thomas Roessler.
  1095. * src/integer/input/cl_I_read_stream.cc (number_char_p): Likewise.
  1096. * src/rational/input/cl_RA_read_stream.cc (number_char_p): Likewise.
  1097. * src/real/input/cl_R_read_stream.cc (number_char_p): Likewise.
  1098. * src/complex/input/cl_N_read_stream.cc (number_char_p): Likewise.
  1099. 2000-06-22 Bruno Haible <haible@clisp.cons.org>
  1100. * include/cl_object.h: Rename cl_word_size to cl_pointer_size.
  1101. * include/cl_types.h (HAVE_FAST_LONGLONG): Also define on Irix6
  1102. with N32 ABI.
  1103. (cl_word_size): New macro.
  1104. * src/float/sfloat/cl_SF.h: Use cl_pointer_size instead of
  1105. cl_word_size.
  1106. 2000-05-31 Bruno Haible <haible@clisp.cons.org>
  1107. * tests/exam_I_floor.cc (integer_floor_tests): Add one more entry.
  1108. From a sample that fails with gcc-2.95.2 on Sparc.
  1109. * tests/exam_I_gcd.cc (integer_gcd_tests): Likewise.
  1110. 2000-05-30 Richard Kreckel <kreckel@ginac.de>
  1111. * configure.in, autoconf/aclocal.m4 (CL_GMP_H_VERSION, CL_GMP_CHECK):
  1112. New macros.
  1113. * configure.in, include/cl_config.h.in (CL_VERSION, CL_VERSION_MINOR,
  1114. CL_VERSION_PATCHLEVEL): New definitions.
  1115. * autoconf/config.guess, autoconf/config.sub, autoconf/ltconfig,
  1116. autoconf/ltmain.sh: updated from FSF (libtool 1.3.5, etc).
  1117. * src/Makefile.in, configure.in: release-variables renamed from
  1118. CLN_* to CL_*.
  1119. * configure.in: default to build both shared and static library
  1120. (i.e. default to the most common behaviour).
  1121. 2000-05-29 Richard Kreckel <kreckel@ginac.de>
  1122. * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Added missing changequote
  1123. environment around the patch of 2000-05-23.
  1124. 2000-05-29 Bruno Haible <haible@clisp.cons.org>
  1125. * autoconf/aclocal.m4 (CL_PROG_INSTALL): Fix typo.
  1126. Reported by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>.
  1127. 2000-05-27 Richard Kreckel <kreckel@ginac.de>
  1128. * src/float/lfloat/algebraic/cl_LF_sqrt.cc,
  1129. src/base/digitseq/cl_DS_sqrt.cc: Readjusted break-even points.
  1130. 2000-05-24 Richard Kreckel <kreckel@ginac.de>
  1131. * autoconf/config.*: Updated to new version from FSF
  1132. (the new libtool wants this).
  1133. * src/Makefile.in: added $(LDFLAGS) to link step.
  1134. * src/base/digitseq/cl_2DS_div.cc, cl_2DS_recip.cc: Readjusted
  1135. break-even points.
  1136. 2000-05-23 Bruno Haible <haible@clisp.cons.org>
  1137. * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Determine host_cpu,
  1138. host_vendor, host_os correctly if $host has more than two hyphens.
  1139. 2000-05-19 Richard Kreckel <kreckel@ginac.de>
  1140. * src/base/digitseq/cl_DS_mul.cc: Rearranged break-even points to
  1141. better match present-day CPUs whenever GMP3 is used.
  1142. * src/base/digitseq/cl_DS_div.cc: dto.
  1143. * src/TUNING: Added comment about order of tuning.
  1144. * configure, configure.in: Safer GMP3-detection.
  1145. * INSTALL.generic: Clarified behaviour of --with-gmp.
  1146. * autoconf/config.guess: updated from Clisp-2000-03-06 sources.
  1147. 2000-05-04 Richard Kreckel <kreckel@ginac.de>
  1148. * gmp/: removed completely. From now on we are going to link
  1149. externally against libgmp3.0 or above!
  1150. * configure, configure.in, Makefile.in, */Makeflags: removed support
  1151. of internal gmp 2.0.2, like $GMP_INCLUDES, which should be done by
  1152. setting $CPPFLAGS instead.
  1153. * Makefile.in: Added libtool inter-library dependency for -lgmp and
  1154. conforming interface versioning (-version-info).
  1155. * autoconf/ltconfig, autoconf/ltmain.sh: Updated to newer versions
  1156. from libtool 1.3.4.
  1157. 2000-02-22 Bruno Haible <haible@clisp.cons.org>
  1158. * src/base/digitseq/cl_asm_mips_.cc: Starting at argument 5 the
  1159. parameter passing was changed for the MIPS n32 ABI.
  1160. 2000-01-24 Richard Kreckel <kreckel@ginac.de>
  1161. * gmp/*: Replaced the complete mpn sources with the ones from
  1162. Debian since they are maintained while the ones from FSF
  1163. aren't and there were problems on some architectures, PowerPC
  1164. in particular. See the file gmp/README.CLN. This way the
  1165. hard links in this directory have vanished, they were causing
  1166. trouble for people working in AFS. This became necessary for
  1167. Debian, because there it woudn't compile on PPC.
  1168. 2000-01-13 Richard Kreckel <kreckel@ginac.de>
  1169. * Version 1.0.3 released.
  1170. 2000-01-13 Richard Kreckel <kreckel@ginac.de>
  1171. * src/base/cl_macros.h (nonreturning_function): For egcs and newer
  1172. use __attribute__ ((__noreturn__)) instead of the __volatile__
  1173. storage class.
  1174. (nonreturning): Remove macro.
  1175. * include/*: Minor fixes to stop -ansi -pedantic from complaining.
  1176. * include/cl_integer.h: (doublefactorial): New declaration.
  1177. * src/integer/misc/combin/cl_I_doublefactorial.cc: New file.
  1178. 1999-12-18 Bruno Haible <haible@clisp.cons.org>
  1179. * autoconf/acgeneral.m4 (AC_ARG_PROGRAM): Create conftestsed using
  1180. "cat", not "echo".
  1181. * autoconf/ltconfig: Improve support for recent FreeBSD 3.
  1182. * include/cl_GV.h (cl_GV_vectorops): Change return type from 'T' to
  1183. 'const T', to match definition in src/vector/cl_GV_number.cc.
  1184. Reported by Duncan Simpson <dps@io.stargate.co.uk>.
  1185. * gmp/mpn/Makefile.in (.S.lo): Use 'if', not '&&', because '&&' may
  1186. yield return code 1.
  1187. 1999-09-07 Bruno Haible <haible@clisp.cons.org>
  1188. * Version 1.0.2 released.
  1189. 1999-09-06 Bruno Haible <haible@clisp.cons.org>
  1190. * src/rational/cl_RA.h (integerp, ratiop): Instead of returning a
  1191. boolean expression, write alternatives ending with either
  1192. "return cl_true;" or "return cl_false;". This way, g++ does a
  1193. better job inlining it.
  1194. * src/float/cl_F.h (longfloatp): Likewise.
  1195. * src/real/cl_R.h (rationalp, integerp, floatp): Likewise.
  1196. * src/complex/cl_C.h (realp, complexp): Likewise.
  1197. 1999-09-05 Bruno Haible <haible@clisp.cons.org>
  1198. * include/cl_integer.h (cl_equal_hashcode): New declaration.
  1199. * include/cl_rational.h (cl_equal_hashcode): New declaration.
  1200. * include/cl_sfloat.h (cl_equal_hashcode): New declaration.
  1201. * include/cl_ffloat.h (cl_equal_hashcode): New declaration.
  1202. * include/cl_dfloat.h (cl_equal_hashcode): New declaration.
  1203. * include/cl_lfloat.h (cl_equal_hashcode): New declaration.
  1204. * include/cl_float.h (cl_equal_hashcode): New declaration.
  1205. * include/cl_real.h (cl_equal_hashcode): New declaration.
  1206. * include/cl_complex.h (cl_equal_hashcode): New declaration.
  1207. * src/base/cl_N.h (equal_hashcode_low, equal_hashcode_one): New macros.
  1208. * src/integer/misc/cl_I_eqhashcode.cc: New file.
  1209. * src/rational/misc/cl_RA_eqhashcode.cc: New file.
  1210. * src/float/sfloat/misc/cl_SF_eqhashcode.cc: New file.
  1211. * src/float/ffloat/misc/cl_FF_eqhashcode.cc: New file.
  1212. * src/float/dfloat/misc/cl_DF_eqhashcode.cc: New file.
  1213. * src/float/lfloat/misc/cl_LF_eqhashcode.cc: New file.
  1214. * src/float/misc/cl_F_eqhashcode.cc: New file.
  1215. * src/real/misc/cl_R_eqhashcode.cc: New file.
  1216. * src/complex/misc/cl_C_eqhashcode.cc: New file.
  1217. * doc/cln.tex: Document `cl_equal_hashcode'.
  1218. 1999-09-05 Bruno Haible <haible@clisp.cons.org>
  1219. * include/cl_ring.h (cl_number_ring_ops): Add `contains' member.
  1220. (cl_number_ring): New class.
  1221. (cl_specialized_number_ring<T>): Inherit from cl_number_ring.
  1222. (instanceof): New function.
  1223. * src/integer/ring/cl_I_ring.cc (cl_I_p): New function.
  1224. * src/integer/misc/cl_I_as.cc (cl_I_p): Add comment.
  1225. * src/rational/ring/cl_RA_ring.cc (cl_RA_p): New function.
  1226. * src/rational/misc/cl_RA_as.cc (cl_RA_p): Add comment.
  1227. * src/real/ring/cl_R_ring.cc (cl_R_p): New function.
  1228. * src/real/misc/cl_R_as.cc (cl_R_p): Add comment.
  1229. * src/complex/ring/cl_C_ring.cc (cl_N_p): New function.
  1230. * src/complex/misc/cl_N_as.cc (cl_N_p): Add comment.
  1231. * doc/cln.tex: Document `instanceof'.
  1232. 1999-09-05 Bruno Haible <haible@clisp.cons.org>
  1233. * include/cl_rational.h (numerator, denominator): New declarations.
  1234. * src/rational/elem/cl_RA_numerator.cc: New file.
  1235. * src/rational/elem/cl_RA_denominator.cc: New file.
  1236. * include/cl_integer.h (numerator, denominator): New inline functions.
  1237. * doc/cln.tex: Document `numerator' and `denominator'.
  1238. 1999-09-05 Bruno Haible <haible@clisp.cons.org>
  1239. * src/rational/algebraic/cl_RA_rootp.cc (rootp): Fix endless loop
  1240. in the integer case.
  1241. * src/rational/algebraic/cl_RA_rootp_I.cc (rootp): Likewise.
  1242. 1999-09-05 Bruno Haible <haible@clisp.cons.org>
  1243. * include/cl_config.h.in: Support for sparc64 CPU.
  1244. * include/cl_modules.h: Likewise.
  1245. * include/cl_types.h: Likewise.
  1246. * include/cl_object.h: Likewise.
  1247. * include/cl_GV.h: Likewise.
  1248. * src/Makefile.in: Likewise.
  1249. * src/base/cl_alloca.h: Likewise.
  1250. * src/base/cl_macros.h: Likewise.
  1251. * src/base/cl_sysdep.h: Likewise.
  1252. * src/base/cl_low.h: Likewise.
  1253. * src/base/digitseq/cl_asm.h: Likewise.
  1254. * src/base/digitseq/cl_asm_.cc: Likewise.
  1255. * src/base/digitseq/cl_asm_sparc64.h: New file.
  1256. * src/base/digitseq/cl_asm_sparc64_.cc: New file.
  1257. * src/modinteger/cl_MI_int.h: Support for sparc64 CPU.
  1258. * src/polynomial/elem/cl_UP_no_ring.cc: Likewise.
  1259. * src/polynomial/elem/cl_UP_GF2.h: Likewise.
  1260. * src/polynomial/elem/cl_asm_GF2.cc: Likewise.
  1261. 1999-09-04 Bruno Haible <haible@clisp.cons.org>
  1262. * src/base/digitseq/cl_asm_sparc_.cc (orc2_loop_up, orc2_loop_down):
  1263. Use the `orn' instruction.
  1264. 1999-08-14 Bruno Haible <haible@clisp.cons.org>
  1265. Assume all platforms have <stdlib.h> and clock_t.
  1266. * configure.in: Don't call CL_STDLIB_H and CL_CLOCK_T.
  1267. * src/base/cl_base_config.h.in (CLOCK_T): Remove definition.
  1268. * src/base/random/cl_random_from.cc: Use clock_t instead of CLOCK_T.
  1269. * src/timing/cl_t_config.h.in (CLOCK_T): Remove definition.
  1270. * src/timing/cl_t_current2.cc: Use clock_t instead of CLOCK_T.
  1271. 1999-07-18 Bruno Haible <haible@clisp.cons.org>
  1272. * gmp/config.guess: Link to autoconf/config.guess.
  1273. gmp/config.sub: Link to autoconf/config.sub.
  1274. Needed for Win32 platforms.
  1275. 1999-07-17 Bruno Haible <haible@clisp.cons.org>
  1276. * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Distinguish "sparc" and
  1277. "sparc64" according to the C compiler, not the uname result.
  1278. 1999-06-17 Bruno Haible <haible@clisp.cons.org>
  1279. * src/base/digitseq/cl_asm_sparc_.cc (compare_loop_up): Fix
  1280. COUNTER_LOOPS version, fortunately not used yet.
  1281. * include/cl_modules.h: Prepare for gcc version 3.
  1282. 1999-06-12 Bruno Haible <haible@clisp.cons.org>
  1283. * src/rational/elem/cl_RA_plus.cc, src/rational/elem/cl_RA_minus.cc:
  1284. Change the last call from I_I_to_RT to I_I_to_RA.
  1285. 1999-06-09 Bruno Haible <haible@clisp.cons.org>
  1286. * Version 1.0.1 released.
  1287. 1999-06-09 Bruno Haible <haible@clisp.cons.org>
  1288. * src/integer/cl_I.h (pFN_maxlength_digits_at): Define also when
  1289. intDsize==64.
  1290. 1999-06-08 Bruno Haible <haible@clisp.cons.org>
  1291. * autoconf/intparam.c (printf_underscored): Change argument type to
  1292. `const char*'.
  1293. * include/cl_modules.h (CL_OUTPUT_LABEL, CL_JUMP_TO): New macros.
  1294. (CL_PROVIDE, CL_PROVIDE_END): Use them.
  1295. * include/cl_string.h (cl_heap_string::operator new): Return 1, not 0.
  1296. * include/cl_GV.h (cl_GV_inner<T>::operator new): Likewise.
  1297. * src/base/ring/cl_no_ring.cc (dummy_canonhom, dummy_expt_pos): Don't
  1298. cast a cl_I to void here. Works around a bug in g++-2.95.
  1299. * src/complex/misc/cl_C_class.cc: Include "cl_C.h".
  1300. * src/polynomial/elem/cl_UP_no_ring.cc (dummy_canonhom,
  1301. dummy_expt_pos): Don't cast a cl_I to void here. Works around a bug
  1302. in g++-2.95.
  1303. * src/polynomial/elem/cl_asm_sparc_GF2.cc (DECLARE_FUNCTION): New
  1304. macro.
  1305. * src/rational/misc/cl_RA_class.cc: Include "cl_RA.h".
  1306. * src/vector/cl_GV_I.cc (cl_heap_GV_I_general::operator new,
  1307. DEFINE_cl_heap_GV_I_bits): Return 1, not 0.
  1308. * src/vector/cl_GV_number.cc (cl_heap_GV_number_general::operator new):
  1309. Likewise.
  1310. 1999-06-01 Bruno Haible <haible@clisp.cons.org>
  1311. * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Canonicalize alpha
  1312. variants to alpha.
  1313. 1999-05-29 Bruno Haible <haible@clisp.cons.org>
  1314. * src/base/digitseq/cl_asm_i386_.cc (DECLARE_FUNCTION): Treat
  1315. OpenBSD like NetBSD.
  1316. * src/base/digitseq/cl_asm_sparc_.cc (DECLARE_FUNCTION): Likewise.
  1317. * src/base/digitseq/cl_asm_m68k_.cc (DECLARE_FUNCTION): Treat
  1318. OpenBSD like NetBSD, and Linux/ELF like SVR4.
  1319. 1999-05-16 Bruno Haible <haible@clisp.cons.org>
  1320. * src/base/cl_low.h (integerlength32) [__rs6000__]: Use old assembler
  1321. syntax on AIX systems and new assembler syntax on non-AIX systems.
  1322. 1999-05-01 Bruno Haible <haible@clisp.cons.org>
  1323. * autoconf/config.guess, autoconf/config.sub: Upgrade to newest
  1324. version from GNU CVS.
  1325. 1999-04-24 Bruno Haible <haible@clisp.cons.org>
  1326. * src/integer/bitwise/cl_I_logand.cc (logand): Optimize the case when
  1327. either operand is a positive fixnum, O(1) instead of O(N).
  1328. * src/integer/bitwise/cl_I_lognand.cc (lognand): Likewise.
  1329. * src/integer/bitwise/cl_I_logandc2.cc (logandc2): Likewise for the
  1330. first operand.
  1331. 1999-04-14 Bruno Haible <haible@clisp.cons.org>
  1332. * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add check whether
  1333. ctor/dtor needs to be exported.
  1334. * include/cl_config.h.in (CL_NEED_GLOBALIZE_CTORDTOR): New macro.
  1335. * include/cl_modules.h (CL_GLOBALIZE_JUMP_LABEL): Renamed from
  1336. CL_GLOBALIZE_LABEL.
  1337. (CL_GLOBALIZE_LABEL): New macro.
  1338. (CL_GLOBALIZE_CTORDTOR_LABEL): Renamed from CL_GLOBALIZE_ASM_LABEL.
  1339. (CL_PROVIDE): Update.
  1340. 1999-04-12 Bruno Haible <haible@clisp.cons.org>
  1341. * src/Makefile.in ($(ASMFILES_S)): On HPPA, ignore preprocessing
  1342. errors ("unterminated string or character constant").
  1343. ($(ASMFILES_LO)): On HPPA, try with various settings of
  1344. COMPILER_PATH, in order to try /usr/ccs/bin/as and /bin/as.
  1345. 1999-04-11 Bruno Haible <haible@clisp.cons.org>
  1346. * INSTALL: Mention gmp problems on MIPS.
  1347. * doc/cln.tex: Likewise.
  1348. 1999-03-24 Mumit Khan <khan@xraylith.wisc.edu>
  1349. * src/Makefile.in (SUBDIRS): Filter out CVS and RCS directories from
  1350. the source tree.
  1351. * include/cl_modules.h (CL_GLOBALIZE_LABEL): Define for Win32.
  1352. (CL_GLOBALIZE_ASM_LABEL): New macro.
  1353. (CL_PROVIDE): Use it.
  1354. * src/base/random/cl_random_from.cc: Handle WIN32.
  1355. * src/timing/cl_t_current.cc: Likewise.
  1356. 1999-03-15 Bruno Haible <haible@clisp.cons.org>
  1357. * autoconf/intparam.c (main7): Use %lX instead of %X for a `long'.
  1358. (main8): Adapt for C++.
  1359. 1999-03-09 Bruno Haible <haible@clisp.cons.org>
  1360. * INSTALL: Mention egcs-1.1 problems on Sparc.
  1361. * doc/cln.tex: Likewise.
  1362. 1999-03-08 Bruno Haible <haible@clisp.cons.org>
  1363. * autoconf/aclocal.m4 (CL_FPU_CONTROL): Fix the "checking for"
  1364. messages.
  1365. 1999-02-25 Bruno Haible <haible@clisp.cons.org>
  1366. * autoconf/aclocal.m4: In test programs, declare `int main()', not
  1367. `main()'.
  1368. * lidia-interface/src/interfaces/integers/cln/bigint.c
  1369. (bigint_to_string): Fix for negative arguments.
  1370. * src/base/cl_low.h: Check for `__sparc__', not `SPARC'.
  1371. * src/base/cl_alloca.h: Likewise.
  1372. * src/base/cl_low.h: Eliminate CLISP style "# " comments.
  1373. * src/base/digitseq/cl_asm_arm_.cc,
  1374. src/base/digitseq/cl_asm_mips_.cc,
  1375. src/float/dfloat/elem/cl_DF_mul.cc: Likewise.
  1376. * src/modinteger/cl_MI_pow2.h,
  1377. src/modinteger/cl_MI_pow2m1.h,
  1378. src/modinteger/cl_MI_pow2p1.h: Workaround g++-2.7.2 inlining bug.
  1379. 1999-01-18 Bruno Haible <haible@clisp.cons.org>
  1380. * autoconf/acgeneral.m4,
  1381. autoconf/acspecific.m4: Upgrade to autoconf-2.13.
  1382. * autoconf/config.guess, autoconf/config.sub: Likewise.
  1383. * autoconf/aclocal.m4 (CL_ALLOCA): Test for _MSC_VER and alloca being
  1384. a macro. Use ${ac_objext}.
  1385. * src/base/cl_macros.h (alloca): Put _MSC_VER test before the others,
  1386. conforming with CL_ALLOCA.
  1387. 1999-01-12 Bruno Haible <haible@clisp.cons.org>
  1388. * Version 1.0 released.