1 2003-02-21 Bruno Haible <bruno@clisp.org>
3 * src/base/random/cl_random_from.cc (random_state::random_state): Add
5 Reported by Erann Gat <gat@jpl.nasa.gov>.
7 2002-08-03 Joerg Arndt <jj@suse.de>
9 * include/cln/config.h.in: Add support for x86_64 CPU.
10 * include/cln/modules.h: Likewise.
11 * include/cln/types.h: Likewise.
12 * include/cln/object.h: Likewise.
14 2002-06-08 Richard Kreckel <kreckel@ginac.de>
16 * src/base/digitseq/cl_asm.h: ensure intCsize==16 when including
17 m68k Assembler routines.
18 * src/base/digitseq/cl_asm_.cc: Likewise.
20 2002-05-28 Richard Kreckel <kreckel@ginac.de>
22 * Version 1.1.5 released.
24 2002-05-27 Richard Kreckel <kreckel@ginac.de>
26 * include/cln/modules.h (CL_CONCATENATE): New macro.
28 2002-05-10 Richard Kreckel <kreckel@ginac.de>
30 * doc/cln.tex (Building the library): Update recommendations for
31 compiling on Tru64 using g++ 3.0 and 3.1.
32 * README: Update homepage.
34 2002-05-05 Bruno Haible <bruno@clisp.org>
36 * doc/cln.tex (Building the library): Give some recommendations for
39 Force link-time references despite optimizations done by g++ 2.95
41 * include/cln/modules.h (CL_FORCE_LINK): New macro.
43 * include/cln/GV_integer.h (cl_GV_I_debug_dummy): Likewise.
44 * include/cln/GV_number.h (cl_GV_number_debug_dummy): Likewise.
45 * include/cln/SV_number.h (cl_SV_number_debug_dummy): Likewise.
46 * include/cln/SV_ringelt.h (cl_SV_ringelt_debug_dummy): Likewise.
47 * include/cln/dfloat.h (cl_DF_debug_dummy): Likewise.
48 * include/cln/ffloat.h (cl_FF_classes_dummy, cl_FF_debug_dummy):
50 * include/cln/integer.h (cl_I_classes_dummy, cl_I_debug_dummy):
52 * include/cln/lfloat.h (cl_LF_debug_dummy): Likewise.
53 * include/cln/modinteger.h (cl_MI_debug_dummy): Likewise.
54 * include/cln/rational.h (cl_RA_debug_dummy): Likewise.
55 * include/cln/real.h (cl_R_debug_dummy): Likewise.
56 * include/cln/ring.h (cl_ring_debug_dummy): Likewise.
57 * include/cln/sfloat.h (cl_SF_classes_dummy, cl_SF_classes_dummy):
59 * include/cln/string.h (cl_string_debug_dummy): Likewise.
60 * include/cln/univpoly.h (cl_UP_debug_dummy): Likewise.
61 * src/float/base/cl_ieee.h (cl_ieee_dummy_NNN): Likewise.
63 Avoid g++ 3.1 warnings.
64 * src/base/cl_offsetof.h (offsetof): Redefine each time.
65 * src/base/digitseq/cl_DS.h: Include "cl_offsetof.h" after <gmp.h>.
67 Avoid g++ 3.1 warnings.
68 * src/base/hash/cl_hash.h (struct cl_heap_hashtable): Use typename
70 * src/base/hash/cl_hash1.h (struct cl_heap_hashtable_1): typedef
71 htxentry as a shortcut.
72 * src/base/hash/cl_hash2.h (struct cl_heap_hashtable_2): Likewise.
73 * src/base/hash/cl_hashset.h (struct cl_heap_hashtable_set): Likewise.
74 * src/base/hash/cl_hashuniq.h (struct cl_heap_hashtable_uniq):
77 2002-03-15 Bruno Haible <bruno@clisp.org>
79 * cln.tex: Document problem with GNU make 3.77.
80 Reported by Michael Somos <somos@grail.cba.csuohio.edu>.
82 2002-02-16 Richard Kreckel <kreckel@ginac.de>
84 * cln.m4: quote macro name.
85 Pointed out by Roberto Bagnara.
87 2002-01-20 Richard Kreckel <kreckel@ginac.de>
89 * autoconf/config.{guess,sub}: Update to GNU version 2002-01-02.
90 (the old one was broken on Linux/Mips.)
92 2002-01-04 Richard Kreckel <kreckel@ginac.de>
94 * autoconf/autoconf.m4f: get brutal in order to adhere to FHS.
95 * Version 1.1.4 released.
97 2002-01-03 Richard Kreckel <kreckel@ginac.de>
99 * autoconf/acinclude.m4: revamp MPN-matcher.
100 * autoconf/aclocal.m4: upgrade to autoconf-2.52 infrastructure,
101 sync with CLisp from CVS.
102 * autoconf/autoconf: Likewise.
103 * autoconf/autoconf.m4f: Likewise (new file).
104 * configure.ac: Likewise (new file, replaces configure.in).
105 * configure.in: Likewise (deleted, replaced by configure.ac).
106 * autoconf/config.{guess,sub}: Update to GNU version 2001-12-13.
107 * src/Makefile.in: made VPATH safe for autoconf-2.52.
108 * include/cln/config.h.in: Add __s390__.
110 2001-12-31 Richard Kreckel <kreckel@ginac.de>
112 * src/base/digitseq/cl_DS.h: <gmp.h> is not included extern "C"
113 any more since GMP4 has some C++ support in it.
115 2001-12-14 Richard Kreckel <kreckel@ginac.de>
117 * include/cln/modules.h, include/cln/object.h: add support for
119 * src/numtheory/cl_nt_sqrtmodp.cc: workaround for GCC2.x compiler-bug
120 on s390, provided by Gerhard Tonn.
122 2001-11-05 Richard Kreckel <kreckel@ginac.de>
124 * autoconf/ltmain.sh: Upgrade to libtool-1.4.2.
125 * autoconf/config.{guess,sub}: Update to GNU version 2001-09-07.
126 * Version 1.1.3 released.
128 2001-11-04 Bruno Haible <haible@clisp.cons.org>
130 Interoperability with gcc-3.0 -fuse-cxa-atexit.
131 * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add test whether
132 global destructors actually exist.
133 * include/cln/modules.h (CL_PROVIDE, CL_PROVIDE_END, CL_PROVIDE_END):
134 Don't hack the global destructors if there is no global destructors
137 2001-11-03 Richard Kreckel <kreckel@ginac.de>
139 * src/float/transcendental/cl_F_sinx.cc (sinx_naive): For small
140 values of x, return square(x) instead of x.
141 * src/float/transcendental/cl_F_sinhx.cc (sinhx_naive): Likewise.
143 2001-07-25 Richard Kreckel <kreckel@ginac.de>
145 * Version 1.1.2 released.
147 2001-07-24 Richard Kreckel <kreckel@ginac.de>
149 * src/base/hash/cl_hash.h: declare _cl_hashtable_iterator<htentry> a
150 friend of cl_heap_hashtable<htentry>.
152 2001-07-22 Richard Kreckel <kreckel@ginac.de>
154 * src/float/base/cl_ieee.cc: try to do magic to the FPU only if
155 _FPU_IEEE is really defined.
156 * include/cln/modules.h: change assembler labels from `label' to
157 `label:' on hppa, needed by Linux (see comment).
158 * autoconf/acinclude.m4: new file (for storing CLN-specific macros).
159 * Makefile.devel: adjusted.
160 * autoconf/aclocal.m4: regenerate.
161 * src/base/low/cl_low_mul.cc: moved POD variables that are declared
162 extern "C" elsewhere out of the namespace.
163 * src/base/low/cl_low_div.cc: Likewise.
165 2001-06-08 Bruno Haible <haible@clisp.cons.org>
167 * autoconf/config.{guess,sub}: Update to GNU version 2001-05-11.
168 * autoconf/aclocal.m4: Upgrade to libtool-1.4.
169 * autoconf/ltmain.sh: Likewise.
170 * autoconf/ltconfig: Remove file.
171 * autoconf/install-sh: New file.
172 * configure.in: Add AC_CONFIG_AUX_DIR call.
174 2001-06-05 Richard Kreckel <kreckel@ginac.de>
176 * tests/tests.cc: resolve namespace ambiguity about strcmp().
178 2001-05-31 Richard Kreckel <kreckel@ginac.de>
180 * Version 1.1.1 released.
182 2001-05-28 Richard Kreckel <kreckel@ginac.de>
184 * cln/cln.tex: documented problems with shared library on Sparc
185 using gcc older than 2.95.3.
186 * configure.in: Fixed typos in versioning docu.
188 2001-05-25 Bruno Haible <haible@clisp.cons.org>
190 * src/base/digitseq/cl_asm_arm_.cc: Use #0x instead of #& to designate
191 hexadecimal constants.
193 2001-05-25 Richard Kreckel <kreckel@ginac.de>
195 * autoconf/floatparam.c (double_wordorder_bigendian_p): new symbol.
196 * src/float/dfloat/cl_DF.h: Check for double_wordorder_bigendian_p.
197 * Removed LiDIA interface since that is now outdated (namespace cln)
198 and maintained elsewhere.
199 * Adjusted dates and final touches for 1.1.1.
201 2001-05-19 Richard Kreckel <kreckel@ginac.de>
203 * INSTALL: Update toolchain info: no egcs, some more platforms.
204 * doc/cln.tex: Likewise.
206 2001-05-18 Richard Kreckel <kreckel@ginac.de>
208 * src/base/cl_low.h: prepended variables declared inside macros
209 with underscore. Fixes equal_hashcode() on various platforms.
211 2001-04-25 Richard Kreckel <kreckel@ginac.de>
213 * src/base/cl_low.h: Added several checks if NO_ASM is defined, so
214 this definition becomes actually useful. This is needed for
215 compilation on Arm until somebody fixes the assembler files for Arm.
216 * src/base/digitseq/cl_asm.h: Likewise.
217 * src/base/digitseq/cl_asm_.cc: Likewise.
218 * */Makefile.in: Added `override' in front of `CPPFLAGS +=' so
219 one can say `make CPPFLAGS=-DFOOBAR'.
221 2001-03-26 Arvid Norberg <c99ang@cs.umu.se>
223 * src/base/random/cl_random_from.cc: ported to beos.
225 2001-03-05 Richard Kreckel <kreckel@ginac.de>
227 * include/cln/modules.h (CL_JUMP_TO): Fix IA64 brokenness.
229 2001-01-28 Richard Kreckel <kreckel@ginac.de>
231 * include/cln/number.h (cl_as_N): Remove bogus comment.
233 2001-01-22 Richard Kreckel <kreckel@ginac.de>
235 * configure.in: Make build in separate builddir possible (again).
237 2001-01-22 Richard Kreckel <kreckel@ginac.de>
239 * include/cln/*.h: Change signatures of all classes' methods
240 cln::cl_foo::operator new(size_t, cl_foo*) to
241 cln::cl_foo::operator new(size_t, void*) so one can declare
242 std::vector<cln::cl_foo>, std::list<cln::cl_foo> etc. for
243 certain STL implementations (like libstdc++-v3).
245 2000-12-14 Richard Kreckel <kreckel@ginac.de>
247 * Version 1.1 released.
249 2000-12-13 Richard Kreckel <kreckel@ginac.de>
251 * */*: cl_istream -> std::istream, cl_ostream -> std::ostream.
253 2000-12-05 Richard Kreckel <kreckel@ginac.de>
255 * Makefile.in, src/Makefile.in, doc/Makefile.in: Use mkdir -p.
256 * include/cln/version.h.in, src/base/verion.cc: New files.
257 * configure.in: Generate include/cln/version.h.
258 * cln.m4: Rewrote it. Check result of cln-config without compiling.
259 Do cross-check library version and header version information.
261 2000-12-02 Christian Bauer <cbauer@ginac.de>
263 * Makefile.in, src/Makefile.in, doc/Makefile.in: Added $DESTDIR.
264 * cln.m4, cln.spec.in: some minor fixes with respect to RPM package
267 2000-11-24 Richard Kreckel <kreckel@ginac.de>
269 * */*: Removed problematic stdin, stdout and stderr definitions.
270 Use std::cin, std::cout, std::cerr instead (obsoletes 2000-10-29).
272 2000-11-20 Bruno Haible
274 * cln-config.1: change title.
276 2000-11-18 Richard Kreckel <kreckel@ginac.de>
279 * doc/cln.tex: Document package tools cln-config and cln.m4.
280 * Makefile.in: Care about cln.m4.
282 2000-11-17 Richard Kreckel <kreckel@ginac.de>
284 * cln-config.1: added manpage, as required by a couple of distros.
285 * Makefile.in, doc/Makefile.in: target install depends on installdirs.
287 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.
295 2000-11-13 Richard Kreckel <kreckel@ginac.de>
297 * src/base/digitseq/cl_asm.h: Test if (intDsize==32) for MIPS and HPPA,
298 in order to guard against an accidented configuration.
299 * src/integer/conv/cl_I_to_digits.cc (table): member b_hoch_k of
300 struct power_table_entry initialized as ULL instead of as UL, if
301 intDsize==64 (caused misprinting on MIPS w/ GMP).
302 * src/base/cl_macros.h (minus_bitm, bitc): implemented ULL, if
304 * src/integer/bitwise/cl_I_mkfx.cc (mkf_extract): Likewise.
305 * src/integer/conv/cl_I_from_L.cc (cl_I_from_L): Added trival
306 generation of Bignum for intDsize==64 and a notreached-check at end.
307 * autoconf/config.guess, autoconf/config.sub: updated from FSF.
308 * include/cln/config.h.in: Prepared support for IA64.
309 * include/cln/types.h: Likewise.
310 * include/cln/object.h: Likewise.
311 * include/cln/modules.h: Likewise.
312 * src/base/cl_macros.h (nonreturning_function): Likewise (NUE's
313 compiler claims __GNUC_MINOR__==9).
315 2000-11-03 Richard Kreckel <kreckel@ginac.de>
317 * src/base/cl_macros.h (bit, minus_bit): changed criterion for ULL from
318 HAVE_DD to HAVE_FAST_LONGLONG.
319 * src/base/cl_macros.h (bitm): implemented ULL, if HAVE_FAST_LONGLONG.
320 * src/base/cl_low.h: actually no need to include "cln/types.h" here.
321 * src/base/cl_low.h (logcount_64): always ULL, independent of HAVE_DD.
322 * src/base/random/cl_UL_random.cc (random32): a is always ULL.
324 2000-11-01 Richard Kreckel <kreckel@ginac.de>
326 * include/cln/object.h (cl_combine): define additional signatures, if
327 HAVE_LONGLONG is defined, in order to keep the compiler happy.
328 * src/base/cl_macros.h: include "cln/types.h", since we need HAVE_DD...
329 * src/base/cl_macros.h (bit): ...for this macro...
330 * src/base/cl_macros.h (minus_bit): ...and this one.
331 * src/base/cl_low.h: include "cln/types.h", since we need HAVE_DD...
332 * src/base/cl_low.h (logcount_64): ...for this macro.
333 * src/base/random/cl_UL_random.cc (random32): if HAVE_DD a is an ULL.
334 * src/integer/gcd/cl_I_gcd_aux2.cc (floorDD): fixed algorithmic bug.
335 that turned up when intDsize==32 and cl_word_size==64.
336 * src/float/dfloat/elem/cl_DF_div.cc (operator/): fixed a missing cast
337 to uint64 that turned up when intDsize==32 and cl_word_size==64.
339 2000-10-29 Richard Kreckel <kreckel@ginac.de>
341 * src/real/input/cl_R_read.cc, src/complex/input/cl_N_read.cc:
342 #undef stderr, if it's defined so cln::stderr isn't confused.
343 * src/base/input/cl_read_globals.cc: stdin should not be extern.
345 2000-09-05 Richard Kreckel <kreckel@ginac.de>
347 * include/cln/number.h (As): Fix it in namespace by suffixing `_As'
348 to the appropiate method instead of prefixing `as_'.
349 * src/complex/misc/cl_N_as.cc (cl_N_As): Likewise.
350 * src/real/misc/cl_R_as.cc (cl_R_As): Likewise.
351 * src/rational/misc/cl_RA_as.cc (cl_RA_As): Likewise.
352 * src/integer/misc/cl_I_as.cc (cl_I_As): Likewise.
353 * src/float/misc/cl_F_as.cc (cl_F_As): Likewise.
354 * src/float/sfloat/misc/cl_SF_as.cc (cl_SF_As): Likewise.
355 * src/float/lfloat/misc/cl_LF_as.cc (cl_LF_As): Likewise.
356 * src/float/ffloat/misc/cl_FF_as.cc (cl_FF_As): Likewise.
357 * src/float/dfloat/misc/cl_DF_as.cc (cl_DF_As): Likewise.
359 2000-09-05 Richard Kreckel <kreckel@ginac.de>
361 * src/complex/transcendental/cl_C_expt_C.cc (expt): fix logic for
364 2000-08-30 Richard Kreckel <kreckel@ginac.de>
366 * include/cln/number.h, cl_number::_as_cl_private_thing(): removed.
367 Rearranged for a clearer distinction between macros and remaining
368 identifiers, so Cint can parse it smoothly.
370 2000-08-29 Richard Kreckel <kreckel@ginac.de>
372 * include/cln/number.h, the(const cl_number& x): New template
375 2000-08-29 Richard Kreckel <kreckel@ginac.de>
377 * */*: Pushed CLN into a namespace `cln'. While doing so, the
378 following identifiers got their poor-man's namespace (i.e. the
379 prefix `cl_') stripped off:
380 cl_catalanconst() -> catalanconst()
381 cl_compare() -> compare()
382 cl_cos_sin() -> cos_sin()
383 cl_cos_sin_t -> cos_sin_t
384 cl_cosh_sinh() -> cosh_sinh()
385 cl_cosh_sinh_t -> cosh_sinh_t
386 cl_decoded_dfloat -> decoded_dfloat
387 cl_decoded_ffloat -> decoded_ffloat
388 cl_decoded_float -> decoded_float
389 cl_decoded_lfloat -> decoded_lfloat
390 cl_decoded_sfloat -> decoded_sfloat
391 cl_default_float_format -> default_float_format
392 cl_default_print_flags -> default_print_flags
393 cl_default_random_state -> default_random_state
394 cl_double_approx() -> double_approx()
395 cl_equal() -> equal()
396 cl_equal_hashcode() -> equal_hashcode()
397 cl_eulerconst() -> eulerconst()
398 cl_find_modint_ring() -> find_modint_ring()
399 cl_find_univpoly_ring() -> find_univ_poly_ring()
400 cl_float_approx() -> float_approx
401 cl_float_format() -> float_format()
402 cl_float_format_t -> float_format_t
403 cl_free_hook() -> free_hook()
404 cl_hermite() -> hermite()
405 cl_laguerre() -> laguerre()
406 cl_legendre() -> legandre()
407 cl_malloc_hook() -> malloc_hook()
409 cl_tschebychev() -> tschebychev()
411 NB: For functions these changes includes all signatures.
412 * include/*: moved to include/cln/*, stripped `cl_' off filenames.
413 * cln-config.in: new file.
415 2000-08-26 Bruno Haible <haible@clisp.cons.org>
417 * autoconf/acgeneral.m4 (AC_OUTPUT): Use braces in exec_prefix default
420 2000-08-18 Bruno Haible <haible@clisp.cons.org>
422 * include/cl_univpoly_modint.h: Fix typo.
424 2000-07-13 Bruno Haible <haible@clisp.cons.org>
426 * src/float/input/cl_F_read_stream.cc (number_char_p): Accept '_',
427 used as precision marker for floats.
428 Reported by Keith Briggs (in 1998) and Thomas Roessler.
429 * src/integer/input/cl_I_read_stream.cc (number_char_p): Likewise.
430 * src/rational/input/cl_RA_read_stream.cc (number_char_p): Likewise.
431 * src/real/input/cl_R_read_stream.cc (number_char_p): Likewise.
432 * src/complex/input/cl_N_read_stream.cc (number_char_p): Likewise.
434 2000-06-22 Bruno Haible <haible@clisp.cons.org>
436 * include/cl_object.h: Rename cl_word_size to cl_pointer_size.
437 * include/cl_types.h (HAVE_FAST_LONGLONG): Also define on Irix6
439 (cl_word_size): New macro.
440 * src/float/sfloat/cl_SF.h: Use cl_pointer_size instead of
443 2000-05-31 Bruno Haible <haible@clisp.cons.org>
445 * tests/exam_I_floor.cc (integer_floor_tests): Add one more entry.
446 From a sample that fails with gcc-2.95.2 on Sparc.
447 * tests/exam_I_gcd.cc (integer_gcd_tests): Likewise.
449 2000-05-30 Richard Kreckel <kreckel@ginac.de>
451 * configure.in, autoconf/aclocal.m4 (CL_GMP_H_VERSION, CL_GMP_CHECK):
453 * configure.in, include/cl_config.h.in (CL_VERSION, CL_VERSION_MINOR,
454 CL_VERSION_PATCHLEVEL): New definitions.
455 * autoconf/config.guess, autoconf/config.sub, autoconf/ltconfig,
456 autoconf/ltmain.sh: updated from FSF (libtool 1.3.5, etc).
457 * src/Makefile.in, configure.in: release-variables renamed from
459 * configure.in: default to build both shared and static library
460 (i.e. default to the most common behaviour).
462 2000-05-29 Richard Kreckel <kreckel@ginac.de>
464 * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Added missing changequote
465 environment around the patch of 2000-05-23.
467 2000-05-29 Bruno Haible <haible@clisp.cons.org>
469 * autoconf/aclocal.m4 (CL_PROG_INSTALL): Fix typo.
470 Reported by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>.
472 2000-05-27 Richard Kreckel <kreckel@ginac.de>
474 * src/float/lfloat/algebraic/cl_LF_sqrt.cc,
475 src/base/digitseq/cl_DS_sqrt.cc: Readjusted break-even points.
477 2000-05-24 Richard Kreckel <kreckel@ginac.de>
479 * autoconf/config.*: Updated to new version from FSF
480 (the new libtool wants this).
481 * src/Makefile.in: added $(LDFLAGS) to link step.
482 * src/base/digitseq/cl_2DS_div.cc, cl_2DS_recip.cc: Readjusted
485 2000-05-23 Bruno Haible <haible@clisp.cons.org>
487 * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Determine host_cpu,
488 host_vendor, host_os correctly if $host has more than two hyphens.
490 2000-05-19 Richard Kreckel <kreckel@ginac.de>
492 * src/base/digitseq/cl_DS_mul.cc: Rearranged break-even points to
493 better match present-day CPUs whenever GMP3 is used.
494 * src/base/digitseq/cl_DS_div.cc: dto.
495 * src/TUNING: Added comment about order of tuning.
496 * configure, configure.in: Safer GMP3-detection.
497 * INSTALL.generic: Clarified behaviour of --with-gmp.
498 * autoconf/config.guess: updated from Clisp-2000-03-06 sources.
500 2000-05-04 Richard Kreckel <kreckel@ginac.de>
502 * gmp/: removed completely. From now on we are going to link
503 externally against libgmp3.0 or above!
504 * configure, configure.in, Makefile.in, */Makeflags: removed support
505 of internal gmp 2.0.2, like $GMP_INCLUDES, which should be done by
506 setting $CPPFLAGS instead.
507 * Makefile.in: Added libtool inter-library dependency for -lgmp and
508 conforming interface versioning (-version-info).
509 * autoconf/ltconfig, autoconf/ltmain.sh: Updated to newer versions
512 2000-02-22 Bruno Haible <haible@clisp.cons.org>
514 * src/base/digitseq/cl_asm_mips_.cc: Starting at argument 5 the
515 parameter passing was changed for the MIPS n32 ABI.
517 2000-01-24 Richard Kreckel <kreckel@ginac.de>
519 * gmp/*: Replaced the complete mpn sources with the ones from
520 Debian since they are maintained while the ones from FSF
521 aren't and there were problems on some architectures, PowerPC
522 in particular. See the file gmp/README.CLN. This way the
523 hard links in this directory have vanished, they were causing
524 trouble for people working in AFS. This became necessary for
525 Debian, because there it woudn't compile on PPC.
527 2000-01-13 Richard Kreckel <kreckel@ginac.de>
529 * Version 1.0.3 released.
531 2000-01-13 Richard Kreckel <kreckel@ginac.de>
533 * src/base/cl_macros.h (nonreturning_function): For egcs and newer
534 use __attribute__ ((__noreturn__)) instead of the __volatile__
536 (nonreturning): Remove macro.
537 * include/*: Minor fixes to stop -ansi -pedantic from complaining.
538 * include/cl_integer.h: (doublefactorial): New declaration.
539 * src/integer/misc/combin/cl_I_doublefactorial.cc: New file.
541 1999-12-18 Bruno Haible <haible@clisp.cons.org>
543 * autoconf/acgeneral.m4 (AC_ARG_PROGRAM): Create conftestsed using
545 * autoconf/ltconfig: Improve support for recent FreeBSD 3.
546 * include/cl_GV.h (cl_GV_vectorops): Change return type from 'T' to
547 'const T', to match definition in src/vector/cl_GV_number.cc.
548 Reported by Duncan Simpson <dps@io.stargate.co.uk>.
549 * gmp/mpn/Makefile.in (.S.lo): Use 'if', not '&&', because '&&' may
552 1999-09-07 Bruno Haible <haible@clisp.cons.org>
554 * Version 1.0.2 released.
556 1999-09-06 Bruno Haible <haible@clisp.cons.org>
558 * src/rational/cl_RA.h (integerp, ratiop): Instead of returning a
559 boolean expression, write alternatives ending with either
560 "return cl_true;" or "return cl_false;". This way, g++ does a
561 better job inlining it.
562 * src/float/cl_F.h (longfloatp): Likewise.
563 * src/real/cl_R.h (rationalp, integerp, floatp): Likewise.
564 * src/complex/cl_C.h (realp, complexp): Likewise.
566 1999-09-05 Bruno Haible <haible@clisp.cons.org>
568 * include/cl_integer.h (cl_equal_hashcode): New declaration.
569 * include/cl_rational.h (cl_equal_hashcode): New declaration.
570 * include/cl_sfloat.h (cl_equal_hashcode): New declaration.
571 * include/cl_ffloat.h (cl_equal_hashcode): New declaration.
572 * include/cl_dfloat.h (cl_equal_hashcode): New declaration.
573 * include/cl_lfloat.h (cl_equal_hashcode): New declaration.
574 * include/cl_float.h (cl_equal_hashcode): New declaration.
575 * include/cl_real.h (cl_equal_hashcode): New declaration.
576 * include/cl_complex.h (cl_equal_hashcode): New declaration.
577 * src/base/cl_N.h (equal_hashcode_low, equal_hashcode_one): New macros.
578 * src/integer/misc/cl_I_eqhashcode.cc: New file.
579 * src/rational/misc/cl_RA_eqhashcode.cc: New file.
580 * src/float/sfloat/misc/cl_SF_eqhashcode.cc: New file.
581 * src/float/ffloat/misc/cl_FF_eqhashcode.cc: New file.
582 * src/float/dfloat/misc/cl_DF_eqhashcode.cc: New file.
583 * src/float/lfloat/misc/cl_LF_eqhashcode.cc: New file.
584 * src/float/misc/cl_F_eqhashcode.cc: New file.
585 * src/real/misc/cl_R_eqhashcode.cc: New file.
586 * src/complex/misc/cl_C_eqhashcode.cc: New file.
587 * doc/cln.tex: Document `cl_equal_hashcode'.
589 1999-09-05 Bruno Haible <haible@clisp.cons.org>
591 * include/cl_ring.h (cl_number_ring_ops): Add `contains' member.
592 (cl_number_ring): New class.
593 (cl_specialized_number_ring<T>): Inherit from cl_number_ring.
594 (instanceof): New function.
595 * src/integer/ring/cl_I_ring.cc (cl_I_p): New function.
596 * src/integer/misc/cl_I_as.cc (cl_I_p): Add comment.
597 * src/rational/ring/cl_RA_ring.cc (cl_RA_p): New function.
598 * src/rational/misc/cl_RA_as.cc (cl_RA_p): Add comment.
599 * src/real/ring/cl_R_ring.cc (cl_R_p): New function.
600 * src/real/misc/cl_R_as.cc (cl_R_p): Add comment.
601 * src/complex/ring/cl_C_ring.cc (cl_N_p): New function.
602 * src/complex/misc/cl_N_as.cc (cl_N_p): Add comment.
603 * doc/cln.tex: Document `instanceof'.
605 1999-09-05 Bruno Haible <haible@clisp.cons.org>
607 * include/cl_rational.h (numerator, denominator): New declarations.
608 * src/rational/elem/cl_RA_numerator.cc: New file.
609 * src/rational/elem/cl_RA_denominator.cc: New file.
610 * include/cl_integer.h (numerator, denominator): New inline functions.
611 * doc/cln.tex: Document `numerator' and `denominator'.
613 1999-09-05 Bruno Haible <haible@clisp.cons.org>
615 * src/rational/algebraic/cl_RA_rootp.cc (rootp): Fix endless loop
617 * src/rational/algebraic/cl_RA_rootp_I.cc (rootp): Likewise.
619 1999-09-05 Bruno Haible <haible@clisp.cons.org>
621 * include/cl_config.h.in: Support for sparc64 CPU.
622 * include/cl_modules.h: Likewise.
623 * include/cl_types.h: Likewise.
624 * include/cl_object.h: Likewise.
625 * include/cl_GV.h: Likewise.
626 * src/Makefile.in: Likewise.
627 * src/base/cl_alloca.h: Likewise.
628 * src/base/cl_macros.h: Likewise.
629 * src/base/cl_sysdep.h: Likewise.
630 * src/base/cl_low.h: Likewise.
631 * src/base/digitseq/cl_asm.h: Likewise.
632 * src/base/digitseq/cl_asm_.cc: Likewise.
633 * src/base/digitseq/cl_asm_sparc64.h: New file.
634 * src/base/digitseq/cl_asm_sparc64_.cc: New file.
635 * src/modinteger/cl_MI_int.h: Support for sparc64 CPU.
636 * src/polynomial/elem/cl_UP_no_ring.cc: Likewise.
637 * src/polynomial/elem/cl_UP_GF2.h: Likewise.
638 * src/polynomial/elem/cl_asm_GF2.cc: Likewise.
640 1999-09-04 Bruno Haible <haible@clisp.cons.org>
642 * src/base/digitseq/cl_asm_sparc_.cc (orc2_loop_up, orc2_loop_down):
643 Use the `orn' instruction.
645 1999-08-14 Bruno Haible <haible@clisp.cons.org>
647 Assume all platforms have <stdlib.h> and clock_t.
648 * configure.in: Don't call CL_STDLIB_H and CL_CLOCK_T.
649 * src/base/cl_base_config.h.in (CLOCK_T): Remove definition.
650 * src/base/random/cl_random_from.cc: Use clock_t instead of CLOCK_T.
651 * src/timing/cl_t_config.h.in (CLOCK_T): Remove definition.
652 * src/timing/cl_t_current2.cc: Use clock_t instead of CLOCK_T.
654 1999-07-18 Bruno Haible <haible@clisp.cons.org>
656 * gmp/config.guess: Link to autoconf/config.guess.
657 gmp/config.sub: Link to autoconf/config.sub.
658 Needed for Win32 platforms.
660 1999-07-17 Bruno Haible <haible@clisp.cons.org>
662 * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Distinguish "sparc" and
663 "sparc64" according to the C compiler, not the uname result.
665 1999-06-17 Bruno Haible <haible@clisp.cons.org>
667 * src/base/digitseq/cl_asm_sparc_.cc (compare_loop_up): Fix
668 COUNTER_LOOPS version, fortunately not used yet.
670 * include/cl_modules.h: Prepare for gcc version 3.
672 1999-06-12 Bruno Haible <haible@clisp.cons.org>
674 * src/rational/elem/cl_RA_plus.cc, src/rational/elem/cl_RA_minus.cc:
675 Change the last call from I_I_to_RT to I_I_to_RA.
677 1999-06-09 Bruno Haible <haible@clisp.cons.org>
679 * Version 1.0.1 released.
681 1999-06-09 Bruno Haible <haible@clisp.cons.org>
683 * src/integer/cl_I.h (pFN_maxlength_digits_at): Define also when
686 1999-06-08 Bruno Haible <haible@clisp.cons.org>
688 * autoconf/intparam.c (printf_underscored): Change argument type to
690 * include/cl_modules.h (CL_OUTPUT_LABEL, CL_JUMP_TO): New macros.
691 (CL_PROVIDE, CL_PROVIDE_END): Use them.
692 * include/cl_string.h (cl_heap_string::operator new): Return 1, not 0.
693 * include/cl_GV.h (cl_GV_inner<T>::operator new): Likewise.
694 * src/base/ring/cl_no_ring.cc (dummy_canonhom, dummy_expt_pos): Don't
695 cast a cl_I to void here. Works around a bug in g++-2.95.
696 * src/complex/misc/cl_C_class.cc: Include "cl_C.h".
697 * src/polynomial/elem/cl_UP_no_ring.cc (dummy_canonhom,
698 dummy_expt_pos): Don't cast a cl_I to void here. Works around a bug
700 * src/polynomial/elem/cl_asm_sparc_GF2.cc (DECLARE_FUNCTION): New
702 * src/rational/misc/cl_RA_class.cc: Include "cl_RA.h".
703 * src/vector/cl_GV_I.cc (cl_heap_GV_I_general::operator new,
704 DEFINE_cl_heap_GV_I_bits): Return 1, not 0.
705 * src/vector/cl_GV_number.cc (cl_heap_GV_number_general::operator new):
708 1999-06-01 Bruno Haible <haible@clisp.cons.org>
710 * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Canonicalize alpha
713 1999-05-29 Bruno Haible <haible@clisp.cons.org>
715 * src/base/digitseq/cl_asm_i386_.cc (DECLARE_FUNCTION): Treat
717 * src/base/digitseq/cl_asm_sparc_.cc (DECLARE_FUNCTION): Likewise.
718 * src/base/digitseq/cl_asm_m68k_.cc (DECLARE_FUNCTION): Treat
719 OpenBSD like NetBSD, and Linux/ELF like SVR4.
721 1999-05-16 Bruno Haible <haible@clisp.cons.org>
723 * src/base/cl_low.h (integerlength32) [__rs6000__]: Use old assembler
724 syntax on AIX systems and new assembler syntax on non-AIX systems.
726 1999-05-01 Bruno Haible <haible@clisp.cons.org>
728 * autoconf/config.guess, autoconf/config.sub: Upgrade to newest
729 version from GNU CVS.
731 1999-04-24 Bruno Haible <haible@clisp.cons.org>
733 * src/integer/bitwise/cl_I_logand.cc (logand): Optimize the case when
734 either operand is a positive fixnum, O(1) instead of O(N).
735 * src/integer/bitwise/cl_I_lognand.cc (lognand): Likewise.
736 * src/integer/bitwise/cl_I_logandc2.cc (logandc2): Likewise for the
739 1999-04-14 Bruno Haible <haible@clisp.cons.org>
741 * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add check whether
742 ctor/dtor needs to be exported.
743 * include/cl_config.h.in (CL_NEED_GLOBALIZE_CTORDTOR): New macro.
744 * include/cl_modules.h (CL_GLOBALIZE_JUMP_LABEL): Renamed from
746 (CL_GLOBALIZE_LABEL): New macro.
747 (CL_GLOBALIZE_CTORDTOR_LABEL): Renamed from CL_GLOBALIZE_ASM_LABEL.
748 (CL_PROVIDE): Update.
750 1999-04-12 Bruno Haible <haible@clisp.cons.org>
752 * src/Makefile.in ($(ASMFILES_S)): On HPPA, ignore preprocessing
753 errors ("unterminated string or character constant").
754 ($(ASMFILES_LO)): On HPPA, try with various settings of
755 COMPILER_PATH, in order to try /usr/ccs/bin/as and /bin/as.
757 1999-04-11 Bruno Haible <haible@clisp.cons.org>
759 * INSTALL: Mention gmp problems on MIPS.
760 * doc/cln.tex: Likewise.
762 1999-03-24 Mumit Khan <khan@xraylith.wisc.edu>
764 * src/Makefile.in (SUBDIRS): Filter out CVS and RCS directories from
766 * include/cl_modules.h (CL_GLOBALIZE_LABEL): Define for Win32.
767 (CL_GLOBALIZE_ASM_LABEL): New macro.
768 (CL_PROVIDE): Use it.
769 * src/base/random/cl_random_from.cc: Handle WIN32.
770 * src/timing/cl_t_current.cc: Likewise.
772 1999-03-15 Bruno Haible <haible@clisp.cons.org>
774 * autoconf/intparam.c (main7): Use %lX instead of %X for a `long'.
775 (main8): Adapt for C++.
777 1999-03-09 Bruno Haible <haible@clisp.cons.org>
779 * INSTALL: Mention egcs-1.1 problems on Sparc.
780 * doc/cln.tex: Likewise.
782 1999-03-08 Bruno Haible <haible@clisp.cons.org>
784 * autoconf/aclocal.m4 (CL_FPU_CONTROL): Fix the "checking for"
787 1999-02-25 Bruno Haible <haible@clisp.cons.org>
789 * autoconf/aclocal.m4: In test programs, declare `int main()', not
792 * lidia-interface/src/interfaces/integers/cln/bigint.c
793 (bigint_to_string): Fix for negative arguments.
795 * src/base/cl_low.h: Check for `__sparc__', not `SPARC'.
796 * src/base/cl_alloca.h: Likewise.
798 * src/base/cl_low.h: Eliminate CLISP style "# " comments.
799 * src/base/digitseq/cl_asm_arm_.cc,
800 src/base/digitseq/cl_asm_mips_.cc,
801 src/float/dfloat/elem/cl_DF_mul.cc: Likewise.
803 * src/modinteger/cl_MI_pow2.h,
804 src/modinteger/cl_MI_pow2m1.h,
805 src/modinteger/cl_MI_pow2p1.h: Workaround g++-2.7.2 inlining bug.
807 1999-01-18 Bruno Haible <haible@clisp.cons.org>
809 * autoconf/acgeneral.m4,
810 autoconf/acspecific.m4: Upgrade to autoconf-2.13.
811 * autoconf/config.guess, autoconf/config.sub: Likewise.
812 * autoconf/aclocal.m4 (CL_ALLOCA): Test for _MSC_VER and alloca being
813 a macro. Use ${ac_objext}.
814 * src/base/cl_macros.h (alloca): Put _MSC_VER test before the others,
815 conforming with CL_ALLOCA.
817 1999-01-12 Bruno Haible <haible@clisp.cons.org>
819 * Version 1.0 released.