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