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