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.

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