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.

1248 lines
49 KiB

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