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.

932 lines
38 KiB

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