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.

1349 lines
53 KiB

19 years ago
24 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
  1. 2005-11-23 Richard B. Kreckel <kreckel@ginac.de>
  2. * Version 1.1.11 released.
  3. 2005-11-20 Richard B. Kreckel <kreckel@ginac.de>
  4. * src/integer/conv/cl_I_cached_power.h: New file.
  5. * src/integer/conv/cl_I_cached_power.cc: New file.
  6. Contains power_table and cached_power_table previously...
  7. * src/integer/conv/cl_I_to_digits.cc: ...here.
  8. * src/integer/conv/cl_I_from_digits.cc: Use cached powers.
  9. 2005-11-02 Richard B. Kreckel <kreckel@ginac.de>
  10. * src/integer/conv/cl_I_from_digits.cc: Made input of all numbers in
  11. non-power-of-two base much faster.
  12. * tests/test_I_io.cc: New file...
  13. * tests/Makefile.in, tests/test_I.cc: ...used here.
  14. 2005-10-22 Richard B. Kreckel <kreckel@ginac.de>
  15. * Version 1.1.10 released.
  16. 2005-10-22 Richard B. Kreckel <kreckel@ginac.de>
  17. * src/Makefile.in: Accept CPPFLAGS from environment.
  18. * examples/Makefile.in: Likewise.
  19. * benchmarks/Makefile.in: Likewise.
  20. * tests/Makefile.in: Likewise.
  21. 2005-08-30 Richard B. Kreckel <kreckel@ginac.de>
  22. * include/cln/modules.h (CL_OUTPUT_LABEL): Work around redundant
  23. duplication of basic blocks on m68k.
  24. 2005-08-30 Richard B. Kreckel <kreckel@ginac.de>
  25. * include/cln/modules.h (CL_JUMP_TO): Fix mips* brokenness.
  26. 2005-08-27 Bruno Haible <bruno@clisp.org>
  27. Split aclocal.m4 into individual files.
  28. * m4/alloca.m4, m4/as-underscore.m4, m4/c++-constructors.m4:
  29. * m4/fpu_control.m4, m4/general.m4, m4/gettimeofday.m4:
  30. * m4/longdouble.m4, m4/longlong.m4, m4/param.m4, m4/perror.m4:
  31. * m4/proto.m4, m4/rusage.m4, m4/times.m4:
  32. New files, extracted from autoconf/aclocal.m4.
  33. * autoconf/aclocal.m4: m4_include them.
  34. * Makefile.devel (AUTOCONF_MACROS): New variable.
  35. (configure): Depend on it.
  36. (CLISP_M4DIR): Remove variable.
  37. (autoconf/aclocal.m4): Remove rule.
  38. 2005-08-27 Bruno Haible <bruno@clisp.org>
  39. * src/integer/bitwise/cl_I_ash_I.cc (ash): Avoid shifting a 32-bit
  40. zero value by more than 31 bits.
  41. 2005-08-27 Bruno Haible <bruno@clisp.org>
  42. Make the long-float overflow check work on 64-bit platforms.
  43. * src/float/lfloat/cl_LF.h (LF_exp_mid, LF_exp_high): Define as
  44. 'unsigned int', not 'unsigned long'.
  45. 2005-08-27 Bruno Haible <bruno@clisp.org>
  46. * include/cln/modules.h (CL_OUTPUT_LABEL): Work around redundant
  47. duplication of basic blocks by g++ 4.0.
  48. See <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23345>.
  49. 2005-08-27 Bruno Haible <bruno@clisp.org>
  50. Make it possible to cross-compile CLN.
  51. * m4/intparam.m4: New file.
  52. * m4/floatparam.m4: New file.
  53. * autoconf/aclocal.m4: Include both.
  54. (CL_MACHINE): Add an additional CROSS_MACRO parameter.
  55. * configure.ac (CL_MACHINE): When cross-compiling, use
  56. CL_INTPARAM_CROSS and CL_FLOATPARAM_CROSS.
  57. 2005-08-27 Bruno Haible <bruno@clisp.org>
  58. Define HAVE_LONGLONG and HAVE_LONGDOUBLE when cross-compiling.
  59. * autoconf/aclocal.m4 (CL_LONGLONG, CL_LONGDOUBLE): When cross-
  60. compiling, use the test code from gnulib.
  61. 2005-08-27 Bruno Haible <bruno@clisp.org>
  62. * autoconf/aclocal.m4 (CL_RUSAGE): Fix error when cross-compiling.
  63. 2005-08-16 Richard B. Kreckel <kreckel@ginac.de>
  64. The patch of 2005-05-01 made it impossible to test the type of a cl_UP
  65. by comparing with &cl_class_univpoly_ring. We need an alternative:
  66. * include/cln/object.h (cl_class_flags_modint_ring): New #define...
  67. * src/polynomial/elem/cl_UP.cc (cl_class_univpoly_ring): ...used here.
  68. * src/polynomial/elem/cl_UP_GF2.h: Likewise.
  69. * src/polynomial/elem/cl_UP_MI.h: Likewise.
  70. * src/polynomial/elem/cl_UP_gen.h: Likewise.
  71. * src/polynomial/elem/cl_UP_number.h: Likewise.
  72. 2005-08-15 Richard B. Kreckel <kreckel@ginac.de>
  73. * m4/cc.m4 (CL_AS_NOEXECSTACK): New macro...
  74. * configure.ac: ...used here for setting ASMFLAGS...
  75. * src/Makefile.in: ...which are used here.
  76. 2005-08-02 Andreas Jochens <aj@andaco.de>
  77. * include/cln/config.h.in: Add support for PowerPC 64 CPU.
  78. * include/cln/modules.h: Likewise.
  79. * include/cln/object.h: Likewise.
  80. * include/cln/types.h: Likewise.
  81. 2005-07-24 Richard B. Kreckel <kreckel@ginac.de>
  82. Make out of the box build on x86_64 system with complete 32 bit
  83. userland possible
  84. * include/cln/config.h.in: Don't #define __x86_64__ when
  85. __i386__ is defined.
  86. * src/base/digitseq/cl_asm_x86_64_.cc: New file.
  87. * doc/cln.tex: Revert workaround description introduced 2005-05-02.
  88. 2005-06-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  89. * Makefile.in: Don't enter nonexisting directories.
  90. 2005-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  91. Speed up the linking step
  92. * src/Makefile.in: Use -objectlist for linking libcln.la.
  93. 2005-05-15 Richard B. Kreckel <kreckel@ginac.de>
  94. * autoconf/ltmain.sh: Upgrade to libtool-1.5.16.
  95. * m4/libtool.m4: Upgrade to libtool-1.5.16 (without Comeau patch).
  96. 2005-05-02 Richard B. Kreckel <kreckel@ginac.de>
  97. * doc/cln.tex: Document what to do on a x86_64 machine with 32-bit
  98. userland.
  99. 2005-05-01 Richard B. Kreckel <kreckel@ginac.de>
  100. Fix crashes in find_univpoly_ring and related functions
  101. * include/cln/modinteger.h: Remove vptr from cl_heap_modint_ring;
  102. remove declaration of cl_class cl_class_modint_ring.
  103. * include/cln/univpoly.h: Remove vptr from cl_heap_univpoly_ring;
  104. remove declaration of cl_class_univpoly_ring.
  105. * include/cln/object.h: cl_class_flags_modint_ring: New #define...
  106. * src/modinteger/cl_MI.cc: ...used in cl_class_modint_ring.
  107. * src/modinteger/cl_MI_fix16.h: No vptr, but static dtor and type flag.
  108. * src/modinteger/cl_MI_fix29.h: Likewise.
  109. * src/modinteger/cl_MI_fix32.h: Likewise.
  110. * src/modinteger/cl_MI_int32.h: Likewise.
  111. * src/modinteger/cl_MI_montgom.h: Likewise.
  112. * src/modinteger/cl_MI_pow2: Likewise.
  113. * src/modinteger/cl_MI_pow2m1.h: Likewise.
  114. * src/modinteger/cl_MI_pow2p1.h: Likewise.
  115. * src/modinteger/cl_MI_std.h: Likewise.
  116. * src/polynomial/elem/cl_UP.cc (cl_make_univpoly_ring): Compare with
  117. cl_class_flags_modint_ring, not with cl_class_modint_ring.
  118. * src/polynomial/elem/cl_UP_GF2.h (cl_class_num_univpoly_ring): New.
  119. * src/polynomial/elem/cl_UP_MI.h (cl_class_modint_univpoly_ring): New.
  120. * src/polynomial/elem/cl_UP_gen.h (cl_class_gen_univpoly_ring): New.
  121. * src/polynomial/elem/cl_UP_number.h (cl_class_num_univpoly_ring): New.
  122. Reported by Ralf Goertz <R_Goertz@web.de>.
  123. 2005-04-29 Richard B. Kreckel <kreckel@ginac.de>
  124. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  125. * m4/cc.m4: Emit a warning if g++ is used and optimization turned off.
  126. 2005-04-24 Richard B. Kreckel <kreckel@ginac.de>
  127. Make GCC compiler flags default to -O
  128. * m4/cc.m4: New file...
  129. * configure.ac: ...used here.
  130. * autoconf/aclocal.m4: Regenerate.
  131. 2005-04-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  132. * include/cln/string.h: Declare cl_string.
  133. 2005-03-17 Richard B. Kreckel <kreckel@ginac.de>
  134. * autoconf/ltmain.sh: Upgrade to libtool-1.5.14.
  135. * m4/libtool.m4: Upgrade to libtool-1.5.14 with Comeau patch.
  136. * autoconf/aclocal.m4: Regenerate.
  137. 2005-03-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  138. * src/Makefile.in: Use $CXX instead of $CC when linking.
  139. 2005-02-27 Richard B. Kreckel <kreckel@ginac.de>
  140. * examples/perfnum.cc: update to presumed 42st Mersenne prime.
  141. 2004-11-28 Richard B. Kreckel <kreckel@ginac.de>
  142. Disambiguate binary operators of CLN types with float/double
  143. * include/cln/dfloat.h: Add binary operator overloads for arguments of
  144. type double.
  145. * include/cln/ffloat.h: Likewise, for arguments of type float.
  146. * include/cln/float.h: Likewise, both for arguments of types double and
  147. float.
  148. * include/cln/real.h: Likewise.
  149. Reported by Isidro Cachadiña Gutiérrez <icacha@unex.es>.
  150. 2004-11-03 Richard B. Kreckel <kreckel@ginac.de>
  151. * Version 1.1.9 released.
  152. 2004-10-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  153. * src/Makefile.in: Let config.status set LDFLAGS.
  154. 2004-10-27 Peter Breitenlohner <peb@mppmu.mpg.de>
  155. * cln.pc.in: Fix typo.
  156. * Makefile.in (INSTALL_SCRIPT): Added, to be used for scripts like
  157. cln-config. Allows us to do special things to binaries, like
  158. installing them with install -s.
  159. * doc/Makefile.in: add/remove the cln.info from the installed
  160. $(infodir)/dir unless this is debian install-info (code copied from
  161. what GNU automake would produce).
  162. 2004-10-26 Richard B. Kreckel <kreckel@ginac.de>
  163. * src/integer/input/cl_I_read_stream.cc (read_integer): Fix a bug
  164. that caused radix specifiers to not work when reading from a stream.
  165. * src/rational/input/cl_RA_read_stream.cc (read_rational): Likewise.
  166. * src/real/input/cl_R_read_stream.cc (read_real): Likewise.
  167. * src/float/input/cl_F_read_stream.cc (read_float): Likewise.
  168. * src/complex/input/cl_N_read_stream.cc (read_complex): Likewise.
  169. 2004-10-25 Richard B. Kreckel <kreckel@ginac.de>
  170. * src/base/cl_low.h: Add mulu64 assembler macro for ia64.
  171. 2004-10-24 Richard B. Kreckel <kreckel@ginac.de>
  172. * src/base/cl_low.h: Add mul and div macros for x86_64.
  173. 2004-10-23 Richard B. Kreckel <kreckel@ginac.de>
  174. * src/integer/conv/cl_I_from_digits.cc (digits_to_I): Fix thinko in
  175. new code for base power of two.
  176. 2004-10-22 Richard B. Kreckel <kreckel@ginac.de>
  177. * src/integer/conv/cl_I_to_digits (I_to_digits): Fix an elusive stack
  178. overwriting problem. That was the real cause for Debian bug#246319.
  179. * src/integer/output/cl_I_print.cc (print_integer): Revert workaround
  180. for the bug fixed above.
  181. 2004-10-20 Richard B. Kreckel <kreckel@ginac.de>
  182. * include/cln/types.h: Use 64 bit digits on x86_64 CPU.
  183. 2004-10-12 Richard B. Kreckel <kreckel@ginac.de>
  184. * src/integer/conv/cl_I_from_digits.cc (digits_to_I): Speedup when
  185. the base is a power of two.
  186. 2004-10-05 Richard B. Kreckel <kreckel@ginac.de>
  187. * src/integer/conv/cl_I_to_digits.cc (I_to_digits): Fix bug in base 32.
  188. 2004-09-27 Richard B. Kreckel <kreckel@ginac.de>
  189. Support for little-endian Mips, second shot
  190. * src/base/digitseq/cl_asm_mipsel_.cc: New file...
  191. * src/base/digitseq/cl_asm_cc: ...used here.
  192. * src/base/digitseq/cl_asm.h: Include cl_asm_mips.h for any endianness.
  193. * include/cln/object.h: Set alignment for mipsel explicitly.
  194. 2004-09-05 Richard B. Kreckel <kreckel@ginac.de>
  195. Support for little-endian Mips
  196. * include/cln/config.h.in: Add __mipsel__.
  197. * include/cln/modules.h: For Mips, this is endianness-agnostic.
  198. * src/base/digitseq/cl_asm_.cc, src/base/digitseq/cl_asm.h:
  199. Mask out assembler for little-endian Mips.
  200. 2004-08-30 Bruno Haible <bruno@clisp.org>
  201. * benchmarks/timebench2.sh: Multiply all repeat counts by 100.
  202. * benchmarks/timebench2.results: Add recent PowerPC G4 results.
  203. 2004-08-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  204. * examples/e.cc: remove extra semicolon.
  205. 2004-08-25 Bruno Haible <bruno@clisp.org>
  206. * autoconf/ltmain.sh: Upgrade to libtool-1.5.6.
  207. * m4/libtool.m4: New file, from libtool-1.5.6 with modifications:
  208. 2004-08-22 Bruno Haible <bruno@clisp.org>
  209. * m4/libtool.m4: Add support for Comeau C++ on Linux.
  210. Reported by Prof. Roberto Bagnara <bagnara@cs.unipr.it>.
  211. * autoconf/aclocal.m4: Regenerate.
  212. 2004-08-19 Bruno Haible <bruno@clisp.org>
  213. * include/cln/modules.h (CL_GLOBALIZE_JUMP_LABEL, CL_JUMP_TO): When
  214. converting a label to a string, use ASM_UNDERSCORE_PREFIX. Needed on
  215. MacOS X.
  216. Reported by Darren Bane <darren.bane@ul.ie>.
  217. 2004-07-01 Richard B. Kreckel <kreckel@ginac.de>
  218. * Version 1.1.8 released.
  219. 2004-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  220. * src/base/cl_macros.h: alloca(3) has size_t argument type.
  221. 2004-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  222. * include/cln/floatformat.h: Do define a type here.
  223. 2004-06-27 Richard B. Kreckel <kreckel@ginac.de>
  224. * include/cln/modules.h (CL_JUMP_TO): Fix AMD64 brokenness.
  225. 2004-06-23 Bruno Haible <bruno@clisp.org>
  226. * configure.ac: Pretend ftime() is not available. Needed by
  227. CL_TIMES_CLOCK.
  228. 2004-06-21 Ralf Stephan <ralf@ark.in-berlin.de>
  229. * doc/cln.tex: Document jacobi, isprobprime and nextprobprime.
  230. 2004-06-18 Richard B. Kreckel <kreckel@ginac.de>
  231. * rational/transcendental/cl_RA_logp.cc: fix bug where base is
  232. reciprocal of an integer.
  233. Reported by Niklas Knutsson <nq@altern.org>.
  234. 2004-06-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  235. * src/complex/ring/cl_C_ring.cc, src/integer/ring/cl_I_ring.cc,
  236. src/rational/ring/cl_RA_ring.cc, src/real/ring/cl_R_ring.cc:
  237. Make template specializations explicit.
  238. 2004-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  239. * src/complex/input/cl_N_read.cc, src/float/input/cl_F_read.cc,
  240. src/integer/input/cl_I_read.cc, src/rational/input/cl_RA_read.cc,
  241. src/real/input/cl_R_read.cc: Remove unused labels.
  242. 2004-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  243. * benchmarks/timebench1.cc, benchmarks/timebench2a.LiDIA.cc,
  244. benchmarks/timebench2a.cc, benchmarks/timebench2ap.cc,
  245. benchmarks/timebench2b.LiDIA.cc, benchmarks/timebench2b.cc,
  246. examples/atan_recip.cc, examples/atanh_recip.cc,
  247. examples/contfrac.cc, examples/e.cc, examples/legendre.cc,
  248. examples/lucaslehmer.cc, examples/pi.cc, include/cln/GV.h,
  249. include/cln/SV.h, include/cln/malloc.h, include/cln/modules.h,
  250. include/cln/object.h, include/cln/string.h, src/base/cl_abort.cc,
  251. src/base/cl_alloca.h, src/base/cl_malloc.cc,
  252. src/base/random/cl_random_from.cc,
  253. src/base/string/cl_spushstring_append.cc,
  254. src/base/string/cl_spushstring_push.cc,
  255. src/base/string/cl_st_debug.cc,
  256. src/base/string/input/cl_st_gettoken.cc,
  257. src/complex/input/cl_N_read.cc, src/float/input/cl_F_read.cc,
  258. src/float/output/cl_F_dprint.cc, src/integer/input/cl_I_read.cc,
  259. src/rational/input/cl_RA_read.cc,
  260. src/real/format-output/cl_fmt_integer.cc,
  261. src/real/format-output/cl_fmt_paddedstring.cc,
  262. src/real/input/cl_R_read.cc, src/timing/cl_t_current.cc,
  263. src/timing/cl_t_current2.cc, tests/exam.cc, tests/tests.cc,
  264. tests/timeLFRAmul.cc, tests/timeLFatan-compare.cc,
  265. tests/timeLFatan.cc, tests/timeLFatanh-compare.cc,
  266. tests/timeLFatanh.cc, tests/timeLFcos-compare.cc, tests/timeLFcos.cc,
  267. tests/timeLFcosh.cc, tests/timeLFexp-compare.cc, tests/timeLFexp.cc,
  268. tests/timeLFln-compare.cc, tests/timeLFln.cc,
  269. tests/timeLFsin-compare.cc, tests/timeLFsin.cc, tests/timeLFsinh.cc,
  270. tests/timeLFsqrt.cc, tests/timeMImisc5.cc, tests/timeMIpow2div.cc,
  271. tests/timeMIpow2recip.cc, tests/timeRALFdiv.cc, tests/timeRAtoLF.cc,
  272. tests/timeUPMImul.cc, tests/timecatalan.cc, tests/timediv.cc,
  273. tests/timediv2adic-compare.cc, tests/timediv2adic.cc,
  274. tests/timeeuler.cc, tests/timeexp1.cc, tests/timefact.cc,
  275. tests/timegcd.cc, tests/timemul-compare.cc, tests/timemul.cc,
  276. tests/timepi.cc, tests/timeprint-compare.cc, tests/timeprint.cc,
  277. tests/timerecip2adic-compare.cc, tests/timerecip2adic.cc,
  278. tests/timesqrt.cc, tests/timesqrtmodp.cc, tests/timesquare.cc,
  279. tests/timezeta3.cc: Change all C include headers to ISO style
  280. within C++ code.
  281. 2004-06-10 Richard B. Kreckel <kreckel@ginac.de>
  282. * examples/perfnum.cc: update to presumed 41st Mersenne prime.
  283. 2004-05-02 Richard B. Kreckel <kreckel@ginac.de>
  284. * Version 1.1.7 released.
  285. 2004-05-02 Richard B. Kreckel <kreckel@ginac.de>
  286. * examples/pi.cc and examples/pi.1: New files.
  287. * examples/Makefile.in: Build the pi executable.
  288. 2004-05-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  289. * src/Makefile.in: Fix for parallel build: wait for subdir objects to
  290. be finished before creating the library.
  291. 2004-04-30 Richard B. Kreckel <kreckel@ginac.de>
  292. * src/integer/output/cl_I_print.cc (print_integer): workaround
  293. GCC compiler bug (cf. Debian bug#246319).
  294. 2004-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  295. * m4/gmp.m4 (CL_GMP_CHECK): Do not lose LIBS setting with config.cache
  296. enabled.
  297. 2004-03-08 Bruno Haible <bruno@clisp.org>
  298. * src/float/lfloat/elem/cl_LF_mul.cc (operator*): Fix the second
  299. underflow condition.
  300. * src/float/lfloat/algebraic/cl_LF_sqrt.cc (sqrt): Fix a bug with large
  301. uexp whereby SQRT of MOST-POSITIVE-LONG-FLOAT was less than 1.
  302. 2004-03-04 Richard B. Kreckel <kreckel@ginac.de>
  303. * Makefile.in (install): Add ${srcdir} for cln.m4.
  304. * m4/gmp.m4: quote macro names.
  305. Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
  306. 2004-01-01 Richard B. Kreckel <kreckel@ginac.de>
  307. * Version 1.1.6 released.
  308. 2004-01-01 Richard B. Kreckel <kreckel@ginac.de>
  309. * include/cln/univpoly.h, include/cln/univpoly_complex.h,
  310. include/cln//univpoly_integer.h, include/cln/univpoly_modint.h,
  311. include/cln/univpoly_rational.h, include/cln/univpoly_real.h,
  312. src/polynomial/elem/cl_UP_GF2.h, src/polynomial/elem/cl_UP_MI.h,
  313. src/polynomial/elem/cl_UP_gen.h, src/polynomial/elem/cl_UP_no_ring.cc,
  314. src/polynomial/elem/cl_UP_number.h (ldegree): New function.
  315. * doc/cln.tex: Document `ldegree'.
  316. 2003-12-29 Richard B. Kreckel <kreckel@ginac.de>
  317. Rework of autoconfiscation infrastructure
  318. * autoconf/config.{guess,sub}: Update to GNU version 2003-10-07.
  319. * autoconf/ltmain.sh: Update to GNU version 1.4.3.
  320. * autoconf/autoconf: Remove (from now on we assume autoconf is
  321. installed properly on the sytem).
  322. * autoconf/autoconf.m4: Likewise.
  323. * autoconf/autoconf.m4f: Likewise.
  324. * autoconf/acgeneral.m4: Likewise.
  325. * autoconf/acspecific.m4: Likewise.
  326. * autoconf/aclocal.m4: Regenerate.
  327. * autoconf/acinclude.m4: Remove (while moving the macros...)
  328. * m4/gmp.m4: New file (...to here).
  329. * Makefile.devel: Update to new scheme.
  330. * configure.ac: Likewise.
  331. * include/cln/GV_integer.h: Assume template specializations work.
  332. * include/cln/GV_modinteger.h: Likewise.
  333. * include/cln/config.h.in: Likewise, and drop HAVE_BOOL.
  334. * src/base/cl_base_config.h.in: Drop support for obsolete ftime(3).
  335. * src/base/random/cl_random_from.cc: Likewise.
  336. * src/timing/cl_base_config.h.in: Likewise.
  337. * src/timing/cl_t_current.cc: Likewise.
  338. 2003-12-27 Richard B. Kreckel <kreckel@ginac.de>
  339. * src/polynomial/cl_UP_gen.h (gen_minus): Fix case where first
  340. argument is zero.
  341. * src/polynomial/cl_UP_MI.h (modint_minus): Likewise.
  342. * src/polynomial/cl_UP_number.h (num_minus): Likewise.
  343. Reported by Munagala Ramanath <amberarrow@yahoo.com>.
  344. 2003-12-02 Richard B. Kreckel <kreckel@ginac.de>
  345. * examples/perfnum.cc: update to presumed 40th Mersenne prime.
  346. 2003-11-20 Christian Bauer <cbauer@ginac.de>
  347. Added pkg-config support
  348. * cln.pc.in: New file.
  349. * Makefile.in: Take care of cln.pc.
  350. * configure.ac: Likewise.
  351. 2003-08-06 Richard B. Kreckel <kreckel@ginac.de>
  352. * src/numtheory/cl_nt_sqrtmodp.cc: #undef _R.
  353. Reported by Andrew Rechnitzer <A.Rechnitzer@ms.unimelb.edu.au>.
  354. 2003-08-01 Richard Kreckel <kreckel@ginac.de>
  355. More dependent base resolution issues
  356. * src/base/hash/cl_hash.h (cl_heap_hashtable<T>::iterator()):
  357. portable syntactic simplification.
  358. * src/base/hash/cl_hashset.h: Preceed inherited members with this->.
  359. * src/base/hash/cl_hash1.h: Likewise for member functions.
  360. * src/base/hash/cl_hash2.h: Likewise.
  361. * src/base/hash/cl_hashuniq.h: Likewise.
  362. * src/base/hash/cl_hashuniqweak.h: Likewise.
  363. * src/base/hash/cl_hash.h: Revert explicit static member function
  364. lookup since that was GCC's fault.
  365. * src/base/hash/cl_hash2weak.h: Likewise.
  366. * src/base/hash/cl_hashuniqweak.h: Likewise.
  367. 2003-06-29 Richard Kreckel <kreckel@ginac.de>
  368. Dependent base resolution needed for GCC-3.4
  369. * include/cln/GV.h: Preceed inherited members with this->.
  370. * include/cln/SV.h: Likewise.
  371. * include/cln/object.h: Likewise.
  372. * src/base/hash/cl_hash1.h: Likewise.
  373. * src/base/hash/cl_hash1weak.h: Likewise.
  374. * src/base/hash/cl_hash2.h: Likewise.
  375. * src/base/hash/cl_hashuniq.h: Likewise.
  376. * src/base/hash/cl_hash.h: Make lookup of static member function
  377. explicit.
  378. * src/base/hash/cl_hash2weak.h: Likewise.
  379. * src/base/hash/cl_hashuniqweak.h: Likewise.
  380. * src/modinteger/cl_MI.cc: Make shell-comment a C-comment. Geez.
  381. 2003-02-24 Bruno Haible <bruno@clisp.org>
  382. * src/base/random/cl_random_from.cc (random_state::random_state): Add
  383. support for MacOS X.
  384. * src/modinteger/cl_MI.cc: #undef _R.
  385. Reported by Erann Gat <gat@jpl.nasa.gov>.
  386. 2002-08-03 Joerg Arndt <jj@suse.de>
  387. * include/cln/config.h.in: Add support for x86_64 CPU.
  388. * include/cln/modules.h: Likewise.
  389. * include/cln/types.h: Likewise.
  390. * include/cln/object.h: Likewise.
  391. 2002-06-08 Richard Kreckel <kreckel@ginac.de>
  392. * src/base/digitseq/cl_asm.h: ensure intCsize==16 when including
  393. m68k Assembler routines.
  394. * src/base/digitseq/cl_asm_.cc: Likewise.
  395. 2002-05-28 Richard Kreckel <kreckel@ginac.de>
  396. * Version 1.1.5 released.
  397. 2002-05-27 Richard Kreckel <kreckel@ginac.de>
  398. * include/cln/modules.h (CL_CONCATENATE): New macro.
  399. 2002-05-10 Richard Kreckel <kreckel@ginac.de>
  400. * doc/cln.tex (Building the library): Update recommendations for
  401. compiling on Tru64 using g++ 3.0 and 3.1.
  402. * README: Update homepage.
  403. 2002-05-05 Bruno Haible <bruno@clisp.org>
  404. * doc/cln.tex (Building the library): Give some recommendations for
  405. g++ 3.0 and 3.1.
  406. Force link-time references despite optimizations done by g++ 2.95
  407. and newer.
  408. * include/cln/modules.h (CL_FORCE_LINK): New macro.
  409. * Use CL_FORCE_LINK.
  410. * include/cln/GV_integer.h (cl_GV_I_debug_dummy): Likewise.
  411. * include/cln/GV_number.h (cl_GV_number_debug_dummy): Likewise.
  412. * include/cln/SV_number.h (cl_SV_number_debug_dummy): Likewise.
  413. * include/cln/SV_ringelt.h (cl_SV_ringelt_debug_dummy): Likewise.
  414. * include/cln/dfloat.h (cl_DF_debug_dummy): Likewise.
  415. * include/cln/ffloat.h (cl_FF_classes_dummy, cl_FF_debug_dummy):
  416. Likewise.
  417. * include/cln/integer.h (cl_I_classes_dummy, cl_I_debug_dummy):
  418. Likewise.
  419. * include/cln/lfloat.h (cl_LF_debug_dummy): Likewise.
  420. * include/cln/modinteger.h (cl_MI_debug_dummy): Likewise.
  421. * include/cln/rational.h (cl_RA_debug_dummy): Likewise.
  422. * include/cln/real.h (cl_R_debug_dummy): Likewise.
  423. * include/cln/ring.h (cl_ring_debug_dummy): Likewise.
  424. * include/cln/sfloat.h (cl_SF_classes_dummy, cl_SF_classes_dummy):
  425. Likewise.
  426. * include/cln/string.h (cl_string_debug_dummy): Likewise.
  427. * include/cln/univpoly.h (cl_UP_debug_dummy): Likewise.
  428. * src/float/base/cl_ieee.h (cl_ieee_dummy_NNN): Likewise.
  429. Avoid g++ 3.1 warnings.
  430. * src/base/cl_offsetof.h (offsetof): Redefine each time.
  431. * src/base/digitseq/cl_DS.h: Include "cl_offsetof.h" after <gmp.h>.
  432. Avoid g++ 3.1 warnings.
  433. * src/base/hash/cl_hash.h (struct cl_heap_hashtable): Use typename
  434. where needed.
  435. * src/base/hash/cl_hash1.h (struct cl_heap_hashtable_1): typedef
  436. htxentry as a shortcut.
  437. * src/base/hash/cl_hash2.h (struct cl_heap_hashtable_2): Likewise.
  438. * src/base/hash/cl_hashset.h (struct cl_heap_hashtable_set): Likewise.
  439. * src/base/hash/cl_hashuniq.h (struct cl_heap_hashtable_uniq):
  440. Likewise.
  441. 2002-03-15 Bruno Haible <bruno@clisp.org>
  442. * cln.tex: Document problem with GNU make 3.77.
  443. Reported by Michael Somos <somos@grail.cba.csuohio.edu>.
  444. 2002-02-16 Richard Kreckel <kreckel@ginac.de>
  445. * cln.m4: quote macro name.
  446. Pointed out by Roberto Bagnara.
  447. 2002-01-20 Richard Kreckel <kreckel@ginac.de>
  448. * autoconf/config.{guess,sub}: Update to GNU version 2002-01-02.
  449. (the old one was broken on Linux/Mips.)
  450. 2002-01-04 Richard Kreckel <kreckel@ginac.de>
  451. * autoconf/autoconf.m4f: get brutal in order to adhere to FHS.
  452. * Version 1.1.4 released.
  453. 2002-01-03 Richard Kreckel <kreckel@ginac.de>
  454. * autoconf/acinclude.m4: revamp MPN-matcher.
  455. * autoconf/aclocal.m4: upgrade to autoconf-2.52 infrastructure,
  456. sync with CLisp from CVS.
  457. * autoconf/autoconf: Likewise.
  458. * autoconf/autoconf.m4f: Likewise (new file).
  459. * configure.ac: Likewise (new file, replaces configure.in).
  460. * configure.in: Likewise (deleted, replaced by configure.ac).
  461. * autoconf/config.{guess,sub}: Update to GNU version 2001-12-13.
  462. * src/Makefile.in: made VPATH safe for autoconf-2.52.
  463. * include/cln/config.h.in: Add __s390__.
  464. 2001-12-31 Richard Kreckel <kreckel@ginac.de>
  465. * src/base/digitseq/cl_DS.h: <gmp.h> is not included extern "C"
  466. any more since GMP4 has some C++ support in it.
  467. 2001-12-14 Richard Kreckel <kreckel@ginac.de>
  468. * include/cln/modules.h, include/cln/object.h: add support for
  469. s390.
  470. * src/numtheory/cl_nt_sqrtmodp.cc: workaround for GCC2.x compiler-bug
  471. on s390, provided by Gerhard Tonn.
  472. 2001-11-05 Richard Kreckel <kreckel@ginac.de>
  473. * autoconf/ltmain.sh: Upgrade to libtool-1.4.2.
  474. * autoconf/config.{guess,sub}: Update to GNU version 2001-09-07.
  475. * Version 1.1.3 released.
  476. 2001-11-04 Bruno Haible <haible@clisp.cons.org>
  477. Interoperability with gcc-3.0 -fuse-cxa-atexit.
  478. * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add test whether
  479. global destructors actually exist.
  480. * include/cln/modules.h (CL_PROVIDE, CL_PROVIDE_END, CL_PROVIDE_END):
  481. Don't hack the global destructors if there is no global destructors
  482. function.
  483. 2001-11-03 Richard Kreckel <kreckel@ginac.de>
  484. * src/float/transcendental/cl_F_sinx.cc (sinx_naive): For small
  485. values of x, return square(x) instead of x.
  486. * src/float/transcendental/cl_F_sinhx.cc (sinhx_naive): Likewise.
  487. 2001-07-25 Richard Kreckel <kreckel@ginac.de>
  488. * Version 1.1.2 released.
  489. 2001-07-24 Richard Kreckel <kreckel@ginac.de>
  490. * src/base/hash/cl_hash.h: declare _cl_hashtable_iterator<htentry> a
  491. friend of cl_heap_hashtable<htentry>.
  492. 2001-07-22 Richard Kreckel <kreckel@ginac.de>
  493. * src/float/base/cl_ieee.cc: try to do magic to the FPU only if
  494. _FPU_IEEE is really defined.
  495. * include/cln/modules.h: change assembler labels from `label' to
  496. `label:' on hppa, needed by Linux (see comment).
  497. * autoconf/acinclude.m4: new file (for storing CLN-specific macros).
  498. * Makefile.devel: adjusted.
  499. * autoconf/aclocal.m4: regenerate.
  500. * src/base/low/cl_low_mul.cc: moved POD variables that are declared
  501. extern "C" elsewhere out of the namespace.
  502. * src/base/low/cl_low_div.cc: Likewise.
  503. 2001-06-08 Bruno Haible <haible@clisp.cons.org>
  504. * autoconf/config.{guess,sub}: Update to GNU version 2001-05-11.
  505. * autoconf/aclocal.m4: Upgrade to libtool-1.4.
  506. * autoconf/ltmain.sh: Likewise.
  507. * autoconf/ltconfig: Remove file.
  508. * autoconf/install-sh: New file.
  509. * configure.in: Add AC_CONFIG_AUX_DIR call.
  510. 2001-06-05 Richard Kreckel <kreckel@ginac.de>
  511. * tests/tests.cc: resolve namespace ambiguity about strcmp().
  512. 2001-05-31 Richard Kreckel <kreckel@ginac.de>
  513. * Version 1.1.1 released.
  514. 2001-05-28 Richard Kreckel <kreckel@ginac.de>
  515. * cln/cln.tex: documented problems with shared library on Sparc
  516. using gcc older than 2.95.3.
  517. * configure.in: Fixed typos in versioning docu.
  518. 2001-05-25 Bruno Haible <haible@clisp.cons.org>
  519. * src/base/digitseq/cl_asm_arm_.cc: Use #0x instead of #& to designate
  520. hexadecimal constants.
  521. 2001-05-25 Richard Kreckel <kreckel@ginac.de>
  522. * autoconf/floatparam.c (double_wordorder_bigendian_p): new symbol.
  523. * src/float/dfloat/cl_DF.h: Check for double_wordorder_bigendian_p.
  524. * Removed LiDIA interface since that is now outdated (namespace cln)
  525. and maintained elsewhere.
  526. * Adjusted dates and final touches for 1.1.1.
  527. 2001-05-19 Richard Kreckel <kreckel@ginac.de>
  528. * INSTALL: Update toolchain info: no egcs, some more platforms.
  529. * doc/cln.tex: Likewise.
  530. 2001-05-18 Richard Kreckel <kreckel@ginac.de>
  531. * src/base/cl_low.h: prepended variables declared inside macros
  532. with underscore. Fixes equal_hashcode() on various platforms.
  533. 2001-04-25 Richard Kreckel <kreckel@ginac.de>
  534. * src/base/cl_low.h: Added several checks if NO_ASM is defined, so
  535. this definition becomes actually useful. This is needed for
  536. compilation on Arm until somebody fixes the assembler files for Arm.
  537. * src/base/digitseq/cl_asm.h: Likewise.
  538. * src/base/digitseq/cl_asm_.cc: Likewise.
  539. * */Makefile.in: Added `override' in front of `CPPFLAGS +=' so
  540. one can say `make CPPFLAGS=-DFOOBAR'.
  541. 2001-03-26 Arvid Norberg <c99ang@cs.umu.se>
  542. * src/base/random/cl_random_from.cc: ported to beos.
  543. 2001-03-05 Richard Kreckel <kreckel@ginac.de>
  544. * include/cln/modules.h (CL_JUMP_TO): Fix IA64 brokenness.
  545. 2001-01-28 Richard Kreckel <kreckel@ginac.de>
  546. * include/cln/number.h (cl_as_N): Remove bogus comment.
  547. 2001-01-22 Richard Kreckel <kreckel@ginac.de>
  548. * configure.in: Make build in separate builddir possible (again).
  549. 2001-01-22 Richard Kreckel <kreckel@ginac.de>
  550. * include/cln/*.h: Change signatures of all classes' methods
  551. cln::cl_foo::operator new(size_t, cl_foo*) to
  552. cln::cl_foo::operator new(size_t, void*) so one can declare
  553. std::vector<cln::cl_foo>, std::list<cln::cl_foo> etc. for
  554. certain STL implementations (like libstdc++-v3).
  555. 2000-12-14 Richard Kreckel <kreckel@ginac.de>
  556. * Version 1.1 released.
  557. 2000-12-13 Richard Kreckel <kreckel@ginac.de>
  558. * */*: cl_istream -> std::istream, cl_ostream -> std::ostream.
  559. 2000-12-05 Richard Kreckel <kreckel@ginac.de>
  560. * Makefile.in, src/Makefile.in, doc/Makefile.in: Use mkdir -p.
  561. * include/cln/version.h.in, src/base/verion.cc: New files.
  562. * configure.in: Generate include/cln/version.h.
  563. * cln.m4: Rewrote it. Check result of cln-config without compiling.
  564. Do cross-check library version and header version information.
  565. 2000-12-02 Christian Bauer <cbauer@ginac.de>
  566. * Makefile.in, src/Makefile.in, doc/Makefile.in: Added $DESTDIR.
  567. * cln.m4, cln.spec.in: some minor fixes with respect to RPM package
  568. building.
  569. 2000-11-24 Richard Kreckel <kreckel@ginac.de>
  570. * */*: Removed problematic stdin, stdout and stderr definitions.
  571. Use std::cin, std::cout, std::cerr instead (obsoletes 2000-10-29).
  572. 2000-11-20 Bruno Haible
  573. * cln-config.1: change title.
  574. 2000-11-18 Richard Kreckel <kreckel@ginac.de>
  575. * cln.m4: New file.
  576. * doc/cln.tex: Document package tools cln-config and cln.m4.
  577. * Makefile.in: Care about cln.m4.
  578. 2000-11-17 Richard Kreckel <kreckel@ginac.de>
  579. * cln-config.1: added manpage, as required by a couple of distros.
  580. * Makefile.in, doc/Makefile.in: target install depends on installdirs.
  581. 2000-11-16 Richard Kreckel <kreckel@ginac.de>
  582. * autoconf/aclocal.m4 (CL_GMP_SET_UINTD): New macro...
  583. * configure.in: ...used here.
  584. * include/cln/config.h.in: Put in macros defined by CL_GMP_SET_UINTD...
  585. * include/cln/types.h: ...used here.
  586. * autoconf/acgeneral.m4, autoconf/aclocal.m4: Adhere to FHS.
  587. 2000-11-13 Richard Kreckel <kreckel@ginac.de>
  588. * src/base/digitseq/cl_asm.h: Test if (intDsize==32) for MIPS and HPPA,
  589. in order to guard against an accidented configuration.
  590. * src/integer/conv/cl_I_to_digits.cc (table): member b_hoch_k of
  591. struct power_table_entry initialized as ULL instead of as UL, if
  592. intDsize==64 (caused misprinting on MIPS w/ GMP).
  593. * src/base/cl_macros.h (minus_bitm, bitc): implemented ULL, if
  594. HAVE_FAST_LONGLONG.
  595. * src/integer/bitwise/cl_I_mkfx.cc (mkf_extract): Likewise.
  596. * src/integer/conv/cl_I_from_L.cc (cl_I_from_L): Added trival
  597. generation of Bignum for intDsize==64 and a notreached-check at end.
  598. * autoconf/config.guess, autoconf/config.sub: updated from FSF.
  599. * include/cln/config.h.in: Prepared support for IA64.
  600. * include/cln/types.h: Likewise.
  601. * include/cln/object.h: Likewise.
  602. * include/cln/modules.h: Likewise.
  603. * src/base/cl_macros.h (nonreturning_function): Likewise (NUE's
  604. compiler claims __GNUC_MINOR__==9).
  605. 2000-11-03 Richard Kreckel <kreckel@ginac.de>
  606. * src/base/cl_macros.h (bit, minus_bit): changed criterion for ULL from
  607. HAVE_DD to HAVE_FAST_LONGLONG.
  608. * src/base/cl_macros.h (bitm): implemented ULL, if HAVE_FAST_LONGLONG.
  609. * src/base/cl_low.h: actually no need to include "cln/types.h" here.
  610. * src/base/cl_low.h (logcount_64): always ULL, independent of HAVE_DD.
  611. * src/base/random/cl_UL_random.cc (random32): a is always ULL.
  612. 2000-11-01 Richard Kreckel <kreckel@ginac.de>
  613. * include/cln/object.h (cl_combine): define additional signatures, if
  614. HAVE_LONGLONG is defined, in order to keep the compiler happy.
  615. * src/base/cl_macros.h: include "cln/types.h", since we need HAVE_DD...
  616. * src/base/cl_macros.h (bit): ...for this macro...
  617. * src/base/cl_macros.h (minus_bit): ...and this one.
  618. * src/base/cl_low.h: include "cln/types.h", since we need HAVE_DD...
  619. * src/base/cl_low.h (logcount_64): ...for this macro.
  620. * src/base/random/cl_UL_random.cc (random32): if HAVE_DD a is an ULL.
  621. * src/integer/gcd/cl_I_gcd_aux2.cc (floorDD): fixed algorithmic bug.
  622. that turned up when intDsize==32 and cl_word_size==64.
  623. * src/float/dfloat/elem/cl_DF_div.cc (operator/): fixed a missing cast
  624. to uint64 that turned up when intDsize==32 and cl_word_size==64.
  625. 2000-10-29 Richard Kreckel <kreckel@ginac.de>
  626. * src/real/input/cl_R_read.cc, src/complex/input/cl_N_read.cc:
  627. #undef stderr, if it's defined so cln::stderr isn't confused.
  628. * src/base/input/cl_read_globals.cc: stdin should not be extern.
  629. 2000-09-05 Richard Kreckel <kreckel@ginac.de>
  630. * include/cln/number.h (As): Fix it in namespace by suffixing `_As'
  631. to the appropiate method instead of prefixing `as_'.
  632. * src/complex/misc/cl_N_as.cc (cl_N_As): Likewise.
  633. * src/real/misc/cl_R_as.cc (cl_R_As): Likewise.
  634. * src/rational/misc/cl_RA_as.cc (cl_RA_As): Likewise.
  635. * src/integer/misc/cl_I_as.cc (cl_I_As): Likewise.
  636. * src/float/misc/cl_F_as.cc (cl_F_As): Likewise.
  637. * src/float/sfloat/misc/cl_SF_as.cc (cl_SF_As): Likewise.
  638. * src/float/lfloat/misc/cl_LF_as.cc (cl_LF_As): Likewise.
  639. * src/float/ffloat/misc/cl_FF_as.cc (cl_FF_As): Likewise.
  640. * src/float/dfloat/misc/cl_DF_as.cc (cl_DF_As): Likewise.
  641. 2000-09-05 Richard Kreckel <kreckel@ginac.de>
  642. * src/complex/transcendental/cl_C_expt_C.cc (expt): fix logic for
  643. the 0^y cases.
  644. 2000-08-30 Richard Kreckel <kreckel@ginac.de>
  645. * include/cln/number.h, cl_number::_as_cl_private_thing(): removed.
  646. Rearranged for a clearer distinction between macros and remaining
  647. identifiers, so Cint can parse it smoothly.
  648. 2000-08-29 Richard Kreckel <kreckel@ginac.de>
  649. * include/cln/number.h, the(const cl_number& x): New template
  650. function.
  651. 2000-08-29 Richard Kreckel <kreckel@ginac.de>
  652. * */*: Pushed CLN into a namespace `cln'. While doing so, the
  653. following identifiers got their poor-man's namespace (i.e. the
  654. prefix `cl_') stripped off:
  655. cl_catalanconst() -> catalanconst()
  656. cl_compare() -> compare()
  657. cl_cos_sin() -> cos_sin()
  658. cl_cos_sin_t -> cos_sin_t
  659. cl_cosh_sinh() -> cosh_sinh()
  660. cl_cosh_sinh_t -> cosh_sinh_t
  661. cl_decoded_dfloat -> decoded_dfloat
  662. cl_decoded_ffloat -> decoded_ffloat
  663. cl_decoded_float -> decoded_float
  664. cl_decoded_lfloat -> decoded_lfloat
  665. cl_decoded_sfloat -> decoded_sfloat
  666. cl_default_float_format -> default_float_format
  667. cl_default_print_flags -> default_print_flags
  668. cl_default_random_state -> default_random_state
  669. cl_double_approx() -> double_approx()
  670. cl_equal() -> equal()
  671. cl_equal_hashcode() -> equal_hashcode()
  672. cl_eulerconst() -> eulerconst()
  673. cl_find_modint_ring() -> find_modint_ring()
  674. cl_find_univpoly_ring() -> find_univ_poly_ring()
  675. cl_float_approx() -> float_approx
  676. cl_float_format() -> float_format()
  677. cl_float_format_t -> float_format_t
  678. cl_free_hook() -> free_hook()
  679. cl_hermite() -> hermite()
  680. cl_laguerre() -> laguerre()
  681. cl_legendre() -> legandre()
  682. cl_malloc_hook() -> malloc_hook()
  683. cl_pi() -> pi()
  684. cl_tschebychev() -> tschebychev()
  685. cl_zeta() -> zeta()
  686. NB: For functions these changes includes all signatures.
  687. * include/*: moved to include/cln/*, stripped `cl_' off filenames.
  688. * cln-config.in: new file.
  689. 2000-08-26 Bruno Haible <haible@clisp.cons.org>
  690. * autoconf/acgeneral.m4 (AC_OUTPUT): Use braces in exec_prefix default
  691. value, not parens.
  692. 2000-08-18 Bruno Haible <haible@clisp.cons.org>
  693. * include/cl_univpoly_modint.h: Fix typo.
  694. 2000-07-13 Bruno Haible <haible@clisp.cons.org>
  695. * src/float/input/cl_F_read_stream.cc (number_char_p): Accept '_',
  696. used as precision marker for floats.
  697. Reported by Keith Briggs (in 1998) and Thomas Roessler.
  698. * src/integer/input/cl_I_read_stream.cc (number_char_p): Likewise.
  699. * src/rational/input/cl_RA_read_stream.cc (number_char_p): Likewise.
  700. * src/real/input/cl_R_read_stream.cc (number_char_p): Likewise.
  701. * src/complex/input/cl_N_read_stream.cc (number_char_p): Likewise.
  702. 2000-06-22 Bruno Haible <haible@clisp.cons.org>
  703. * include/cl_object.h: Rename cl_word_size to cl_pointer_size.
  704. * include/cl_types.h (HAVE_FAST_LONGLONG): Also define on Irix6
  705. with N32 ABI.
  706. (cl_word_size): New macro.
  707. * src/float/sfloat/cl_SF.h: Use cl_pointer_size instead of
  708. cl_word_size.
  709. 2000-05-31 Bruno Haible <haible@clisp.cons.org>
  710. * tests/exam_I_floor.cc (integer_floor_tests): Add one more entry.
  711. From a sample that fails with gcc-2.95.2 on Sparc.
  712. * tests/exam_I_gcd.cc (integer_gcd_tests): Likewise.
  713. 2000-05-30 Richard Kreckel <kreckel@ginac.de>
  714. * configure.in, autoconf/aclocal.m4 (CL_GMP_H_VERSION, CL_GMP_CHECK):
  715. New macros.
  716. * configure.in, include/cl_config.h.in (CL_VERSION, CL_VERSION_MINOR,
  717. CL_VERSION_PATCHLEVEL): New definitions.
  718. * autoconf/config.guess, autoconf/config.sub, autoconf/ltconfig,
  719. autoconf/ltmain.sh: updated from FSF (libtool 1.3.5, etc).
  720. * src/Makefile.in, configure.in: release-variables renamed from
  721. CLN_* to CL_*.
  722. * configure.in: default to build both shared and static library
  723. (i.e. default to the most common behaviour).
  724. 2000-05-29 Richard Kreckel <kreckel@ginac.de>
  725. * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Added missing changequote
  726. environment around the patch of 2000-05-23.
  727. 2000-05-29 Bruno Haible <haible@clisp.cons.org>
  728. * autoconf/aclocal.m4 (CL_PROG_INSTALL): Fix typo.
  729. Reported by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>.
  730. 2000-05-27 Richard Kreckel <kreckel@ginac.de>
  731. * src/float/lfloat/algebraic/cl_LF_sqrt.cc,
  732. src/base/digitseq/cl_DS_sqrt.cc: Readjusted break-even points.
  733. 2000-05-24 Richard Kreckel <kreckel@ginac.de>
  734. * autoconf/config.*: Updated to new version from FSF
  735. (the new libtool wants this).
  736. * src/Makefile.in: added $(LDFLAGS) to link step.
  737. * src/base/digitseq/cl_2DS_div.cc, cl_2DS_recip.cc: Readjusted
  738. break-even points.
  739. 2000-05-23 Bruno Haible <haible@clisp.cons.org>
  740. * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Determine host_cpu,
  741. host_vendor, host_os correctly if $host has more than two hyphens.
  742. 2000-05-19 Richard Kreckel <kreckel@ginac.de>
  743. * src/base/digitseq/cl_DS_mul.cc: Rearranged break-even points to
  744. better match present-day CPUs whenever GMP3 is used.
  745. * src/base/digitseq/cl_DS_div.cc: dto.
  746. * src/TUNING: Added comment about order of tuning.
  747. * configure, configure.in: Safer GMP3-detection.
  748. * INSTALL.generic: Clarified behaviour of --with-gmp.
  749. * autoconf/config.guess: updated from Clisp-2000-03-06 sources.
  750. 2000-05-04 Richard Kreckel <kreckel@ginac.de>
  751. * gmp/: removed completely. From now on we are going to link
  752. externally against libgmp3.0 or above!
  753. * configure, configure.in, Makefile.in, */Makeflags: removed support
  754. of internal gmp 2.0.2, like $GMP_INCLUDES, which should be done by
  755. setting $CPPFLAGS instead.
  756. * Makefile.in: Added libtool inter-library dependency for -lgmp and
  757. conforming interface versioning (-version-info).
  758. * autoconf/ltconfig, autoconf/ltmain.sh: Updated to newer versions
  759. from libtool 1.3.4.
  760. 2000-02-22 Bruno Haible <haible@clisp.cons.org>
  761. * src/base/digitseq/cl_asm_mips_.cc: Starting at argument 5 the
  762. parameter passing was changed for the MIPS n32 ABI.
  763. 2000-01-24 Richard Kreckel <kreckel@ginac.de>
  764. * gmp/*: Replaced the complete mpn sources with the ones from
  765. Debian since they are maintained while the ones from FSF
  766. aren't and there were problems on some architectures, PowerPC
  767. in particular. See the file gmp/README.CLN. This way the
  768. hard links in this directory have vanished, they were causing
  769. trouble for people working in AFS. This became necessary for
  770. Debian, because there it woudn't compile on PPC.
  771. 2000-01-13 Richard Kreckel <kreckel@ginac.de>
  772. * Version 1.0.3 released.
  773. 2000-01-13 Richard Kreckel <kreckel@ginac.de>
  774. * src/base/cl_macros.h (nonreturning_function): For egcs and newer
  775. use __attribute__ ((__noreturn__)) instead of the __volatile__
  776. storage class.
  777. (nonreturning): Remove macro.
  778. * include/*: Minor fixes to stop -ansi -pedantic from complaining.
  779. * include/cl_integer.h: (doublefactorial): New declaration.
  780. * src/integer/misc/combin/cl_I_doublefactorial.cc: New file.
  781. 1999-12-18 Bruno Haible <haible@clisp.cons.org>
  782. * autoconf/acgeneral.m4 (AC_ARG_PROGRAM): Create conftestsed using
  783. "cat", not "echo".
  784. * autoconf/ltconfig: Improve support for recent FreeBSD 3.
  785. * include/cl_GV.h (cl_GV_vectorops): Change return type from 'T' to
  786. 'const T', to match definition in src/vector/cl_GV_number.cc.
  787. Reported by Duncan Simpson <dps@io.stargate.co.uk>.
  788. * gmp/mpn/Makefile.in (.S.lo): Use 'if', not '&&', because '&&' may
  789. yield return code 1.
  790. 1999-09-07 Bruno Haible <haible@clisp.cons.org>
  791. * Version 1.0.2 released.
  792. 1999-09-06 Bruno Haible <haible@clisp.cons.org>
  793. * src/rational/cl_RA.h (integerp, ratiop): Instead of returning a
  794. boolean expression, write alternatives ending with either
  795. "return cl_true;" or "return cl_false;". This way, g++ does a
  796. better job inlining it.
  797. * src/float/cl_F.h (longfloatp): Likewise.
  798. * src/real/cl_R.h (rationalp, integerp, floatp): Likewise.
  799. * src/complex/cl_C.h (realp, complexp): Likewise.
  800. 1999-09-05 Bruno Haible <haible@clisp.cons.org>
  801. * include/cl_integer.h (cl_equal_hashcode): New declaration.
  802. * include/cl_rational.h (cl_equal_hashcode): New declaration.
  803. * include/cl_sfloat.h (cl_equal_hashcode): New declaration.
  804. * include/cl_ffloat.h (cl_equal_hashcode): New declaration.
  805. * include/cl_dfloat.h (cl_equal_hashcode): New declaration.
  806. * include/cl_lfloat.h (cl_equal_hashcode): New declaration.
  807. * include/cl_float.h (cl_equal_hashcode): New declaration.
  808. * include/cl_real.h (cl_equal_hashcode): New declaration.
  809. * include/cl_complex.h (cl_equal_hashcode): New declaration.
  810. * src/base/cl_N.h (equal_hashcode_low, equal_hashcode_one): New macros.
  811. * src/integer/misc/cl_I_eqhashcode.cc: New file.
  812. * src/rational/misc/cl_RA_eqhashcode.cc: New file.
  813. * src/float/sfloat/misc/cl_SF_eqhashcode.cc: New file.
  814. * src/float/ffloat/misc/cl_FF_eqhashcode.cc: New file.
  815. * src/float/dfloat/misc/cl_DF_eqhashcode.cc: New file.
  816. * src/float/lfloat/misc/cl_LF_eqhashcode.cc: New file.
  817. * src/float/misc/cl_F_eqhashcode.cc: New file.
  818. * src/real/misc/cl_R_eqhashcode.cc: New file.
  819. * src/complex/misc/cl_C_eqhashcode.cc: New file.
  820. * doc/cln.tex: Document `cl_equal_hashcode'.
  821. 1999-09-05 Bruno Haible <haible@clisp.cons.org>
  822. * include/cl_ring.h (cl_number_ring_ops): Add `contains' member.
  823. (cl_number_ring): New class.
  824. (cl_specialized_number_ring<T>): Inherit from cl_number_ring.
  825. (instanceof): New function.
  826. * src/integer/ring/cl_I_ring.cc (cl_I_p): New function.
  827. * src/integer/misc/cl_I_as.cc (cl_I_p): Add comment.
  828. * src/rational/ring/cl_RA_ring.cc (cl_RA_p): New function.
  829. * src/rational/misc/cl_RA_as.cc (cl_RA_p): Add comment.
  830. * src/real/ring/cl_R_ring.cc (cl_R_p): New function.
  831. * src/real/misc/cl_R_as.cc (cl_R_p): Add comment.
  832. * src/complex/ring/cl_C_ring.cc (cl_N_p): New function.
  833. * src/complex/misc/cl_N_as.cc (cl_N_p): Add comment.
  834. * doc/cln.tex: Document `instanceof'.
  835. 1999-09-05 Bruno Haible <haible@clisp.cons.org>
  836. * include/cl_rational.h (numerator, denominator): New declarations.
  837. * src/rational/elem/cl_RA_numerator.cc: New file.
  838. * src/rational/elem/cl_RA_denominator.cc: New file.
  839. * include/cl_integer.h (numerator, denominator): New inline functions.
  840. * doc/cln.tex: Document `numerator' and `denominator'.
  841. 1999-09-05 Bruno Haible <haible@clisp.cons.org>
  842. * src/rational/algebraic/cl_RA_rootp.cc (rootp): Fix endless loop
  843. in the integer case.
  844. * src/rational/algebraic/cl_RA_rootp_I.cc (rootp): Likewise.
  845. 1999-09-05 Bruno Haible <haible@clisp.cons.org>
  846. * include/cl_config.h.in: Support for sparc64 CPU.
  847. * include/cl_modules.h: Likewise.
  848. * include/cl_types.h: Likewise.
  849. * include/cl_object.h: Likewise.
  850. * include/cl_GV.h: Likewise.
  851. * src/Makefile.in: Likewise.
  852. * src/base/cl_alloca.h: Likewise.
  853. * src/base/cl_macros.h: Likewise.
  854. * src/base/cl_sysdep.h: Likewise.
  855. * src/base/cl_low.h: Likewise.
  856. * src/base/digitseq/cl_asm.h: Likewise.
  857. * src/base/digitseq/cl_asm_.cc: Likewise.
  858. * src/base/digitseq/cl_asm_sparc64.h: New file.
  859. * src/base/digitseq/cl_asm_sparc64_.cc: New file.
  860. * src/modinteger/cl_MI_int.h: Support for sparc64 CPU.
  861. * src/polynomial/elem/cl_UP_no_ring.cc: Likewise.
  862. * src/polynomial/elem/cl_UP_GF2.h: Likewise.
  863. * src/polynomial/elem/cl_asm_GF2.cc: Likewise.
  864. 1999-09-04 Bruno Haible <haible@clisp.cons.org>
  865. * src/base/digitseq/cl_asm_sparc_.cc (orc2_loop_up, orc2_loop_down):
  866. Use the `orn' instruction.
  867. 1999-08-14 Bruno Haible <haible@clisp.cons.org>
  868. Assume all platforms have <stdlib.h> and clock_t.
  869. * configure.in: Don't call CL_STDLIB_H and CL_CLOCK_T.
  870. * src/base/cl_base_config.h.in (CLOCK_T): Remove definition.
  871. * src/base/random/cl_random_from.cc: Use clock_t instead of CLOCK_T.
  872. * src/timing/cl_t_config.h.in (CLOCK_T): Remove definition.
  873. * src/timing/cl_t_current2.cc: Use clock_t instead of CLOCK_T.
  874. 1999-07-18 Bruno Haible <haible@clisp.cons.org>
  875. * gmp/config.guess: Link to autoconf/config.guess.
  876. gmp/config.sub: Link to autoconf/config.sub.
  877. Needed for Win32 platforms.
  878. 1999-07-17 Bruno Haible <haible@clisp.cons.org>
  879. * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Distinguish "sparc" and
  880. "sparc64" according to the C compiler, not the uname result.
  881. 1999-06-17 Bruno Haible <haible@clisp.cons.org>
  882. * src/base/digitseq/cl_asm_sparc_.cc (compare_loop_up): Fix
  883. COUNTER_LOOPS version, fortunately not used yet.
  884. * include/cl_modules.h: Prepare for gcc version 3.
  885. 1999-06-12 Bruno Haible <haible@clisp.cons.org>
  886. * src/rational/elem/cl_RA_plus.cc, src/rational/elem/cl_RA_minus.cc:
  887. Change the last call from I_I_to_RT to I_I_to_RA.
  888. 1999-06-09 Bruno Haible <haible@clisp.cons.org>
  889. * Version 1.0.1 released.
  890. 1999-06-09 Bruno Haible <haible@clisp.cons.org>
  891. * src/integer/cl_I.h (pFN_maxlength_digits_at): Define also when
  892. intDsize==64.
  893. 1999-06-08 Bruno Haible <haible@clisp.cons.org>
  894. * autoconf/intparam.c (printf_underscored): Change argument type to
  895. `const char*'.
  896. * include/cl_modules.h (CL_OUTPUT_LABEL, CL_JUMP_TO): New macros.
  897. (CL_PROVIDE, CL_PROVIDE_END): Use them.
  898. * include/cl_string.h (cl_heap_string::operator new): Return 1, not 0.
  899. * include/cl_GV.h (cl_GV_inner<T>::operator new): Likewise.
  900. * src/base/ring/cl_no_ring.cc (dummy_canonhom, dummy_expt_pos): Don't
  901. cast a cl_I to void here. Works around a bug in g++-2.95.
  902. * src/complex/misc/cl_C_class.cc: Include "cl_C.h".
  903. * src/polynomial/elem/cl_UP_no_ring.cc (dummy_canonhom,
  904. dummy_expt_pos): Don't cast a cl_I to void here. Works around a bug
  905. in g++-2.95.
  906. * src/polynomial/elem/cl_asm_sparc_GF2.cc (DECLARE_FUNCTION): New
  907. macro.
  908. * src/rational/misc/cl_RA_class.cc: Include "cl_RA.h".
  909. * src/vector/cl_GV_I.cc (cl_heap_GV_I_general::operator new,
  910. DEFINE_cl_heap_GV_I_bits): Return 1, not 0.
  911. * src/vector/cl_GV_number.cc (cl_heap_GV_number_general::operator new):
  912. Likewise.
  913. 1999-06-01 Bruno Haible <haible@clisp.cons.org>
  914. * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Canonicalize alpha
  915. variants to alpha.
  916. 1999-05-29 Bruno Haible <haible@clisp.cons.org>
  917. * src/base/digitseq/cl_asm_i386_.cc (DECLARE_FUNCTION): Treat
  918. OpenBSD like NetBSD.
  919. * src/base/digitseq/cl_asm_sparc_.cc (DECLARE_FUNCTION): Likewise.
  920. * src/base/digitseq/cl_asm_m68k_.cc (DECLARE_FUNCTION): Treat
  921. OpenBSD like NetBSD, and Linux/ELF like SVR4.
  922. 1999-05-16 Bruno Haible <haible@clisp.cons.org>
  923. * src/base/cl_low.h (integerlength32) [__rs6000__]: Use old assembler
  924. syntax on AIX systems and new assembler syntax on non-AIX systems.
  925. 1999-05-01 Bruno Haible <haible@clisp.cons.org>
  926. * autoconf/config.guess, autoconf/config.sub: Upgrade to newest
  927. version from GNU CVS.
  928. 1999-04-24 Bruno Haible <haible@clisp.cons.org>
  929. * src/integer/bitwise/cl_I_logand.cc (logand): Optimize the case when
  930. either operand is a positive fixnum, O(1) instead of O(N).
  931. * src/integer/bitwise/cl_I_lognand.cc (lognand): Likewise.
  932. * src/integer/bitwise/cl_I_logandc2.cc (logandc2): Likewise for the
  933. first operand.
  934. 1999-04-14 Bruno Haible <haible@clisp.cons.org>
  935. * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add check whether
  936. ctor/dtor needs to be exported.
  937. * include/cl_config.h.in (CL_NEED_GLOBALIZE_CTORDTOR): New macro.
  938. * include/cl_modules.h (CL_GLOBALIZE_JUMP_LABEL): Renamed from
  939. CL_GLOBALIZE_LABEL.
  940. (CL_GLOBALIZE_LABEL): New macro.
  941. (CL_GLOBALIZE_CTORDTOR_LABEL): Renamed from CL_GLOBALIZE_ASM_LABEL.
  942. (CL_PROVIDE): Update.
  943. 1999-04-12 Bruno Haible <haible@clisp.cons.org>
  944. * src/Makefile.in ($(ASMFILES_S)): On HPPA, ignore preprocessing
  945. errors ("unterminated string or character constant").
  946. ($(ASMFILES_LO)): On HPPA, try with various settings of
  947. COMPILER_PATH, in order to try /usr/ccs/bin/as and /bin/as.
  948. 1999-04-11 Bruno Haible <haible@clisp.cons.org>
  949. * INSTALL: Mention gmp problems on MIPS.
  950. * doc/cln.tex: Likewise.
  951. 1999-03-24 Mumit Khan <khan@xraylith.wisc.edu>
  952. * src/Makefile.in (SUBDIRS): Filter out CVS and RCS directories from
  953. the source tree.
  954. * include/cl_modules.h (CL_GLOBALIZE_LABEL): Define for Win32.
  955. (CL_GLOBALIZE_ASM_LABEL): New macro.
  956. (CL_PROVIDE): Use it.
  957. * src/base/random/cl_random_from.cc: Handle WIN32.
  958. * src/timing/cl_t_current.cc: Likewise.
  959. 1999-03-15 Bruno Haible <haible@clisp.cons.org>
  960. * autoconf/intparam.c (main7): Use %lX instead of %X for a `long'.
  961. (main8): Adapt for C++.
  962. 1999-03-09 Bruno Haible <haible@clisp.cons.org>
  963. * INSTALL: Mention egcs-1.1 problems on Sparc.
  964. * doc/cln.tex: Likewise.
  965. 1999-03-08 Bruno Haible <haible@clisp.cons.org>
  966. * autoconf/aclocal.m4 (CL_FPU_CONTROL): Fix the "checking for"
  967. messages.
  968. 1999-02-25 Bruno Haible <haible@clisp.cons.org>
  969. * autoconf/aclocal.m4: In test programs, declare `int main()', not
  970. `main()'.
  971. * lidia-interface/src/interfaces/integers/cln/bigint.c
  972. (bigint_to_string): Fix for negative arguments.
  973. * src/base/cl_low.h: Check for `__sparc__', not `SPARC'.
  974. * src/base/cl_alloca.h: Likewise.
  975. * src/base/cl_low.h: Eliminate CLISP style "# " comments.
  976. * src/base/digitseq/cl_asm_arm_.cc,
  977. src/base/digitseq/cl_asm_mips_.cc,
  978. src/float/dfloat/elem/cl_DF_mul.cc: Likewise.
  979. * src/modinteger/cl_MI_pow2.h,
  980. src/modinteger/cl_MI_pow2m1.h,
  981. src/modinteger/cl_MI_pow2p1.h: Workaround g++-2.7.2 inlining bug.
  982. 1999-01-18 Bruno Haible <haible@clisp.cons.org>
  983. * autoconf/acgeneral.m4,
  984. autoconf/acspecific.m4: Upgrade to autoconf-2.13.
  985. * autoconf/config.guess, autoconf/config.sub: Likewise.
  986. * autoconf/aclocal.m4 (CL_ALLOCA): Test for _MSC_VER and alloca being
  987. a macro. Use ${ac_objext}.
  988. * src/base/cl_macros.h (alloca): Put _MSC_VER test before the others,
  989. conforming with CL_ALLOCA.
  990. 1999-01-12 Bruno Haible <haible@clisp.cons.org>
  991. * Version 1.0 released.