]> www.ginac.de Git - cln.git/blob - ChangeLog
* m4/cc.m4 (CL_AS_NOEXECSTACK): New macro...
[cln.git] / ChangeLog
1 2005-08-15  Richard B. Kreckel  <kreckel@ginac.de>
2
3         * m4/cc.m4 (CL_AS_NOEXECSTACK): New macro...
4         * configure.ac: ...used here for setting ASMFLAGS...
5         * src/Makefile.in: ...which are used here.
6
7 2005-08-02  Andreas Jochens  <aj@andaco.de>
8
9         * include/cln/config.h.in: Add support for PowerPC 64 CPU.
10         * include/cln/modules.h: Likewise.
11         * include/cln/object.h: Likewise.
12         * include/cln/types.h: Likewise.
13
14 2005-07-24  Richard B. Kreckel  <kreckel@ginac.de>
15
16         Make out of the box build on x86_64 system with complete 32 bit
17         userland possible
18         * include/cln/config.h.in: Don't #define __x86_64__ when
19         __i386__ is defined.
20         * src/base/digitseq/cl_asm_x86_64_.cc: New file.
21         * doc/cln.tex: Revert workaround description introduced 2005-05-02.
22
23 2005-06-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
24
25         * Makefile.in: Don't enter nonexisting directories.
26
27 2005-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
28
29         Speed up the linking step
30         * src/Makefile.in: Use -objectlist for linking libcln.la.
31
32 2005-05-15  Richard B. Kreckel  <kreckel@ginac.de>
33
34         * autoconf/ltmain.sh: Upgrade to libtool-1.5.16.
35         * m4/libtool.m4: Upgrade to libtool-1.5.16 (without Comeau patch).
36
37 2005-05-02  Richard B. Kreckel  <kreckel@ginac.de>
38
39         * doc/cln.tex: Document what to do on a x86_64 machine with 32-bit
40         userland.
41
42 2005-05-01  Richard B. Kreckel  <kreckel@ginac.de>
43
44         Fix crashes in find_univpoly_ring and related functions
45         * include/cln/modinteger.h: Remove vptr from cl_heap_modint_ring;
46         remove declaration of cl_class cl_class_modint_ring.
47         * include/cln/univpoly.h: Remove vptr from cl_heap_univpoly_ring;
48         remove declaration of cl_class_univpoly_ring.
49         * include/cln/object.h: cl_class_flags_modint_ring: New #define...
50         * src/modinteger/cl_MI.cc: ...used in cl_class_modint_ring.
51         * src/modinteger/cl_MI_fix16.h: No vptr, but static dtor and type flag.
52         * src/modinteger/cl_MI_fix29.h: Likewise.
53         * src/modinteger/cl_MI_fix32.h: Likewise.
54         * src/modinteger/cl_MI_int32.h: Likewise.
55         * src/modinteger/cl_MI_montgom.h: Likewise.
56         * src/modinteger/cl_MI_pow2: Likewise.
57         * src/modinteger/cl_MI_pow2m1.h: Likewise.
58         * src/modinteger/cl_MI_pow2p1.h: Likewise.
59         * src/modinteger/cl_MI_std.h: Likewise.
60         * src/polynomial/elem/cl_UP.cc (cl_make_univpoly_ring): Compare with
61         cl_class_flags_modint_ring, not with cl_class_modint_ring.
62         * src/polynomial/elem/cl_UP_GF2.h (cl_class_num_univpoly_ring): New.
63         * src/polynomial/elem/cl_UP_MI.h (cl_class_modint_univpoly_ring): New.
64         * src/polynomial/elem/cl_UP_gen.h (cl_class_gen_univpoly_ring): New.
65         * src/polynomial/elem/cl_UP_number.h (cl_class_num_univpoly_ring): New.
66         Reported by Ralf Goertz <R_Goertz@web.de>.
67
68 2005-04-29  Richard B. Kreckel  <kreckel@ginac.de>
69             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
70
71         * m4/cc.m4: Emit a warning if g++ is used and optimization turned off.
72
73 2005-04-24  Richard B. Kreckel  <kreckel@ginac.de>
74
75         Make GCC compiler flags default to -O
76         * m4/cc.m4: New file...
77         * configure.ac: ...used here.
78         * autoconf/aclocal.m4: Regenerate.
79
80 2005-04-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
81
82         * include/cln/string.h: Declare cl_string.
83
84 2005-03-17  Richard B. Kreckel  <kreckel@ginac.de>
85
86         * autoconf/ltmain.sh: Upgrade to libtool-1.5.14.
87         * m4/libtool.m4: Upgrade to libtool-1.5.14 with Comeau patch.
88         * autoconf/aclocal.m4: Regenerate.
89
90 2005-03-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
91
92         * src/Makefile.in: Use $CXX instead of $CC when linking.
93
94 2005-02-27  Richard B. Kreckel  <kreckel@ginac.de>
95         
96         * examples/perfnum.cc: update to presumed 42st Mersenne prime.
97
98 2004-11-28  Richard B. Kreckel  <kreckel@ginac.de>
99
100         Disambiguate binary operators of CLN types with float/double
101         * include/cln/dfloat.h: Add binary operator overloads for arguments of
102         type double.
103         * include/cln/ffloat.h: Likewise, for arguments of type float.
104         * include/cln/float.h: Likewise, both for arguments of types double and
105         float.
106         * include/cln/real.h: Likewise.
107         Reported by Isidro CachadiƱa GutiĆ©rrez <icacha@unex.es>.
108
109 2004-11-03  Richard B. Kreckel  <kreckel@ginac.de>
110
111         * Version 1.1.9 released.
112
113 2004-10-28  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
114
115         * src/Makefile.in: Let config.status set LDFLAGS.
116
117 2004-10-27  Peter Breitenlohner  <peb@mppmu.mpg.de>
118
119         * cln.pc.in: Fix typo.
120         * Makefile.in (INSTALL_SCRIPT): Added, to be used for scripts like
121         cln-config.  Allows us to do special things to binaries, like
122         installing them with install -s.
123         * doc/Makefile.in: add/remove the cln.info from the installed
124         $(infodir)/dir unless this is debian install-info (code copied from
125         what GNU automake would produce).
126
127 2004-10-26  Richard B. Kreckel  <kreckel@ginac.de>
128
129         * src/integer/input/cl_I_read_stream.cc (read_integer): Fix a bug
130         that caused radix specifiers to not work when reading from a stream.
131         * src/rational/input/cl_RA_read_stream.cc (read_rational): Likewise.
132         * src/real/input/cl_R_read_stream.cc (read_real): Likewise.
133         * src/float/input/cl_F_read_stream.cc (read_float): Likewise.
134         * src/complex/input/cl_N_read_stream.cc (read_complex): Likewise.
135
136 2004-10-25  Richard B. Kreckel  <kreckel@ginac.de>
137
138         * src/base/cl_low.h: Add mulu64 assembler macro for ia64.
139
140 2004-10-24  Richard B. Kreckel  <kreckel@ginac.de>
141
142         * src/base/cl_low.h: Add mul and div macros for x86_64.
143
144 2004-10-23  Richard B. Kreckel  <kreckel@ginac.de>
145
146         * src/integer/conv/cl_I_from_digits.cc (digits_to_I): Fix thinko in
147         new code for base power of two.
148
149 2004-10-22  Richard B. Kreckel  <kreckel@ginac.de>
150
151         * src/integer/conv/cl_I_to_digits (I_to_digits): Fix an elusive stack
152         overwriting problem. That was the real cause for Debian bug#246319.
153         * src/integer/output/cl_I_print.cc (print_integer): Revert workaround
154         for the bug fixed above.
155
156 2004-10-20  Richard B. Kreckel  <kreckel@ginac.de>
157
158         * include/cln/types.h: Use 64 bit digits on x86_64 CPU.
159
160 2004-10-12  Richard B. Kreckel  <kreckel@ginac.de>
161
162         * src/integer/conv/cl_I_from_digits.cc (digits_to_I): Speedup when
163         the base is a power of two.
164
165 2004-10-05  Richard B. Kreckel  <kreckel@ginac.de>
166
167         * src/integer/conv/cl_I_to_digits.cc (I_to_digits): Fix bug in base 32.
168
169 2004-09-27  Richard B. Kreckel  <kreckel@ginac.de>
170
171         Support for little-endian Mips, second shot
172         * src/base/digitseq/cl_asm_mipsel_.cc: New file...
173         * src/base/digitseq/cl_asm_cc: ...used here.
174         * src/base/digitseq/cl_asm.h: Include cl_asm_mips.h for any endianness.
175         * include/cln/object.h: Set alignment for mipsel explicitly.
176
177 2004-09-05  Richard B. Kreckel  <kreckel@ginac.de>
178
179         Support for little-endian Mips
180         * include/cln/config.h.in: Add __mipsel__.
181         * include/cln/modules.h: For Mips, this is endianness-agnostic.
182         * src/base/digitseq/cl_asm_.cc, src/base/digitseq/cl_asm.h:
183         Mask out assembler for little-endian Mips.
184
185 2004-08-30  Bruno Haible  <bruno@clisp.org>
186
187         * benchmarks/timebench2.sh: Multiply all repeat counts by 100.
188         * benchmarks/timebench2.results: Add recent PowerPC G4 results.
189
190 2004-08-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
191
192         * examples/e.cc: remove extra semicolon.
193
194 2004-08-25  Bruno Haible  <bruno@clisp.org>
195
196         * autoconf/ltmain.sh: Upgrade to libtool-1.5.6.
197         * m4/libtool.m4: New file, from libtool-1.5.6 with modifications:
198         2004-08-22  Bruno Haible  <bruno@clisp.org>
199                 * m4/libtool.m4: Add support for Comeau C++ on Linux.
200                 Reported by Prof. Roberto Bagnara <bagnara@cs.unipr.it>.
201         * autoconf/aclocal.m4: Regenerate.
202
203 2004-08-19  Bruno Haible  <bruno@clisp.org>
204
205         * include/cln/modules.h (CL_GLOBALIZE_JUMP_LABEL, CL_JUMP_TO): When
206         converting a label to a string, use ASM_UNDERSCORE_PREFIX. Needed on
207         MacOS X.
208         Reported by Darren Bane <darren.bane@ul.ie>.
209
210 2004-07-01  Richard B. Kreckel  <kreckel@ginac.de>
211
212         * Version 1.1.8 released.
213
214 2004-06-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
215
216         * src/base/cl_macros.h: alloca(3) has size_t argument type.
217
218 2004-06-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
219
220         * include/cln/floatformat.h: Do define a type here.
221
222 2004-06-27  Richard B. Kreckel  <kreckel@ginac.de>
223
224         * include/cln/modules.h (CL_JUMP_TO): Fix AMD64 brokenness.
225
226 2004-06-23  Bruno Haible  <bruno@clisp.org>
227
228         * configure.ac: Pretend ftime() is not available. Needed by
229         CL_TIMES_CLOCK.
230
231 2004-06-21  Ralf Stephan  <ralf@ark.in-berlin.de>
232
233         * doc/cln.tex: Document jacobi, isprobprime and nextprobprime.
234
235 2004-06-18  Richard B. Kreckel  <kreckel@ginac.de>
236
237         * rational/transcendental/cl_RA_logp.cc: fix bug where base is
238         reciprocal of an integer.
239         Reported by Niklas Knutsson <nq@altern.org>.
240
241 2004-06-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
242
243         * src/complex/ring/cl_C_ring.cc, src/integer/ring/cl_I_ring.cc,
244         src/rational/ring/cl_RA_ring.cc, src/real/ring/cl_R_ring.cc:
245         Make template specializations explicit.
246
247 2004-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
248
249         * src/complex/input/cl_N_read.cc, src/float/input/cl_F_read.cc,
250         src/integer/input/cl_I_read.cc, src/rational/input/cl_RA_read.cc,
251         src/real/input/cl_R_read.cc:  Remove unused labels.
252
253 2004-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
254
255         * benchmarks/timebench1.cc, benchmarks/timebench2a.LiDIA.cc,
256         benchmarks/timebench2a.cc, benchmarks/timebench2ap.cc,
257         benchmarks/timebench2b.LiDIA.cc, benchmarks/timebench2b.cc,
258         examples/atan_recip.cc, examples/atanh_recip.cc,
259         examples/contfrac.cc, examples/e.cc, examples/legendre.cc,
260         examples/lucaslehmer.cc, examples/pi.cc, include/cln/GV.h,
261         include/cln/SV.h, include/cln/malloc.h, include/cln/modules.h,
262         include/cln/object.h, include/cln/string.h, src/base/cl_abort.cc,
263         src/base/cl_alloca.h, src/base/cl_malloc.cc,
264         src/base/random/cl_random_from.cc,
265         src/base/string/cl_spushstring_append.cc,
266         src/base/string/cl_spushstring_push.cc,
267         src/base/string/cl_st_debug.cc,
268         src/base/string/input/cl_st_gettoken.cc,
269         src/complex/input/cl_N_read.cc, src/float/input/cl_F_read.cc,
270         src/float/output/cl_F_dprint.cc, src/integer/input/cl_I_read.cc,
271         src/rational/input/cl_RA_read.cc,
272         src/real/format-output/cl_fmt_integer.cc,
273         src/real/format-output/cl_fmt_paddedstring.cc,
274         src/real/input/cl_R_read.cc, src/timing/cl_t_current.cc,
275         src/timing/cl_t_current2.cc, tests/exam.cc, tests/tests.cc,
276         tests/timeLFRAmul.cc, tests/timeLFatan-compare.cc,
277         tests/timeLFatan.cc, tests/timeLFatanh-compare.cc,
278         tests/timeLFatanh.cc, tests/timeLFcos-compare.cc, tests/timeLFcos.cc,
279         tests/timeLFcosh.cc, tests/timeLFexp-compare.cc, tests/timeLFexp.cc,
280         tests/timeLFln-compare.cc, tests/timeLFln.cc,
281         tests/timeLFsin-compare.cc, tests/timeLFsin.cc, tests/timeLFsinh.cc,
282         tests/timeLFsqrt.cc, tests/timeMImisc5.cc, tests/timeMIpow2div.cc,
283         tests/timeMIpow2recip.cc, tests/timeRALFdiv.cc, tests/timeRAtoLF.cc,
284         tests/timeUPMImul.cc, tests/timecatalan.cc, tests/timediv.cc,
285         tests/timediv2adic-compare.cc, tests/timediv2adic.cc,
286         tests/timeeuler.cc, tests/timeexp1.cc, tests/timefact.cc,
287         tests/timegcd.cc, tests/timemul-compare.cc, tests/timemul.cc,
288         tests/timepi.cc, tests/timeprint-compare.cc, tests/timeprint.cc,
289         tests/timerecip2adic-compare.cc, tests/timerecip2adic.cc,
290         tests/timesqrt.cc, tests/timesqrtmodp.cc, tests/timesquare.cc,
291         tests/timezeta3.cc: Change all C include headers to ISO style
292         within C++ code.
293
294 2004-06-10  Richard B. Kreckel  <kreckel@ginac.de>
295
296         * examples/perfnum.cc: update to presumed 41st Mersenne prime.
297
298 2004-05-02  Richard B. Kreckel  <kreckel@ginac.de>
299
300         * Version 1.1.7 released.
301
302 2004-05-02  Richard B. Kreckel  <kreckel@ginac.de>
303
304         * examples/pi.cc and examples/pi.1: New files.
305         * examples/Makefile.in: Build the pi executable.
306
307 2004-05-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
308
309         * src/Makefile.in: Fix for parallel build: wait for subdir objects to
310         be finished before creating the library.
311
312 2004-04-30  Richard B. Kreckel  <kreckel@ginac.de>
313
314         * src/integer/output/cl_I_print.cc (print_integer): workaround
315         GCC compiler bug (cf. Debian bug#246319).
316
317 2004-03-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
318
319         * m4/gmp.m4 (CL_GMP_CHECK): Do not lose LIBS setting with config.cache
320         enabled.
321
322 2004-03-08  Bruno Haible  <bruno@clisp.org>
323
324         * src/float/lfloat/elem/cl_LF_mul.cc (operator*): Fix the second
325         underflow condition.
326         * src/float/lfloat/algebraic/cl_LF_sqrt.cc (sqrt): Fix a bug with large
327         uexp whereby SQRT of MOST-POSITIVE-LONG-FLOAT was less than 1.
328
329 2004-03-04  Richard B. Kreckel  <kreckel@ginac.de>
330
331         * Makefile.in (install): Add ${srcdir} for cln.m4.
332         * m4/gmp.m4: quote macro names.
333         Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
334
335 2004-01-01  Richard B. Kreckel  <kreckel@ginac.de>
336
337         * Version 1.1.6 released.
338
339 2004-01-01  Richard B. Kreckel  <kreckel@ginac.de>
340
341         * include/cln/univpoly.h, include/cln/univpoly_complex.h,
342           include/cln//univpoly_integer.h, include/cln/univpoly_modint.h,
343           include/cln/univpoly_rational.h, include/cln/univpoly_real.h,
344           src/polynomial/elem/cl_UP_GF2.h, src/polynomial/elem/cl_UP_MI.h,
345           src/polynomial/elem/cl_UP_gen.h, src/polynomial/elem/cl_UP_no_ring.cc,
346           src/polynomial/elem/cl_UP_number.h (ldegree): New function.
347         * doc/cln.tex: Document `ldegree'.
348
349 2003-12-29  Richard B. Kreckel  <kreckel@ginac.de>
350
351         Rework of autoconfiscation infrastructure
352         * autoconf/config.{guess,sub}: Update to GNU version 2003-10-07.
353         * autoconf/ltmain.sh: Update to GNU version 1.4.3.
354         * autoconf/autoconf: Remove (from now on we assume autoconf is
355           installed properly on the sytem).
356         * autoconf/autoconf.m4: Likewise.
357         * autoconf/autoconf.m4f: Likewise.
358         * autoconf/acgeneral.m4: Likewise.
359         * autoconf/acspecific.m4: Likewise.
360         * autoconf/aclocal.m4: Regenerate.
361         * autoconf/acinclude.m4: Remove (while moving the macros...)
362         * m4/gmp.m4: New file (...to here).
363         * Makefile.devel: Update to new scheme.
364         * configure.ac: Likewise.
365         * include/cln/GV_integer.h: Assume template specializations work.
366         * include/cln/GV_modinteger.h: Likewise.
367         * include/cln/config.h.in: Likewise, and drop HAVE_BOOL.
368         * src/base/cl_base_config.h.in: Drop support for obsolete ftime(3).
369         * src/base/random/cl_random_from.cc: Likewise.
370         * src/timing/cl_base_config.h.in: Likewise.
371         * src/timing/cl_t_current.cc: Likewise.
372
373 2003-12-27  Richard B. Kreckel  <kreckel@ginac.de>
374
375         * src/polynomial/cl_UP_gen.h (gen_minus): Fix case where first
376           argument is zero.
377         * src/polynomial/cl_UP_MI.h (modint_minus): Likewise.
378         * src/polynomial/cl_UP_number.h (num_minus): Likewise.
379         Reported by Munagala Ramanath <amberarrow@yahoo.com>.
380
381 2003-12-02  Richard B. Kreckel  <kreckel@ginac.de>
382
383         * examples/perfnum.cc: update to presumed 40th Mersenne prime.
384
385 2003-11-20  Christian Bauer  <cbauer@ginac.de>
386
387         Added pkg-config support
388         * cln.pc.in: New file.
389         * Makefile.in: Take care of cln.pc.
390         * configure.ac: Likewise.
391
392 2003-08-06  Richard B. Kreckel  <kreckel@ginac.de>
393
394         * src/numtheory/cl_nt_sqrtmodp.cc: #undef _R.
395         Reported by Andrew Rechnitzer <A.Rechnitzer@ms.unimelb.edu.au>.
396
397 2003-08-01  Richard Kreckel  <kreckel@ginac.de>
398
399         More dependent base resolution issues
400         * src/base/hash/cl_hash.h (cl_heap_hashtable<T>::iterator()): 
401         portable syntactic simplification.
402         * src/base/hash/cl_hashset.h: Preceed inherited members with this->.
403         * src/base/hash/cl_hash1.h: Likewise for member functions.
404         * src/base/hash/cl_hash2.h: Likewise.
405         * src/base/hash/cl_hashuniq.h: Likewise.
406         * src/base/hash/cl_hashuniqweak.h: Likewise.
407         * src/base/hash/cl_hash.h: Revert explicit static member function
408         lookup since that was GCC's fault.
409         * src/base/hash/cl_hash2weak.h: Likewise.
410         * src/base/hash/cl_hashuniqweak.h: Likewise.
411
412 2003-06-29  Richard Kreckel  <kreckel@ginac.de>
413
414         Dependent base resolution needed for GCC-3.4
415         * include/cln/GV.h: Preceed inherited members with this->.
416         * include/cln/SV.h: Likewise.
417         * include/cln/object.h: Likewise.
418         * src/base/hash/cl_hash1.h: Likewise.
419         * src/base/hash/cl_hash1weak.h: Likewise.
420         * src/base/hash/cl_hash2.h: Likewise.
421         * src/base/hash/cl_hashuniq.h: Likewise.
422         * src/base/hash/cl_hash.h: Make lookup of static member function 
423         explicit.
424         * src/base/hash/cl_hash2weak.h: Likewise.
425         * src/base/hash/cl_hashuniqweak.h: Likewise.
426         * src/modinteger/cl_MI.cc: Make shell-comment a C-comment. Geez.
427
428 2003-02-24  Bruno Haible  <bruno@clisp.org>
429
430         * src/base/random/cl_random_from.cc (random_state::random_state): Add
431         support for MacOS X.
432         * src/modinteger/cl_MI.cc: #undef _R.
433         Reported by Erann Gat <gat@jpl.nasa.gov>.
434
435 2002-08-03  Joerg Arndt  <jj@suse.de>
436
437         * include/cln/config.h.in: Add support for x86_64 CPU.
438         * include/cln/modules.h: Likewise.
439         * include/cln/types.h: Likewise.
440         * include/cln/object.h: Likewise.
441
442 2002-06-08  Richard Kreckel  <kreckel@ginac.de>
443
444         * src/base/digitseq/cl_asm.h: ensure intCsize==16 when including
445         m68k Assembler routines.
446         * src/base/digitseq/cl_asm_.cc: Likewise.
447
448 2002-05-28  Richard Kreckel  <kreckel@ginac.de>
449
450         * Version 1.1.5 released.
451
452 2002-05-27  Richard Kreckel  <kreckel@ginac.de>
453
454         * include/cln/modules.h (CL_CONCATENATE): New macro.
455
456 2002-05-10  Richard Kreckel  <kreckel@ginac.de>
457
458         * doc/cln.tex (Building the library): Update recommendations for 
459         compiling on Tru64 using g++ 3.0 and 3.1.
460         * README: Update homepage.
461
462 2002-05-05  Bruno Haible  <bruno@clisp.org>
463
464         * doc/cln.tex (Building the library): Give some recommendations for
465         g++ 3.0 and 3.1.
466
467         Force link-time references despite optimizations done by g++ 2.95
468         and newer.
469         * include/cln/modules.h (CL_FORCE_LINK): New macro.
470         * Use CL_FORCE_LINK.
471         * include/cln/GV_integer.h (cl_GV_I_debug_dummy): Likewise.
472         * include/cln/GV_number.h (cl_GV_number_debug_dummy): Likewise.
473         * include/cln/SV_number.h (cl_SV_number_debug_dummy): Likewise.
474         * include/cln/SV_ringelt.h (cl_SV_ringelt_debug_dummy): Likewise.
475         * include/cln/dfloat.h (cl_DF_debug_dummy): Likewise.
476         * include/cln/ffloat.h (cl_FF_classes_dummy, cl_FF_debug_dummy):
477         Likewise.
478         * include/cln/integer.h (cl_I_classes_dummy, cl_I_debug_dummy):
479         Likewise.
480         * include/cln/lfloat.h (cl_LF_debug_dummy): Likewise.
481         * include/cln/modinteger.h (cl_MI_debug_dummy): Likewise.
482         * include/cln/rational.h (cl_RA_debug_dummy): Likewise.
483         * include/cln/real.h (cl_R_debug_dummy): Likewise.
484         * include/cln/ring.h (cl_ring_debug_dummy): Likewise.
485         * include/cln/sfloat.h (cl_SF_classes_dummy, cl_SF_classes_dummy):
486         Likewise.
487         * include/cln/string.h (cl_string_debug_dummy): Likewise.
488         * include/cln/univpoly.h (cl_UP_debug_dummy): Likewise.
489         * src/float/base/cl_ieee.h (cl_ieee_dummy_NNN): Likewise.
490
491         Avoid g++ 3.1 warnings.
492         * src/base/cl_offsetof.h (offsetof): Redefine each time.
493         * src/base/digitseq/cl_DS.h: Include "cl_offsetof.h" after <gmp.h>.
494
495         Avoid g++ 3.1 warnings.
496         * src/base/hash/cl_hash.h (struct cl_heap_hashtable): Use typename
497         where needed.
498         * src/base/hash/cl_hash1.h (struct cl_heap_hashtable_1): typedef
499         htxentry as a shortcut.
500         * src/base/hash/cl_hash2.h (struct cl_heap_hashtable_2): Likewise.
501         * src/base/hash/cl_hashset.h (struct cl_heap_hashtable_set): Likewise.
502         * src/base/hash/cl_hashuniq.h (struct cl_heap_hashtable_uniq):
503         Likewise.
504
505 2002-03-15  Bruno Haible  <bruno@clisp.org>
506
507         * cln.tex: Document problem with GNU make 3.77.
508         Reported by Michael Somos <somos@grail.cba.csuohio.edu>.
509
510 2002-02-16  Richard Kreckel  <kreckel@ginac.de>
511
512         * cln.m4: quote macro name.
513           Pointed out by Roberto Bagnara.
514
515 2002-01-20  Richard Kreckel  <kreckel@ginac.de>
516
517         * autoconf/config.{guess,sub}: Update to GNU version 2002-01-02.
518           (the old one was broken on Linux/Mips.)
519
520 2002-01-04  Richard Kreckel  <kreckel@ginac.de>
521
522         * autoconf/autoconf.m4f: get brutal in order to adhere to FHS.
523         * Version 1.1.4 released.
524
525 2002-01-03  Richard Kreckel  <kreckel@ginac.de>
526
527         * autoconf/acinclude.m4: revamp MPN-matcher.
528         * autoconf/aclocal.m4: upgrade to autoconf-2.52 infrastructure,
529           sync with CLisp from CVS.
530         * autoconf/autoconf: Likewise.
531         * autoconf/autoconf.m4f: Likewise (new file).
532         * configure.ac: Likewise (new file, replaces configure.in).
533         * configure.in: Likewise (deleted, replaced by configure.ac).
534         * autoconf/config.{guess,sub}: Update to GNU version 2001-12-13.
535         * src/Makefile.in: made VPATH safe for autoconf-2.52.
536         * include/cln/config.h.in: Add __s390__.
537
538 2001-12-31  Richard Kreckel  <kreckel@ginac.de>
539
540         * src/base/digitseq/cl_DS.h: <gmp.h> is not included extern "C"
541           any more since GMP4 has some C++ support in it.
542
543 2001-12-14  Richard Kreckel  <kreckel@ginac.de>
544
545         * include/cln/modules.h, include/cln/object.h: add support for
546           s390.
547         * src/numtheory/cl_nt_sqrtmodp.cc: workaround for GCC2.x compiler-bug
548           on s390, provided by Gerhard Tonn.
549
550 2001-11-05  Richard Kreckel  <kreckel@ginac.de>
551
552         * autoconf/ltmain.sh: Upgrade to libtool-1.4.2.
553         * autoconf/config.{guess,sub}: Update to GNU version 2001-09-07.
554         * Version 1.1.3 released.
555
556 2001-11-04  Bruno Haible  <haible@clisp.cons.org>
557
558         Interoperability with gcc-3.0 -fuse-cxa-atexit.
559         * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add test whether
560           global destructors actually exist.
561         * include/cln/modules.h (CL_PROVIDE, CL_PROVIDE_END, CL_PROVIDE_END):
562           Don't hack the global destructors if there is no global destructors
563           function.
564
565 2001-11-03  Richard Kreckel  <kreckel@ginac.de>
566
567         * src/float/transcendental/cl_F_sinx.cc (sinx_naive): For small
568           values of x, return square(x) instead of x.
569         * src/float/transcendental/cl_F_sinhx.cc (sinhx_naive): Likewise.
570
571 2001-07-25  Richard Kreckel  <kreckel@ginac.de>
572
573         * Version 1.1.2 released.
574
575 2001-07-24  Richard Kreckel  <kreckel@ginac.de>
576
577         * src/base/hash/cl_hash.h: declare _cl_hashtable_iterator<htentry> a
578           friend of cl_heap_hashtable<htentry>.
579
580 2001-07-22  Richard Kreckel  <kreckel@ginac.de>
581
582         * src/float/base/cl_ieee.cc: try to do magic to the FPU only if
583           _FPU_IEEE is really defined.
584         * include/cln/modules.h: change assembler labels from `label' to
585           `label:' on hppa, needed by Linux (see comment).
586         * autoconf/acinclude.m4: new file (for storing CLN-specific macros).
587         * Makefile.devel: adjusted.
588         * autoconf/aclocal.m4: regenerate.
589         * src/base/low/cl_low_mul.cc: moved POD variables that are declared
590           extern "C" elsewhere out of the namespace.
591         * src/base/low/cl_low_div.cc: Likewise.
592
593 2001-06-08  Bruno Haible  <haible@clisp.cons.org>
594
595         * autoconf/config.{guess,sub}: Update to GNU version 2001-05-11.
596         * autoconf/aclocal.m4: Upgrade to libtool-1.4.
597         * autoconf/ltmain.sh: Likewise.
598         * autoconf/ltconfig: Remove file.
599         * autoconf/install-sh: New file.
600         * configure.in: Add AC_CONFIG_AUX_DIR call.
601
602 2001-06-05  Richard Kreckel  <kreckel@ginac.de>
603
604         * tests/tests.cc: resolve namespace ambiguity about strcmp().
605
606 2001-05-31  Richard Kreckel  <kreckel@ginac.de>
607
608         * Version 1.1.1 released.
609
610 2001-05-28  Richard Kreckel  <kreckel@ginac.de>
611
612         * cln/cln.tex: documented problems with shared library on Sparc
613           using gcc older than 2.95.3.
614         * configure.in: Fixed typos in versioning docu.
615
616 2001-05-25  Bruno Haible  <haible@clisp.cons.org>
617
618         * src/base/digitseq/cl_asm_arm_.cc: Use #0x instead of #& to designate
619           hexadecimal constants.
620
621 2001-05-25  Richard Kreckel  <kreckel@ginac.de>
622
623         * autoconf/floatparam.c (double_wordorder_bigendian_p): new symbol.
624         * src/float/dfloat/cl_DF.h: Check for double_wordorder_bigendian_p.
625         * Removed LiDIA interface since that is now outdated (namespace cln)
626           and maintained elsewhere.
627         * Adjusted dates and final touches for 1.1.1.
628
629 2001-05-19  Richard Kreckel  <kreckel@ginac.de>
630
631         * INSTALL: Update toolchain info: no egcs, some more platforms.
632         * doc/cln.tex: Likewise.
633
634 2001-05-18  Richard Kreckel  <kreckel@ginac.de>
635
636         * src/base/cl_low.h: prepended variables declared inside macros
637           with underscore.  Fixes equal_hashcode() on various platforms.
638
639 2001-04-25  Richard Kreckel  <kreckel@ginac.de>
640
641         * src/base/cl_low.h: Added several checks if NO_ASM is defined, so
642           this definition becomes actually useful.  This is needed for 
643           compilation on Arm until somebody fixes the assembler files for Arm.
644         * src/base/digitseq/cl_asm.h: Likewise.
645         * src/base/digitseq/cl_asm_.cc: Likewise.
646         * */Makefile.in: Added `override' in front of `CPPFLAGS +=' so
647            one can say `make CPPFLAGS=-DFOOBAR'.
648
649 2001-03-26  Arvid Norberg <c99ang@cs.umu.se>
650
651         * src/base/random/cl_random_from.cc: ported to beos.
652
653 2001-03-05  Richard Kreckel  <kreckel@ginac.de>
654
655         * include/cln/modules.h (CL_JUMP_TO): Fix IA64 brokenness.
656
657 2001-01-28  Richard Kreckel  <kreckel@ginac.de>
658
659         * include/cln/number.h (cl_as_N): Remove bogus comment.
660
661 2001-01-22  Richard Kreckel  <kreckel@ginac.de>
662
663         * configure.in: Make build in separate builddir possible (again).
664
665 2001-01-22  Richard Kreckel  <kreckel@ginac.de>
666
667         * include/cln/*.h: Change signatures of all classes' methods
668           cln::cl_foo::operator new(size_t, cl_foo*) to
669           cln::cl_foo::operator new(size_t, void*) so one can declare
670           std::vector<cln::cl_foo>, std::list<cln::cl_foo> etc. for
671           certain STL implementations (like libstdc++-v3).
672
673 2000-12-14  Richard Kreckel  <kreckel@ginac.de>
674
675         * Version 1.1 released.
676
677 2000-12-13  Richard Kreckel  <kreckel@ginac.de>
678
679         * */*: cl_istream -> std::istream, cl_ostream -> std::ostream.
680
681 2000-12-05  Richard Kreckel  <kreckel@ginac.de>
682
683         * Makefile.in, src/Makefile.in, doc/Makefile.in: Use mkdir -p.
684         * include/cln/version.h.in, src/base/verion.cc: New files.
685         * configure.in: Generate include/cln/version.h.
686         * cln.m4: Rewrote it. Check result of cln-config without compiling.
687           Do cross-check library version and header version information.
688
689 2000-12-02  Christian Bauer  <cbauer@ginac.de>
690
691         * Makefile.in, src/Makefile.in, doc/Makefile.in: Added $DESTDIR.
692         * cln.m4, cln.spec.in: some minor fixes with respect to RPM package
693           building.
694
695 2000-11-24  Richard Kreckel  <kreckel@ginac.de>
696
697         * */*: Removed problematic stdin, stdout and stderr definitions.  
698           Use std::cin, std::cout, std::cerr instead (obsoletes 2000-10-29).
699
700 2000-11-20  Bruno Haible
701
702         * cln-config.1: change title.
703
704 2000-11-18  Richard Kreckel  <kreckel@ginac.de>
705
706         * cln.m4: New file.
707         * doc/cln.tex: Document package tools cln-config and cln.m4.
708         * Makefile.in: Care about cln.m4.
709
710 2000-11-17  Richard Kreckel  <kreckel@ginac.de>
711
712         * cln-config.1: added manpage, as required by a couple of distros.
713         * Makefile.in, doc/Makefile.in: target install depends on installdirs.
714
715 2000-11-16  Richard Kreckel  <kreckel@ginac.de>
716
717         * autoconf/aclocal.m4 (CL_GMP_SET_UINTD): New macro...
718         * configure.in: ...used here.
719         * include/cln/config.h.in: Put in macros defined by CL_GMP_SET_UINTD...
720         * include/cln/types.h: ...used here.
721         * autoconf/acgeneral.m4, autoconf/aclocal.m4: Adhere to FHS.
722
723 2000-11-13  Richard Kreckel  <kreckel@ginac.de>
724
725         * src/base/digitseq/cl_asm.h: Test if (intDsize==32) for MIPS and HPPA,
726           in order to guard against an accidented configuration.
727         * src/integer/conv/cl_I_to_digits.cc (table): member b_hoch_k of 
728           struct power_table_entry initialized as ULL instead of as UL, if 
729           intDsize==64 (caused misprinting on MIPS w/ GMP).
730         * src/base/cl_macros.h (minus_bitm, bitc): implemented ULL, if 
731           HAVE_FAST_LONGLONG.
732         * src/integer/bitwise/cl_I_mkfx.cc (mkf_extract): Likewise.
733         * src/integer/conv/cl_I_from_L.cc (cl_I_from_L): Added trival 
734           generation of Bignum for intDsize==64 and a notreached-check at end.
735         * autoconf/config.guess, autoconf/config.sub: updated from FSF.
736         * include/cln/config.h.in: Prepared support for IA64.
737         * include/cln/types.h: Likewise.
738         * include/cln/object.h: Likewise.
739         * include/cln/modules.h: Likewise.
740         * src/base/cl_macros.h (nonreturning_function): Likewise (NUE's 
741           compiler claims __GNUC_MINOR__==9).
742
743 2000-11-03  Richard Kreckel  <kreckel@ginac.de>
744
745         * src/base/cl_macros.h (bit, minus_bit): changed criterion for ULL from
746           HAVE_DD to HAVE_FAST_LONGLONG.
747         * src/base/cl_macros.h (bitm): implemented ULL, if HAVE_FAST_LONGLONG.
748         * src/base/cl_low.h: actually no need to include "cln/types.h" here.
749         * src/base/cl_low.h (logcount_64): always ULL, independent of HAVE_DD.
750         * src/base/random/cl_UL_random.cc (random32): a is always ULL.
751
752 2000-11-01  Richard Kreckel  <kreckel@ginac.de>
753
754         * include/cln/object.h (cl_combine): define additional signatures, if
755           HAVE_LONGLONG is defined, in order to keep the compiler happy.
756         * src/base/cl_macros.h: include "cln/types.h", since we need HAVE_DD...
757         * src/base/cl_macros.h (bit): ...for this macro...
758         * src/base/cl_macros.h (minus_bit): ...and this one.
759         * src/base/cl_low.h: include "cln/types.h", since we need HAVE_DD...
760         * src/base/cl_low.h (logcount_64): ...for this macro.
761         * src/base/random/cl_UL_random.cc (random32): if HAVE_DD a is an ULL.
762         * src/integer/gcd/cl_I_gcd_aux2.cc (floorDD): fixed algorithmic bug.
763           that turned up when intDsize==32 and cl_word_size==64.
764         * src/float/dfloat/elem/cl_DF_div.cc (operator/): fixed a missing cast
765           to uint64 that turned up when intDsize==32 and cl_word_size==64.
766
767 2000-10-29  Richard Kreckel  <kreckel@ginac.de>
768
769         * src/real/input/cl_R_read.cc, src/complex/input/cl_N_read.cc:
770           #undef stderr, if it's defined so cln::stderr isn't confused.
771         * src/base/input/cl_read_globals.cc: stdin should not be extern.
772
773 2000-09-05  Richard Kreckel  <kreckel@ginac.de>
774
775         * include/cln/number.h (As): Fix it in namespace by suffixing `_As'
776           to the appropiate method instead of prefixing `as_'.
777         * src/complex/misc/cl_N_as.cc (cl_N_As): Likewise.
778         * src/real/misc/cl_R_as.cc (cl_R_As): Likewise.
779         * src/rational/misc/cl_RA_as.cc (cl_RA_As): Likewise.
780         * src/integer/misc/cl_I_as.cc (cl_I_As): Likewise.
781         * src/float/misc/cl_F_as.cc (cl_F_As): Likewise.
782         * src/float/sfloat/misc/cl_SF_as.cc (cl_SF_As): Likewise.
783         * src/float/lfloat/misc/cl_LF_as.cc (cl_LF_As): Likewise.
784         * src/float/ffloat/misc/cl_FF_as.cc (cl_FF_As): Likewise.
785         * src/float/dfloat/misc/cl_DF_as.cc (cl_DF_As): Likewise.
786
787 2000-09-05  Richard Kreckel  <kreckel@ginac.de>
788
789         * src/complex/transcendental/cl_C_expt_C.cc (expt): fix logic for
790           the 0^y cases.
791
792 2000-08-30  Richard Kreckel  <kreckel@ginac.de>
793
794         * include/cln/number.h, cl_number::_as_cl_private_thing(): removed.
795           Rearranged for a clearer distinction between macros and remaining
796           identifiers, so Cint can parse it smoothly.
797
798 2000-08-29  Richard Kreckel  <kreckel@ginac.de>
799
800         * include/cln/number.h, the(const cl_number& x): New template
801           function.
802
803 2000-08-29  Richard Kreckel  <kreckel@ginac.de>
804
805         * */*: Pushed CLN into a namespace `cln'.  While doing so, the
806           following identifiers got their poor-man's namespace (i.e. the 
807           prefix `cl_') stripped off:
808           cl_catalanconst()        ->  catalanconst()
809           cl_compare()             ->  compare()
810           cl_cos_sin()             ->  cos_sin()
811           cl_cos_sin_t             ->  cos_sin_t
812           cl_cosh_sinh()           ->  cosh_sinh()
813           cl_cosh_sinh_t           ->  cosh_sinh_t
814           cl_decoded_dfloat        ->  decoded_dfloat
815           cl_decoded_ffloat        ->  decoded_ffloat
816           cl_decoded_float         ->  decoded_float
817           cl_decoded_lfloat        ->  decoded_lfloat
818           cl_decoded_sfloat        ->  decoded_sfloat
819           cl_default_float_format  ->  default_float_format
820           cl_default_print_flags   ->  default_print_flags
821           cl_default_random_state  ->  default_random_state
822           cl_double_approx()       ->  double_approx()
823           cl_equal()               ->  equal()
824           cl_equal_hashcode()      ->  equal_hashcode()
825           cl_eulerconst()          ->  eulerconst()
826           cl_find_modint_ring()    ->  find_modint_ring()
827           cl_find_univpoly_ring()  ->  find_univ_poly_ring()
828           cl_float_approx()        ->  float_approx
829           cl_float_format()        ->  float_format()
830           cl_float_format_t        ->  float_format_t
831           cl_free_hook()           ->  free_hook()
832           cl_hermite()             ->  hermite()
833           cl_laguerre()            ->  laguerre()
834           cl_legendre()            ->  legandre()
835           cl_malloc_hook()         ->  malloc_hook()
836           cl_pi()                  ->  pi()
837           cl_tschebychev()         ->  tschebychev()
838           cl_zeta()                ->  zeta()
839           NB: For functions these changes includes all signatures.
840         * include/*: moved to include/cln/*, stripped `cl_' off filenames.
841         * cln-config.in: new file.
842
843 2000-08-26  Bruno Haible  <haible@clisp.cons.org>
844
845         * autoconf/acgeneral.m4 (AC_OUTPUT): Use braces in exec_prefix default
846           value, not parens.
847
848 2000-08-18  Bruno Haible  <haible@clisp.cons.org>
849
850         * include/cl_univpoly_modint.h: Fix typo.
851
852 2000-07-13  Bruno Haible  <haible@clisp.cons.org>
853
854         * src/float/input/cl_F_read_stream.cc (number_char_p): Accept '_',
855           used as precision marker for floats.
856           Reported by Keith Briggs (in 1998) and Thomas Roessler.
857         * src/integer/input/cl_I_read_stream.cc (number_char_p): Likewise.
858         * src/rational/input/cl_RA_read_stream.cc (number_char_p): Likewise.
859         * src/real/input/cl_R_read_stream.cc (number_char_p): Likewise.
860         * src/complex/input/cl_N_read_stream.cc (number_char_p): Likewise.
861
862 2000-06-22  Bruno Haible  <haible@clisp.cons.org>
863
864         * include/cl_object.h: Rename cl_word_size to cl_pointer_size.
865         * include/cl_types.h (HAVE_FAST_LONGLONG): Also define on Irix6
866           with N32 ABI.
867           (cl_word_size): New macro.
868         * src/float/sfloat/cl_SF.h: Use cl_pointer_size instead of
869           cl_word_size.
870
871 2000-05-31  Bruno Haible  <haible@clisp.cons.org>
872
873         * tests/exam_I_floor.cc (integer_floor_tests): Add one more entry.
874           From a sample that fails with gcc-2.95.2 on Sparc.
875         * tests/exam_I_gcd.cc (integer_gcd_tests): Likewise.
876
877 2000-05-30  Richard Kreckel  <kreckel@ginac.de>
878
879         * configure.in, autoconf/aclocal.m4 (CL_GMP_H_VERSION, CL_GMP_CHECK):
880           New macros.
881         * configure.in, include/cl_config.h.in (CL_VERSION, CL_VERSION_MINOR,
882           CL_VERSION_PATCHLEVEL): New definitions.
883         * autoconf/config.guess, autoconf/config.sub, autoconf/ltconfig,
884           autoconf/ltmain.sh: updated from FSF (libtool 1.3.5, etc).
885         * src/Makefile.in, configure.in: release-variables renamed from 
886           CLN_* to CL_*.
887         * configure.in: default to build both shared and static library
888           (i.e. default to the most common behaviour).
889
890 2000-05-29  Richard Kreckel  <kreckel@ginac.de>
891
892         * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Added missing changequote
893           environment around the patch of 2000-05-23.
894
895 2000-05-29  Bruno Haible  <haible@clisp.cons.org>
896
897         * autoconf/aclocal.m4 (CL_PROG_INSTALL): Fix typo.
898           Reported by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>.
899
900 2000-05-27  Richard Kreckel  <kreckel@ginac.de>
901
902         * src/float/lfloat/algebraic/cl_LF_sqrt.cc,
903           src/base/digitseq/cl_DS_sqrt.cc: Readjusted break-even points.
904
905 2000-05-24  Richard Kreckel  <kreckel@ginac.de>
906
907         * autoconf/config.*: Updated to new version from FSF
908           (the new libtool wants this).
909         * src/Makefile.in: added $(LDFLAGS) to link step.
910         * src/base/digitseq/cl_2DS_div.cc, cl_2DS_recip.cc: Readjusted 
911           break-even points.
912
913 2000-05-23  Bruno Haible  <haible@clisp.cons.org>
914
915         * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Determine host_cpu,
916           host_vendor, host_os correctly if $host has more than two hyphens.
917
918 2000-05-19  Richard Kreckel  <kreckel@ginac.de>
919
920         * src/base/digitseq/cl_DS_mul.cc: Rearranged break-even points to
921           better match present-day CPUs whenever GMP3 is used.
922         * src/base/digitseq/cl_DS_div.cc: dto. 
923         * src/TUNING: Added comment about order of tuning.
924         * configure, configure.in: Safer GMP3-detection.
925         * INSTALL.generic: Clarified behaviour of --with-gmp.
926         * autoconf/config.guess: updated from Clisp-2000-03-06 sources.
927
928 2000-05-04  Richard Kreckel  <kreckel@ginac.de>
929
930         * gmp/: removed completely.  From now on we are going to link
931           externally against libgmp3.0 or above!
932         * configure, configure.in, Makefile.in, */Makeflags: removed support
933           of internal gmp 2.0.2, like $GMP_INCLUDES, which should be done by
934           setting $CPPFLAGS instead.
935         * Makefile.in: Added libtool inter-library dependency for -lgmp and
936           conforming interface versioning (-version-info).
937         * autoconf/ltconfig, autoconf/ltmain.sh: Updated to newer versions
938           from libtool 1.3.4.
939
940 2000-02-22  Bruno Haible  <haible@clisp.cons.org>
941
942         * src/base/digitseq/cl_asm_mips_.cc: Starting at argument 5 the
943           parameter passing was changed for the MIPS n32 ABI.
944
945 2000-01-24  Richard Kreckel  <kreckel@ginac.de>
946
947         * gmp/*: Replaced the complete mpn sources with the ones from
948           Debian since they are maintained while the ones from FSF
949           aren't and there were problems on some architectures, PowerPC
950           in particular.  See the file gmp/README.CLN.  This way the
951           hard links in this directory have vanished, they were causing
952           trouble for people working in AFS.  This became necessary for
953           Debian, because there it woudn't compile on PPC.
954
955 2000-01-13  Richard Kreckel  <kreckel@ginac.de>
956
957         * Version 1.0.3 released.
958
959 2000-01-13  Richard Kreckel  <kreckel@ginac.de>
960
961         * src/base/cl_macros.h (nonreturning_function): For egcs and newer
962           use __attribute__ ((__noreturn__)) instead of the __volatile__
963           storage class.
964           (nonreturning): Remove macro.
965         * include/*: Minor fixes to stop -ansi -pedantic from complaining.
966         * include/cl_integer.h: (doublefactorial): New declaration.
967         * src/integer/misc/combin/cl_I_doublefactorial.cc: New file.
968
969 1999-12-18  Bruno Haible  <haible@clisp.cons.org>
970
971         * autoconf/acgeneral.m4 (AC_ARG_PROGRAM): Create conftestsed using
972           "cat", not "echo".
973         * autoconf/ltconfig: Improve support for recent FreeBSD 3.
974         * include/cl_GV.h (cl_GV_vectorops): Change return type from 'T' to
975           'const T', to match definition in src/vector/cl_GV_number.cc.
976           Reported by Duncan Simpson <dps@io.stargate.co.uk>.
977         * gmp/mpn/Makefile.in (.S.lo): Use 'if', not '&&', because '&&' may
978           yield return code 1.
979
980 1999-09-07  Bruno Haible  <haible@clisp.cons.org>
981
982         * Version 1.0.2 released.
983
984 1999-09-06  Bruno Haible  <haible@clisp.cons.org>
985
986         * src/rational/cl_RA.h (integerp, ratiop): Instead of returning a
987           boolean expression, write alternatives ending with either
988           "return cl_true;" or "return cl_false;". This way, g++ does a
989           better job inlining it.
990         * src/float/cl_F.h (longfloatp): Likewise.
991         * src/real/cl_R.h (rationalp, integerp, floatp): Likewise.
992         * src/complex/cl_C.h (realp, complexp): Likewise.
993
994 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
995
996         * include/cl_integer.h (cl_equal_hashcode): New declaration.
997         * include/cl_rational.h (cl_equal_hashcode): New declaration.
998         * include/cl_sfloat.h (cl_equal_hashcode): New declaration.
999         * include/cl_ffloat.h (cl_equal_hashcode): New declaration.
1000         * include/cl_dfloat.h (cl_equal_hashcode): New declaration.
1001         * include/cl_lfloat.h (cl_equal_hashcode): New declaration.
1002         * include/cl_float.h (cl_equal_hashcode): New declaration.
1003         * include/cl_real.h (cl_equal_hashcode): New declaration.
1004         * include/cl_complex.h (cl_equal_hashcode): New declaration.
1005         * src/base/cl_N.h (equal_hashcode_low, equal_hashcode_one): New macros.
1006         * src/integer/misc/cl_I_eqhashcode.cc: New file.
1007         * src/rational/misc/cl_RA_eqhashcode.cc: New file.
1008         * src/float/sfloat/misc/cl_SF_eqhashcode.cc: New file.
1009         * src/float/ffloat/misc/cl_FF_eqhashcode.cc: New file.
1010         * src/float/dfloat/misc/cl_DF_eqhashcode.cc: New file.
1011         * src/float/lfloat/misc/cl_LF_eqhashcode.cc: New file.
1012         * src/float/misc/cl_F_eqhashcode.cc: New file.
1013         * src/real/misc/cl_R_eqhashcode.cc: New file.
1014         * src/complex/misc/cl_C_eqhashcode.cc: New file.
1015         * doc/cln.tex: Document `cl_equal_hashcode'.
1016
1017 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
1018
1019         * include/cl_ring.h (cl_number_ring_ops): Add `contains' member.
1020           (cl_number_ring): New class.
1021           (cl_specialized_number_ring<T>): Inherit from cl_number_ring.
1022           (instanceof): New function.
1023         * src/integer/ring/cl_I_ring.cc (cl_I_p): New function.
1024         * src/integer/misc/cl_I_as.cc (cl_I_p): Add comment.
1025         * src/rational/ring/cl_RA_ring.cc (cl_RA_p): New function.
1026         * src/rational/misc/cl_RA_as.cc (cl_RA_p): Add comment.
1027         * src/real/ring/cl_R_ring.cc (cl_R_p): New function.
1028         * src/real/misc/cl_R_as.cc (cl_R_p): Add comment.
1029         * src/complex/ring/cl_C_ring.cc (cl_N_p): New function.
1030         * src/complex/misc/cl_N_as.cc (cl_N_p): Add comment.
1031         * doc/cln.tex: Document `instanceof'.
1032
1033 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
1034
1035         * include/cl_rational.h (numerator, denominator): New declarations.
1036         * src/rational/elem/cl_RA_numerator.cc: New file.
1037         * src/rational/elem/cl_RA_denominator.cc: New file.
1038         * include/cl_integer.h (numerator, denominator): New inline functions.
1039         * doc/cln.tex: Document `numerator' and `denominator'.
1040
1041 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
1042
1043         * src/rational/algebraic/cl_RA_rootp.cc (rootp): Fix endless loop
1044           in the integer case.
1045         * src/rational/algebraic/cl_RA_rootp_I.cc (rootp): Likewise.
1046
1047 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
1048
1049         * include/cl_config.h.in: Support for sparc64 CPU.
1050         * include/cl_modules.h: Likewise.
1051         * include/cl_types.h: Likewise.
1052         * include/cl_object.h: Likewise.
1053         * include/cl_GV.h: Likewise.
1054         * src/Makefile.in: Likewise.
1055         * src/base/cl_alloca.h: Likewise.
1056         * src/base/cl_macros.h: Likewise.
1057         * src/base/cl_sysdep.h: Likewise.
1058         * src/base/cl_low.h: Likewise.
1059         * src/base/digitseq/cl_asm.h: Likewise.
1060         * src/base/digitseq/cl_asm_.cc: Likewise.
1061         * src/base/digitseq/cl_asm_sparc64.h: New file.
1062         * src/base/digitseq/cl_asm_sparc64_.cc: New file.
1063         * src/modinteger/cl_MI_int.h: Support for sparc64 CPU.
1064         * src/polynomial/elem/cl_UP_no_ring.cc: Likewise.
1065         * src/polynomial/elem/cl_UP_GF2.h: Likewise.
1066         * src/polynomial/elem/cl_asm_GF2.cc: Likewise.
1067
1068 1999-09-04  Bruno Haible  <haible@clisp.cons.org>
1069
1070         * src/base/digitseq/cl_asm_sparc_.cc (orc2_loop_up, orc2_loop_down):
1071           Use the `orn' instruction.
1072
1073 1999-08-14  Bruno Haible  <haible@clisp.cons.org>
1074
1075         Assume all platforms have <stdlib.h> and clock_t.
1076         * configure.in: Don't call CL_STDLIB_H and CL_CLOCK_T.
1077         * src/base/cl_base_config.h.in (CLOCK_T): Remove definition.
1078         * src/base/random/cl_random_from.cc: Use clock_t instead of CLOCK_T.
1079         * src/timing/cl_t_config.h.in (CLOCK_T): Remove definition.
1080         * src/timing/cl_t_current2.cc: Use clock_t instead of CLOCK_T.
1081
1082 1999-07-18  Bruno Haible  <haible@clisp.cons.org>
1083
1084         * gmp/config.guess: Link to autoconf/config.guess.
1085           gmp/config.sub: Link to autoconf/config.sub.
1086           Needed for Win32 platforms.
1087
1088 1999-07-17  Bruno Haible  <haible@clisp.cons.org>
1089
1090         * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Distinguish "sparc" and
1091           "sparc64" according to the C compiler, not the uname result.
1092
1093 1999-06-17  Bruno Haible  <haible@clisp.cons.org>
1094
1095         * src/base/digitseq/cl_asm_sparc_.cc (compare_loop_up): Fix
1096           COUNTER_LOOPS version, fortunately not used yet.
1097
1098         * include/cl_modules.h: Prepare for gcc version 3.
1099
1100 1999-06-12  Bruno Haible  <haible@clisp.cons.org>
1101
1102         * src/rational/elem/cl_RA_plus.cc, src/rational/elem/cl_RA_minus.cc:
1103           Change the last call from I_I_to_RT to I_I_to_RA.
1104
1105 1999-06-09  Bruno Haible  <haible@clisp.cons.org>
1106
1107         * Version 1.0.1 released.
1108
1109 1999-06-09  Bruno Haible  <haible@clisp.cons.org>
1110
1111         * src/integer/cl_I.h (pFN_maxlength_digits_at): Define also when
1112           intDsize==64.
1113
1114 1999-06-08  Bruno Haible  <haible@clisp.cons.org>
1115
1116         * autoconf/intparam.c (printf_underscored): Change argument type to
1117           `const char*'.
1118         * include/cl_modules.h (CL_OUTPUT_LABEL, CL_JUMP_TO): New macros.
1119           (CL_PROVIDE, CL_PROVIDE_END): Use them.
1120         * include/cl_string.h (cl_heap_string::operator new): Return 1, not 0.
1121         * include/cl_GV.h (cl_GV_inner<T>::operator new): Likewise.
1122         * src/base/ring/cl_no_ring.cc (dummy_canonhom, dummy_expt_pos): Don't
1123           cast a cl_I to void here. Works around a bug in g++-2.95.
1124         * src/complex/misc/cl_C_class.cc: Include "cl_C.h".
1125         * src/polynomial/elem/cl_UP_no_ring.cc (dummy_canonhom,
1126            dummy_expt_pos): Don't cast a cl_I to void here. Works around a bug
1127           in g++-2.95.
1128         * src/polynomial/elem/cl_asm_sparc_GF2.cc (DECLARE_FUNCTION): New
1129           macro.
1130         * src/rational/misc/cl_RA_class.cc: Include "cl_RA.h".
1131         * src/vector/cl_GV_I.cc (cl_heap_GV_I_general::operator new,
1132            DEFINE_cl_heap_GV_I_bits): Return 1, not 0.
1133         * src/vector/cl_GV_number.cc (cl_heap_GV_number_general::operator new):
1134           Likewise.
1135
1136 1999-06-01  Bruno Haible  <haible@clisp.cons.org>
1137
1138         * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Canonicalize alpha
1139           variants to alpha.
1140
1141 1999-05-29  Bruno Haible  <haible@clisp.cons.org>
1142
1143         * src/base/digitseq/cl_asm_i386_.cc (DECLARE_FUNCTION): Treat
1144           OpenBSD like NetBSD.
1145         * src/base/digitseq/cl_asm_sparc_.cc (DECLARE_FUNCTION): Likewise.
1146         * src/base/digitseq/cl_asm_m68k_.cc (DECLARE_FUNCTION): Treat
1147           OpenBSD like NetBSD, and Linux/ELF like SVR4.
1148
1149 1999-05-16  Bruno Haible  <haible@clisp.cons.org>
1150
1151         * src/base/cl_low.h (integerlength32) [__rs6000__]: Use old assembler
1152           syntax on AIX systems and new assembler syntax on non-AIX systems.
1153
1154 1999-05-01  Bruno Haible  <haible@clisp.cons.org>
1155
1156         * autoconf/config.guess, autoconf/config.sub: Upgrade to newest
1157           version from GNU CVS.
1158
1159 1999-04-24  Bruno Haible  <haible@clisp.cons.org>
1160
1161         * src/integer/bitwise/cl_I_logand.cc (logand): Optimize the case when
1162           either operand is a positive fixnum, O(1) instead of O(N).
1163         * src/integer/bitwise/cl_I_lognand.cc (lognand): Likewise.
1164         * src/integer/bitwise/cl_I_logandc2.cc (logandc2): Likewise for the
1165           first operand.
1166
1167 1999-04-14  Bruno Haible  <haible@clisp.cons.org>
1168
1169         * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add check whether
1170           ctor/dtor needs to be exported.
1171         * include/cl_config.h.in (CL_NEED_GLOBALIZE_CTORDTOR): New macro.
1172         * include/cl_modules.h (CL_GLOBALIZE_JUMP_LABEL): Renamed from
1173           CL_GLOBALIZE_LABEL.
1174           (CL_GLOBALIZE_LABEL): New macro.
1175           (CL_GLOBALIZE_CTORDTOR_LABEL): Renamed from CL_GLOBALIZE_ASM_LABEL.
1176           (CL_PROVIDE): Update.
1177
1178 1999-04-12  Bruno Haible  <haible@clisp.cons.org>
1179
1180         * src/Makefile.in ($(ASMFILES_S)): On HPPA, ignore preprocessing
1181           errors ("unterminated string or character constant").
1182           ($(ASMFILES_LO)): On HPPA, try with various settings of
1183           COMPILER_PATH, in order to try /usr/ccs/bin/as and /bin/as.
1184
1185 1999-04-11  Bruno Haible  <haible@clisp.cons.org>
1186
1187         * INSTALL: Mention gmp problems on MIPS.
1188         * doc/cln.tex: Likewise.
1189
1190 1999-03-24  Mumit Khan  <khan@xraylith.wisc.edu>
1191
1192         * src/Makefile.in (SUBDIRS): Filter out CVS and RCS directories from
1193           the source tree.
1194         * include/cl_modules.h (CL_GLOBALIZE_LABEL): Define for Win32.
1195           (CL_GLOBALIZE_ASM_LABEL): New macro.
1196           (CL_PROVIDE): Use it.
1197         * src/base/random/cl_random_from.cc: Handle WIN32.
1198         * src/timing/cl_t_current.cc: Likewise.
1199
1200 1999-03-15  Bruno Haible  <haible@clisp.cons.org>
1201
1202         * autoconf/intparam.c (main7): Use %lX instead of %X for a `long'.
1203           (main8): Adapt for C++.
1204
1205 1999-03-09  Bruno Haible  <haible@clisp.cons.org>
1206
1207         * INSTALL: Mention egcs-1.1 problems on Sparc.
1208         * doc/cln.tex: Likewise.
1209
1210 1999-03-08  Bruno Haible  <haible@clisp.cons.org>
1211
1212         * autoconf/aclocal.m4 (CL_FPU_CONTROL): Fix the "checking for"
1213           messages.
1214
1215 1999-02-25  Bruno Haible  <haible@clisp.cons.org>
1216
1217         * autoconf/aclocal.m4: In test programs, declare `int main()', not
1218           `main()'.
1219
1220         * lidia-interface/src/interfaces/integers/cln/bigint.c
1221           (bigint_to_string): Fix for negative arguments.
1222
1223         * src/base/cl_low.h: Check for `__sparc__', not `SPARC'.
1224         * src/base/cl_alloca.h: Likewise.
1225
1226         * src/base/cl_low.h: Eliminate CLISP style "# " comments.
1227         * src/base/digitseq/cl_asm_arm_.cc,
1228           src/base/digitseq/cl_asm_mips_.cc,
1229           src/float/dfloat/elem/cl_DF_mul.cc: Likewise.
1230
1231         * src/modinteger/cl_MI_pow2.h,
1232           src/modinteger/cl_MI_pow2m1.h,
1233           src/modinteger/cl_MI_pow2p1.h: Workaround g++-2.7.2 inlining bug.
1234
1235 1999-01-18  Bruno Haible  <haible@clisp.cons.org>
1236
1237         * autoconf/acgeneral.m4,
1238           autoconf/acspecific.m4: Upgrade to autoconf-2.13.
1239         * autoconf/config.guess, autoconf/config.sub: Likewise.
1240         * autoconf/aclocal.m4 (CL_ALLOCA): Test for _MSC_VER and alloca being
1241           a macro. Use ${ac_objext}.
1242         * src/base/cl_macros.h (alloca): Put _MSC_VER test before the others,
1243           conforming with CL_ALLOCA.
1244
1245 1999-01-12  Bruno Haible  <haible@clisp.cons.org>
1246
1247         * Version 1.0 released.
1248