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