]> www.ginac.de Git - cln.git/blob - ChangeLog
Fix linking problems on some platforms caused by inline/non-inline versions
[cln.git] / ChangeLog
1 2007-01-18  Alexei Sheplyakov  <varg@theor.jinr.ru>
2
3         Fix linking problems on some platforms caused by inline/non-inline
4         versions of same functions (obsoletes MAYBE_INLINE):
5         * src/base/cl_maybe_inline.h: New file.
6         * src/base/cl_inline2.h: New file.
7         * src/base/cl_inline.h: New file.
8         * src/base/string/cl_st_make0.h: New file.
9         * src/base/cl_macros.h: Pull in cl_maybe_inline.h.
10         * src/base/string/cl_st_concat1.cc: Use new CL_INLINE macros and the
11         new *_inline functions.
12         * src/base/string/cl_st_concat2.cc: Likewise.
13         * src/base/string/cl_st_concat3.cc: Likewise.
14         * src/complex/algebraic/cl_C_abs.cc: Likewise.
15         * src/complex/algebraic/cl_C_abs_aux.cc: Likewise.
16         * src/complex/algebraic/cl_C_signum.cc: Likewise.
17         * src/complex/algebraic/cl_DF_hypot.cc: Likewise.
18         * src/complex/algebraic/cl_FF_hypot.cc: Likewise.
19         * src/complex/algebraic/cl_LF_hypot.cc: Likewise.
20         * src/complex/algebraic/cl_SF_hypot.cc: Likewise.
21         * src/complex/transcendental/cl_C_acosh.cc: Likewise.
22         * src/complex/transcendental/cl_C_asinh_aux.cc: Likewise.
23         * src/complex/transcendental/cl_C_atanh_aux.cc: Likewise.
24         * src/float/dfloat/division/cl_DF_fceil.cc: Likewise.
25         * src/float/dfloat/elem/cl_DF_div.cc: Likewise.
26         * src/float/dfloat/elem/cl_DF_ffloor.cc: Likewise.
27         * src/float/dfloat/elem/cl_DF_minusp.cc: Likewise.
28         * src/float/dfloat/elem/cl_DF_mul.cc: Likewise.
29         * src/float/dfloat/elem/cl_DF_plusp.cc: Likewise.
30         * src/float/dfloat/elem/cl_DF_zerop.cc: Likewise.
31         * src/float/dfloat/misc/cl_DF_abs.cc: Likewise.
32         * src/float/dfloat/misc/cl_DF_digits.cc: Likewise.
33         * src/float/dfloat/misc/cl_DF_eqhashcode.cc: Likewise.
34         * src/float/dfloat/misc/cl_DF_exponent.cc: Likewise.
35         * src/float/dfloat/misc/cl_DF_idecode.cc: Likewise.
36         * src/float/dfloat/misc/cl_DF_precision.cc: Likewise.
37         * src/float/dfloat/misc/cl_DF_sign.cc: Likewise.
38         * src/float/dfloat/misc/cl_DF_signum.cc: Likewise.
39         * src/float/elem/cl_F_minusp.cc: Likewise.
40         * src/float/elem/cl_F_plusp.cc: Likewise.
41         * src/float/elem/cl_F_zerop.cc: Likewise.
42         * src/float/ffloat/division/cl_FF_fceil.cc: Likewise.
43         * src/float/ffloat/elem/cl_FF_div.cc: Likewise.
44         * src/float/ffloat/elem/cl_FF_ffloor.cc: Likewise.
45         * src/float/ffloat/elem/cl_FF_minusp.cc: Likewise.
46         * src/float/ffloat/elem/cl_FF_mul.cc: Likewise.
47         * src/float/ffloat/elem/cl_FF_plusp.cc: Likewise.
48         * src/float/ffloat/elem/cl_FF_zerop.cc: Likewise.
49         * src/float/ffloat/misc/cl_FF_abs.cc: Likewise.
50         * src/float/ffloat/misc/cl_FF_digits.cc: Likewise.
51         * src/float/ffloat/misc/cl_FF_eqhashcode.cc: Likewise.
52         * src/float/ffloat/misc/cl_FF_exponent.cc: Likewise.
53         * src/float/ffloat/misc/cl_FF_idecode.cc: Likewise.
54         * src/float/ffloat/misc/cl_FF_precision.cc: Likewise.
55         * src/float/ffloat/misc/cl_FF_sign.cc: Likewise.
56         * src/float/ffloat/misc/cl_FF_signum.cc: Likewise.
57         * src/float/lfloat/division/cl_LF_fceil.cc: Likewise.
58         * src/float/lfloat/elem/cl_LF_compare.cc: Likewise.
59         * src/float/lfloat/elem/cl_LF_ffloor.cc: Likewise.
60         * src/float/lfloat/elem/cl_LF_minusp.cc: Likewise.
61         * src/float/lfloat/elem/cl_LF_plusp.cc: Likewise.
62         * src/float/lfloat/elem/cl_LF_to_I.cc: Likewise.
63         * src/float/lfloat/elem/cl_LF_zerop.cc: Likewise.
64         * src/float/lfloat/misc/cl_LF_abs.cc: Likewise.
65         * src/float/lfloat/misc/cl_LF_digits.cc: Likewise.
66         * src/float/lfloat/misc/cl_LF_eqhashcode.cc: Likewise.
67         * src/float/lfloat/misc/cl_LF_exponent.cc: Likewise.
68         * src/float/lfloat/misc/cl_LF_idecode.cc: Likewise.
69         * src/float/lfloat/misc/cl_LF_precision.cc: Likewise.
70         * src/float/lfloat/misc/cl_LF_shortenrel.cc: Likewise.
71         * src/float/lfloat/misc/cl_LF_shortenwith.cc: Likewise.
72         * src/float/lfloat/misc/cl_LF_sign.cc: Likewise.
73         * src/float/lfloat/misc/cl_LF_signum.cc: Likewise.
74         * src/float/misc/cl_F_abs.cc: Likewise.
75         * src/float/misc/cl_F_digits.cc: Likewise.
76         * src/float/misc/cl_F_eqhashcode.cc: Likewise.
77         * src/float/misc/cl_F_exponent.cc: Likewise.
78         * src/float/misc/cl_F_idecode.cc: Likewise.
79         * src/float/misc/cl_F_precision.cc: Likewise.
80         * src/float/misc/cl_F_sign.cc: Likewise.
81         * src/float/misc/cl_F_signum.cc: Likewise.
82         * src/float/sfloat/division/cl_SF_fceil.cc: Likewise.
83         * src/float/sfloat/division/cl_SF_ffloor.cc: Likewise.
84         * src/float/sfloat/elem/cl_SF_compare.cc: Likewise.
85         * src/float/sfloat/elem/cl_SF_minus.cc: Likewise.
86         * src/float/sfloat/elem/cl_SF_minusp.cc: Likewise.
87         * src/float/sfloat/elem/cl_SF_plusp.cc: Likewise.
88         * src/float/sfloat/elem/cl_SF_uminus.cc: Likewise.
89         * src/float/sfloat/elem/cl_SF_zerop.cc: Likewise.
90         * src/float/sfloat/misc/cl_SF_abs.cc: Likewise.
91         * src/float/sfloat/misc/cl_SF_digits.cc: Likewise.
92         * src/float/sfloat/misc/cl_SF_eqhashcode.cc: Likewise.
93         * src/float/sfloat/misc/cl_SF_exponent.cc: Likewise.
94         * src/float/sfloat/misc/cl_SF_idecode.cc: Likewise.
95         * src/float/sfloat/misc/cl_SF_precision.cc: Likewise.
96         * src/float/sfloat/misc/cl_SF_sign.cc: Likewise.
97         * src/float/sfloat/misc/cl_SF_signum.cc: Likewise.
98         * src/float/transcendental/cl_F_atanhx.cc: Likewise.
99         * src/float/transcendental/cl_F_atanx.cc: Likewise.
100         * src/float/transcendental/cl_F_exp.cc: Likewise.
101         * src/float/transcendental/cl_F_expx.cc: Likewise.
102         * src/float/transcendental/cl_F_lnx.cc: Likewise.
103         * src/float/transcendental/cl_F_sinhx.cc: Likewise.
104         * src/float/transcendental/cl_F_sinx.cc: Likewise.
105         * src/float/transcendental/cl_F_tan.cc: Likewise.
106         * src/float/transcendental/cl_F_tanh.cc: Likewise.
107         * src/integer/conv/cl_I_from_DS.cc: Likewise.
108         * src/integer/conv/cl_I_from_NDS.cc: Likewise.
109         * src/integer/conv/cl_I_from_NUDS.cc: Likewise.
110         * src/integer/conv/cl_I_from_UDS.cc: Likewise.
111         * src/integer/misc/cl_I_eqhashcode.cc: Likewise.
112         * src/integer/misc/cl_I_signum.cc: Likewise.
113         * src/integer/ring/cl_I_ring.cc: Likewise.
114         * src/rational/elem/cl_RA_minusp.cc: Likewise.
115         * src/rational/misc/cl_RA_eqhashcode.cc: Likewise.
116         * src/rational/misc/cl_RA_signum.cc: Likewise.
117         * src/rational/ring/cl_RA_ring.cc: Likewise.
118         * src/real/algebraic/cl_RA_sqrt.cc: Likewise.
119         * src/real/algebraic/cl_R_sqrt.cc: Likewise.
120         * src/real/conv/cl_F_from_R_def.cc: Likewise.
121         * src/real/elem/cl_R_minusp.cc: Likewise.
122         * src/real/elem/cl_R_zerop.cc: Likewise.
123         * src/real/misc/cl_R_eqhashcode.cc: Likewise.
124         * src/real/misc/cl_R_signum.cc: Likewise.
125         * src/real/transcendental/cl_R_tan.cc: Likewise.
126         * src/real/transcendental/cl_R_tanh.cc: Likewise.
127         * src/base/string/cl_st_make0.cc: Remove obsolete MAYBE_INLINE.
128         * src/rational/misc/Makeflags: Help compiler include cl_I_eqhashcode.cc.
129
130 2008-01-15  Bruno Haible  <bruno@clisp.org>
131
132         * doc/cln.texi: Renamed from doc/cln.tex. Add @node lines and @menu
133         lists.
134         * doc/addnodes.el: Remove file.
135         * doc/Makefile.in (${PACKAGE}.texi): Remove rule.
136         (EMACS): Remove variable.
137         (maintainer-clean): Don't remove ${PACKAGE}.texi.
138         Reported by Alexei Sheplyakov <varg@theor.jinr.ru>.
139
140 2008-01-11  Richard B. Kreckel  <kreckel@ginac.de>
141
142         * include/cln/float.h (cos_sin_t, cosh_sinh_t): Add default ctor.
143
144 2008-01-11  Richard B. Kreckel  <kreckel@ginac.de>
145
146         Make some functions more memory efficient:
147         * src/float/transcendental/cl_LF_tran.h (eval_rational_series): The
148         evaluation of streamed rational series may profit from shift-counting Q,
149         too. Introduce a template parameter to determine whether shift-counting
150         is to be used or not.
151         * src/float/transcendental/cl_LF_ratseries_pqb.cc: Introduce template
152         parameter.
153         * src/float/transcendental/cl_LF_ratseries_pqa.cc: Likewise.
154         * src/float/transcendental/cl_LF_ratseries_pqab.cc: Likewise.
155         * src/float/transcendental/cl_LF_ratseries_qa.cc: Likewise.
156         * src/float/transcendental/cl_LF_ratseries_qab.cc: Likewise.
157         * src/float/transcendental/cl_LF_ratseries_q.cc: Likewise, added
158         overload for streamed expansion.
159         * src/float/transcendental/cl_LF_ratseries_qb.cc: Likewise.
160         * src/float/transcendental/cl_LF_ratseries_pq.cc: Introduce template
161         parameter, added overload for streamed expansion using shift-counts.
162         * src/float/transcendental/cl_LF_zeta3.cc: Adapt to above changes.
163         * src/float/transcendental/cl_LF_pi.cc: Likewise.
164         * src/float/transcendental/cl_LF_eulerconst.cc: Likewise.
165         * src/float/transcendental/cl_LF_catalanconst.cc: Likewise.
166         * src/float/transcendental/cl_LF_cossin_aux.cc: Likewise.
167         * src/float/transcendental/cl_LF_coshsinh_aux.cc: Likewise.
168         * src/float/transcendental/cl_LF_atanh_recip.cc: Use streamed series.
169         * src/float/transcendental/cl_LF_atan_recip.cc: Likewise.
170         * src/float/transcendental/cl_LF_exp1.cc: Likewise.
171         * src/float/transcendental/cl_LF_exp_aux.cc: Likewise.
172         * src/float/transcendental/cl_LF_ratseries.cc: Removed.
173
174 2008-01-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
175             Richard B. Kreckel  <kreckel@ginac.de>
176
177         Cater to the fact that g++ 4.3 will use a different naming for
178         the global constructor suffix in shared and static objects.
179         * m4/c++-constructors.m4 (CL_GLOBAL_CONSTRUCTORS): Add test for
180         the global constructor suffix, define CL_GLOBAL_CONSTRUCTOR_SUFFIX_PIC
181         and CL_GLOBAL_CONSTRUCTOR_SUFFIX_NOPIC appropriately.
182         * include/cln/config.h.in: Provide templates to be filled in by
183         configure.
184         * include/cln/modules.h (CL_PROVIDE, CL_REQUIRE): Use
185         CL_GLOBAL_CONSTRUCTOR_SUFFIX_PIC, CL_GLOBAL_CONSTRUCTOR_SUFFIX_NOPIC.
186
187 2007-12-19  Richard B. Kreckel  <kreckel@ginac.de>
188
189         * m4/general.m4 (CL_CANONICAL_HOST_CPU): Force host_cpu=rs6000 for
190          powerpc64 if userland is 32 bit.
191
192 2007-12-18  Richard B. Kreckel  <kreckel@ginac.de>
193
194         * autoconf/ltmain.sh: Update to libtool-1.5.24.
195         * autoconf/config.guess: Likewise.
196         * autoconf/config.sub: Likewise.
197         * m4/libtool.m4: Likewise.
198
199 2007-12-18  Richard B. Kreckel  <kreckel@ginac.de>
200
201         * src/float/transcendental/cl_F_lnx.cc: Make actuallen of type uintC.
202         * src/float/transcendental/cl_F_expx.cc: Likewise.
203         * src/float/transcendental/cl_F_sinhx.cc: Likewise.
204         * src/float/transcendental/cl_F_sinx.cc: Likewise.
205
206 2007-12-17  Richard B. Kreckel  <kreckel@ginac.de>
207
208         Silly workaround for silly bug in gmp.h:
209         * m4/gmp.m4 (CL_GMP_SET_UINTD): Swap #include <gmp.h> and <stdio.h>.
210
211 2007-12-17  Richard B. Kreckel  <kreckel@ginac.de>
212
213         * src/polynomial/elem/cl_UP_GF2.h (gf2_mul_table): define for sparc64.
214
215 2007-12-04  Richard B. Kreckel  <kreckel@ginac.de>
216
217         * include/cln/types.h ([su]intE): 64-bit exponents for MIPS and RS6000.
218
219 2007-12-03  Richard B. Kreckel  <kreckel@ginac.de>
220
221         * src/float/lfloat/cl_LF.h (cl_heap_lfloat): Change len type to uintC.
222
223 2007-11-28  Richard B. Kreckel  <kreckel@ginac.de>
224
225         * include/cln/object.h: Don't redefine cl_word_alignment on sparc64.
226         * src/base/digitseq/cl_asm_sparc64_.cc: Declare use of global
227         register %g2 as scratch register within this file.
228         Reported by Paul Irofti <bulibuta@gmail.com> and Sven Verdoolaege
229         <skimo@kotnet.org>.
230
231 2007-11-03  Richard B. Kreckel  <kreckel@ginac.de>
232
233         * src/base/digitseq/cl_asm_i386_.cc (compare_loop_up, 
234         compare_loop_down): Fix empty ranges.
235
236 2007-10-12  Richard B. Kreckel  <kreckel@ginac.de>
237
238         Fix compilation on CYGWIN:
239         * src/float/transcendental/cl_LF_zeta_int.cc: Avoid leading underscores
240         in variable names.
241         * src/float/transcendental/cl_LF_eulerconst.cc: Likewise.
242         Reported by Chris Bouchard <cbouchrd@uiuc.edu>.
243
244 2007-10-10  Richard B. Kreckel  <kreckel@ginac.de>
245
246         * src/base/cl_low.h: Add missing linefeeds in SPARC 64 inline assembler.
247         * src/base/low/cl_low_div.cc (divu_6464_6464_): Fix a copy-paste typo.
248         Reported by Sven Verdoolaege <skimo@kotnet.org>.
249
250 2007-10-02  Richard B. Kreckel  <kreckel@ginac.de>
251
252         On popular demand (Debian bug #286266, Ubuntu bug #128851):
253         * examples/pi.cc: Output no more than requested number of digits.
254
255 2007-10-01  Richard B. Kreckel  <kreckel@ginac.de>
256
257         * autoconf/config.guess, autoconf/config.sub: updated from automake-1.9.
258
259 2007-09-19  Richard B. Kreckel  <kreckel@ginac.de>
260
261         * doc/cln.tex: Put entire document in @dircategory Mathematics.
262         * doc/Makefile.in: texi2html -split_chapter suddenly uses subdirectory.
263         * Makefile.in: Don't install non-existing cln-config* and cln.m4.
264
265 2007-09-18  Richard B. Kreckel  <kreckel@ginac.de>
266
267         * include/cln/modules.h (CL_JUMP_TO): Use a pc relative jump on m68k.
268         See <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=388000>.
269
270 2007-09-16  Richard B. Kreckel  <kreckel@ginac.de>
271
272         * */*: Convert encoding from ISO 8859-1 to UTF-8.
273
274 2007-09-13  Richard B. Kreckel  <kreckel@ginac.de>
275
276         Truncated binary splitting for even more memory efficiency:
277         * src/float/transcendental/cl_LF_tran.h: Added new overloads. See below.
278         * src/float/transcendental/cl_LF_ratseries_stream_pq.cc: Removed and
279         moved everything to...
280         * src/float/transcendental/cl_LF_ratseries_pq.cc: ...here. Added an
281         overload for truncated expansion.
282         * src/float/transcendental/cl_LF_ratseries_stream_pqa.cc: Removed and
283         moved everything to...
284         * src/float/transcendental/cl_LF_ratseries_pqa.cc: ...here. Added an
285         overload for truncated expansion.
286         * src/float/transcendental/cl_LF_ratseries_stream_pqb.cc: Removed and
287         moved everything to...
288         * src/float/transcendental/cl_LF_ratseries_pqb.cc: ...here. Added an
289         overload for truncated expansion.
290         * src/float/transcendental/cl_LF_ratseries_stream_pqab.cc: Removed and
291         moved everything to...
292         * src/float/transcendental/cl_LF_ratseries_pqab.cc: ...here. Added an
293         overload for truncated expansion.
294         * src/float/transcendental/cl_LF_ratsumseries_pqcd_aux.cc: Added
295         overloads for streamed and truncated expansion.
296         * src/float/transcendental/cl_LF_ratsumseries_pqcd.cc: Likewise.
297         * src/float/transcendental/cl_LF_ratsumseries_stream_pqd_aux.cc: Removed
298         and moved everything to...
299         * src/float/transcendental/cl_LF_ratsumseries_pqd_aux.cc: ...here. Added
300         an overload for truncated expansion.
301         * src/float/transcendental/cl_LF_ratsumseries_stream_pqd.cc: Removed
302         and moved everything to...
303         * src/float/transcendental/cl_LF_ratsumseries_pqd.cc: ...here. Added an
304         overload for truncated expansion.
305         * src/float/transcendental/cl_LF_pi.cc: Use truncated series.
306         * src/float/transcendental/cl_LF_catalanconst.cc: Likewise.
307         * src/float/transcendental/cl_LF_eulerconst.cc: Likewise.
308         * src/float/transcendental/cl_LF_zeta_int.cc: Likewise.
309         * src/float/transcendental/cl_LF_zeta3.cc: Likewise.
310
311 2007-09-07  Richard B. Kreckel  <kreckel@ginac.de>
312
313         More memory efficient Euler-Mascheroni constant:
314         * src/float/transcendental/cl_LF_tran.h (cl_pqd_series_stream): New.
315         * src/float/transcendental/cl_LF_ratsumseries_stream_pqd.cc: New file.
316         * src/float/transcendental/cl_LF_ratsumseries_stream_pqd_aux.cc: New 
317         file.
318         * src/float/transcendental/cl_LF_eulerconst.cc: Compute series
319         coefficients on demand, using a series stream object.
320
321 2007-08-02  Richard B. Kreckel  <kreckel@ginac.de>
322
323         * src/base/digitseq/cl_DS_div.cc (cl_recip_suitable): uintC arguments.
324
325 2007-08-01  Richard B. Kreckel  <kreckel@ginac.de>
326
327         * */*: Remove cl_boolean, cl_true, and cl_false in favor of built-in
328         C++ bool, true, and false.
329
330 2007-07-28  Richard B. Kreckel  <kreckel@ginac.de>
331
332         Remove exception hooks in favor of real C++ exceptions:
333         * include/cln/exception.h: New file...
334         * include/cln/cln.h: ...included here...
335         * include/cln/rational.h: ...and here.
336         * include/cln/abort.h: Removed.
337         * include/cln/integer.h (ash_exception, exquo_exception): Add exception
338         types.
339         * include/cln/float.h (floating_point_exception,
340         floating_point_nan_exception, floating_point_overflow_exception,
341         floating_point_underflow_exception): Likewise.
342         * include/cln/number_io.h (read_number_exception,
343         read_number_bad_syntax_exception, read_number_junk_exception,
344         read_number_eof_exception): Likewise.
345         * include/cln/object.h (CL_DEFINE_CONVERTER): Replace dynamic assertion
346         with a compile-time assertion.
347         * include/cln/GV.h: Replace nonreturning functions with exceptions.
348         * include/cln/modinteger.h: Likewise.
349         * include/cln/SV.h: Likewise.
350         * include/cln/ring.h: Likewise.
351         * include/cln/string.h: Likewise.
352         * include/cln/univpoly.h: Likewise.
353         * src/base/cl_abort.cc: Removed.
354         * src/base/cl_N_err_d0.cc: Removed.
355         * src/base/cl_d0_exception.cc: New file.
356         * src/base/cl_as_err.cc: Removed.
357         * src/base/cl_as_exception.cc: New file.
358         * src/base/cl_notreached.cc: Removed.
359         * src/base/cl_notreached_exception.cc: New file.
360         * src/base/input/cl_read_err_bad.cc: Removed.
361         * src/base/input/cl_read_bad_syntax_exception.cc: New file.
362         * src/base/input/cl_read_err_junk.cc: Removed.
363         * src/base/input/cl_read_junk_exception.cc: New file.
364         * src/base/input/cl_read_err_eof.cc: Removed.
365         * src/base/input/cl_read_eof_exception.cc: New file.
366         * src/base/cl_N.h (cl_as_error): Removed (see cln/exception.h).
367         * src/base/macros.h (NOTREACHED): Throw.
368         * src/base/cl_malloc.cc (xmalloc): Throw.
369         * src/base/digitseq/cl_2DS_div.cc: Throw.
370         * src/base/digitseq/cl_DS_div.cc: Throw.
371         * src/base/digitseq/cl_DS_mul.cc: Throw.
372         * src/base/digitseq/cl_DS_mul_fftc.h: Throw.
373         * src/base/digitseq/cl_DS_mul_fftcs.h: Throw.
374         * src/base/digitseq/cl_DS_mul_fftm.h: Throw.
375         * src/base/digitseq/cl_DS_mul_fftp.h: Throw.
376         * src/base/digitseq/cl_DS_mul_fftp3.h: Throw.
377         * src/base/digitseq/cl_DS_mul_fftp3m.h: Throw.
378         * src/base/digitseq/cl_DS_mul_fftr.h: Throw.
379         * src/base/digitseq/cl_DS_mul_nuss.h: Throw.
380         * src/base/digitseq/cl_DS_recipsqrt.cc: Throw.
381         * src/base/digitseq/cl_DS_sqrt.cc: Throw.
382         * src/base/hash/cl_hash.h: Throw.
383         * src/base/hash/cl_hash1.h: Throw.
384         * src/base/hash/cl_hash1weak.h: Throw.
385         * src/base/hash/cl_hash2.h: Throw.
386         * src/base/hash/cl_hash2weak.h: Throw.
387         * src/base/hash/cl_hashset.h: Throw.
388         * src/base/hash/cl_hashuniq.h: Throw.
389         * src/base/hash/cl_hashuniqweak.h: Throw.
390         * src/base/proplist/cl_pl_add.cc: Throw.
391         * src/base/ring/cl_no_ring.cc: Throw.
392         * src/base/string/cl_spushstring.h: Throw.
393         * src/base/symbol/cl_symbol.cc: Throw.
394         * src/integer/bitwise/cl_I_ash.h: Removed (see cln/integer.h.)
395         * src/integer/bitwise/cl_I_asherr.cc: Removed.
396         * src/integer/bitwise/cl_I_ash_exception.cc: New file.
397         * src/integer/division/cl_I_exquoerr.cc: Removed.
398         * src/integer/division/cl_I_exquo_exception.cc: New file.
399         * src/integer/cl_I.h: Throw.
400         * src/integer/division/cl_I_exquopos.cc: Throw.
401         * src/integer/bitwise/cl_I_logbitp_I.cc: Throw.
402         * src/integer/bitwise/cl_I_ash.cc: Throw.
403         * src/integer/bitwise/cl_I_ash_I.cc: Throw.
404         * src/integer/division/cl_I_exquo.cc: Throw.
405         * src/integer/gcd/cl_I_gcd_aux2.cc: Throw.
406         * src/integer/conv/cl_I_to_L.cc: Throw.
407         * src/integer/conv/cl_I_to_Q.cc: Throw.
408         * src/integer/conv/cl_I_to_UL.cc: Throw.
409         * src/integer/conv/cl_I_to_UQ.cc: Throw.
410         * src/integer/conv/cl_I_to_digits.cc: Throw.
411         * src/integer/elem/cl_I_div.cc: Throw.
412         * src/integer/algebraic/cl_I_sqrt.cc: Throw.
413         * src/integer/input/cl_I_read.cc: Throw.
414         * src/integer/input/cl_I_read_stream.cc: Throw.
415         * src/integer/misc/cl_I_as.cc: Throw.
416         * src/rational/elem/cl_RA_from_I_I_div.cc: Throw.
417         * src/rational/elem/cl_RA_recip.cc: Throw.
418         * src/rational/input/cl_RA_read.cc: Throw.
419         * src/rational/input/cl_RA_read_stream.cc: Throw.
420         * src/rational/input/cl_RA_readparsed.cc: Throw.
421         * src/rational/misc/cl_RA_as.cc: Throw.
422         * src/float/base/cl_F_err_nan.cc: Removed.
423         * src/float/base/cl_F_nan_exception.cc: New file.
424         * src/float/base/cl_F_err_un.cc: Removed.
425         * src/float/base/cl_F_underflow_exception.cc: New file.
426         * src/float/base/cl_F_err_ov.cc: Removed.
427         * src/float/base/cl_F_overflow_exception.cc: New file.
428         * src/float/cl_F.h (cl_error_floating_point_nan,
429         cl_error_floating_point_overflow, cl_error_floating_point_underflow):
430         Removed (see cln/float.h.)
431         * src/float/sfloat/cl_SF.h: Throw.
432         * src/float/sfloat/elem/cl_SF_div.cc: Throw.
433         * src/float/sfloat/elem/cl_SF_from_RA.cc: Throw.
434         * src/float/sfloat/elem/cl_SF_scale.cc: Throw.
435         * src/float/sfloat/elem/cl_SF_scale_I.cc: Throw.
436         * src/float/sfloat/misc/cl_SF_as.cc: Throw.
437         * src/float/ffloat/cl_FF.h: Throw.
438         * src/float/ffloat/conv/cl_FF_from_float.cc: Throw.
439         * src/float/ffloat/elem/cl_FF_div.cc: Throw.
440         * src/float/ffloat/elem/cl_FF_from_RA.cc: Throw.
441         * src/float/ffloat/elem/cl_FF_scale.cc: Throw.
442         * src/float/ffloat/elem/cl_FF_scale_I.cc: Throw.
443         * src/float/ffloat/misc/cl_FF_as.cc: Throw.
444         * src/float/dfloat/cl_DF.h: Throw.
445         * src/float/dfloat/conv/cl_DF_from_double.cc: Throw.
446         * src/float/dfloat/elem/cl_DF_div.cc: Throw.
447         * src/float/dfloat/elem/cl_DF_from_RA.cc: Throw.
448         * src/float/dfloat/elem/cl_DF_scale.cc: Throw.
449         * src/float/dfloat/elem/cl_DF_scale_I.cc: Throw.
450         * src/float/dfloat/misc/cl_DF_as.cc: Throw.
451         * src/float/lfloat/algebraic/cl_LF_sqrt.cc: Throw.
452         * src/float/lfloat/elem/cl_LF_1plus.cc: Throw.
453         * src/float/lfloat/elem/cl_LF_I_div.cc: Throw.
454         * src/float/lfloat/elem/cl_LF_I_mul.cc: Throw.
455         * src/float/lfloat/elem/cl_LF_div.cc: Throw.
456         * src/float/lfloat/elem/cl_LF_from_I.cc: Throw.
457         * src/float/lfloat/elem/cl_LF_mul.cc: Throw.
458         * src/float/lfloat/elem/cl_LF_scale.cc: Throw.
459         * src/float/lfloat/elem/cl_LF_scale_I.cc: Throw.
460         * src/float/lfloat/elem/cl_LF_square.cc: Throw.
461         * src/float/lfloat/misc/cl_LF_as.cc: Throw.
462         * src/float/lfloat/misc/cl_LF_shorten.cc: Throw.
463         * src/float/lfloat/misc/cl_LF_shortenrel.cc: Throw.
464         * src/float/lfloat/misc/cl_LF_shortenwith.cc: Throw.
465         * src/float/input/cl_F_read.cc: Throw.
466         * src/float/input/cl_F_read_stream.cc: Throw.
467         * src/float/misc/cl_F_as.cc: Throw.
468         * src/float/misc/cl_F_shortenrel.cc: Throw.
469         * src/float/transcendental/cl_LF_coshsinh_aux.cc: Throw.
470         * src/float/transcendental/cl_LF_cossin_aux.cc: Throw.
471         * src/float/transcendental/cl_LF_exp_aux.cc: Throw.
472         * src/float/transcendental/cl_LF_ratseries_a.cc: Throw.
473         * src/float/transcendental/cl_LF_ratseries_ab.cc: Throw.
474         * src/float/transcendental/cl_LF_ratseries_b.cc: Throw.
475         * src/float/transcendental/cl_LF_ratseries_p.cc: Throw.
476         * src/float/transcendental/cl_LF_ratseries_pa.cc: Throw.
477         * src/float/transcendental/cl_LF_ratseries_pab.cc: Throw.
478         * src/float/transcendental/cl_LF_ratseries_pb.cc: Throw.
479         * src/float/transcendental/cl_LF_ratseries_pq.cc: Throw.
480         * src/float/transcendental/cl_LF_ratseries_pqa.cc: Throw.
481         * src/float/transcendental/cl_LF_ratseries_pqab.cc: Throw.
482         * src/float/transcendental/cl_LF_ratseries_pqb.cc: Throw.
483         * src/float/transcendental/cl_LF_ratseries_q.cc: Throw.
484         * src/float/transcendental/cl_LF_ratseries_qa.cc: Throw.
485         * src/float/transcendental/cl_LF_ratseries_qab.cc: Throw.
486         * src/float/transcendental/cl_LF_ratseries_qb.cc: Throw.
487         * src/float/transcendental/cl_LF_ratseries_stream_pq.cc: Throw.
488         * src/float/transcendental/cl_LF_ratseries_stream_pqa.cc: Throw.
489         * src/float/transcendental/cl_LF_ratseries_stream_pqab.cc: Throw.
490         * src/float/transcendental/cl_LF_ratseries_stream_pqb.cc: Throw.
491         * src/float/transcendental/cl_LF_ratsumseries_pqcd_aux.cc: Throw.
492         * src/float/transcendental/cl_LF_ratsumseries_pqd.cc: Throw.
493         * src/float/transcendental/cl_LF_ratsumseries_pqd_aux.cc: Throw.
494         * src/float/transcendental/cl_LF_zeta_int.cc: Throw.
495         * src/real/elem/cl_R_div.cc: Throw.
496         * src/real/format-output/cl_fmt_cardinal.cc: Throw.
497         * src/real/format-output/cl_fmt_newroman.cc: Throw.
498         * src/real/format-output/cl_fmt_oldroman.cc: Throw.
499         * src/real/input/cl_R_read.cc: Throw.
500         * src/real/input/cl_R_read_stream.cc: Throw.
501         * src/real/misc/cl_R_as.cc: Throw.
502         * src/real/random/cl_R_random.cc: Throw.
503         * src/real/transcendental/cl_R_atan2.cc: Throw.
504         * src/real/transcendental/cl_R_log.cc: Throw.
505         * src/complex/input/cl_N_read.cc: Throw.
506         * src/complex/input/cl_N_read_stream.cc: Throw.
507         * src/complex/misc/cl_N_as.cc: Throw.
508         * src/complex/transcendental/cl_C_atanh_aux.cc: Throw.
509         * src/complex/transcendental/cl_C_expt_C.cc: Throw.
510         * src/complex/transcendental/cl_C_log.cc: Throw.
511         * src/complex/transcendental/cl_C_log2.cc: Throw.
512         * src/numtheory/cl_nt_cornacchia1.cc: Throw.
513         * src/numtheory/cl_nt_cornacchia4.cc: Throw.
514         * src/numtheory/cl_nt_isprobprime.cc: Throw.
515         * src/numtheory/cl_nt_jacobi.cc: Throw.
516         * src/numtheory/cl_nt_jacobi_low.cc: Throw.
517         * src/numtheory/cl_nt_sqrtmodp.cc: Throw.
518         * src/modinteger/cl_MI.cc: Throw.
519         * src/modinteger/cl_MI_int.h: Throw.
520         * src/modinteger/cl_MI_montgom.h: Throw.
521         * src/modinteger/cl_MI_pow2.h: Throw.
522         * src/modinteger/cl_MI_rshift.cc: Throw.
523         * src/modinteger/cl_MI_std.h: Throw.
524         * src/polynomial/elem/cl_UP_GF2.h: Throw.
525         * src/polynomial/elem/cl_UP_MI.h: Throw.
526         * src/polynomial/elem/cl_UP_gen.h: Throw.
527         * src/polynomial/elem/cl_UP_named.cc: Throw.
528         * src/polynomial/elem/cl_UP_no_ring.cc (uninitialized_error, 
529         uninitialized_ring): Removed (see cln/ring.h.)
530         * src/polynomial/elem/cl_UP_number.h: Throw.
531         * src/polynomial/elem/cl_UP_unnamed.cc: Throw.
532         * src/vector/cl_GV_I.cc: Throw.
533         * src/vector/cl_GV_number.cc: Throw.
534         * tests/timediv2adic-compare.cc: Use default abort(), not cl_abort().
535         * tests/timeprint-compare.cc: Likewise.
536         * tests/timerecip2adic-compare.cc: Likewise.
537         * doc/cln.tex: Document the exception classes.
538         * examples/contfrac.cc: Use try/catch instead of setjmp/longjmp.
539         * INSTALL: undocument -fno-exceptions.
540         * README: Add exceptions to list of used C++ features.
541
542 2007-06-20  Richard B. Kreckel  <kreckel@ginac.de>
543
544         * cln.spec.in (Source0): Package is bzip2-compressed.
545         Reported by Markus Grabner <grabner@icg.tugraz.at>.
546
547 2007-05-31  Richard B. Kreckel  <kreckel@ginac.de>
548
549         * include/cln/integer.h (cl_I_to_E, cl_I_to_UE): New functions.
550         * src/float/transcendental/cl_LF_exp_aux.cc: Make lq argument an uintE.
551         * src/float/transcendental/cl_LF_cossin_aux.cc: Likewise.
552         * src/float/transcendental/cl_LF_coshsinh_aux.cc: Likewise.
553         * src/float/transcendental/cl_F_tran.h: Change declaration of lq.
554         * src/float/transcendental/cl_F_lnx.cc: Fix some exponent types.
555         * src/float/transcendental/cl_F_expx.cc: Likewise.
556         * src/float/transcendental/cl_F_sinh.cc: Likewise.
557         * src/float/transcendental/cl_F_atanx.cc: Likewise.
558         * src/float/transcendental/cl_F_coshsinh.cc: Likewise.
559         * src/float/transcendental/cl_LF_cossin.cc: Likewise.
560         * src/float/transcendental/cl_LF_coshsinh.cc: Likewise.
561
562 2007-04-09  Richard B. Kreckel  <kreckel@ginac.de>
563
564         More memory efficient constants:
565         * src/float/transcendental/cl_LF_pi.cc (compute_pi_ramanujan_163_fast):
566         Compute series coefficients on demand, using a series stream object.
567         * src/float/transcendental/cl_LF_zeta3.cc (zeta3): Likewise.
568         * src/float/transcendental/cl_LF_catalanconst.cc
569         (compute_catalanconst_ramanujan_fast): Likewise.
570         (compute_catalanconst_lupas): New function.
571         (compute_catalanconst): Simplify, based on new benchmark.
572
573 2007-04-02  Alexei Sheplyakov  <varg@theor.jinr.ru>
574
575         Debian Bug#412103:
576         * cln.pc.in: list -lgmp in Libs.private instead of in Libs.
577         * doc/cln.tex: Undocument cln-config, properly document pkg-config.
578         * cln-config.1.in: Remove.
579         * cln-config.in: Remove.
580         * cln.m4: Remove.
581         * configure.ac: Don't output cln-config and cln-config.1.
582
583 2006-12-24  Bruno Haible  <bruno@clisp.org>
584
585         Make autoconfiguration work with gcc-4.3 snapshots.
586         * autoconf/intparam.c (main1): Rename get_integer_bitsize to
587         get_unsigned_integer_bitsize. New macro get_signed_integer_bitsize.
588
589 2006-12-19  Bruno Haible  <bruno@clisp.org>
590
591         * autoconf/intparam.c (main): Use 'return', not exit().
592         * autoconf/floatparam.c (main): Likewise.
593         Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
594
595 2006-12-11  Richard B. Kreckel  <kreckel@ginac.de>
596
597         Extend the exponent range from 32 bits to 64 bits on selected platforms.
598         * include/cln/number.h: Add signatures for operations with long long.
599         * include/cln/complex_class.h: Likewise.
600         * include/cln/real_class.h: Likewise.
601         * include/cln/real.h: Likewise.
602         * include/cln/rational_class.h: Likewise.
603         * include/cln/rational.h: Likewise.
604         * include/cln/integer_class.h: Likewise.
605         * include/cln/integer.h: Likewise.
606         * include/cln/float.h: Likewise.
607         * include/cln/lfloat.h: Likewise.
608         * include/cln/types.h (sintE and uintE): New types for exponents.
609         * include/cln/*float.h: Use the new types for exponents.
610         * include/cln/floatformat.h (float_format_t): Make underlying type
611         compatible with sintE.
612         * doc/cln.tex: Document changed float_exponent return value.
613         * src/float/cl_F.h: Likewise.
614         * src/float/ffloat/misc/cl_FF_exponent.cc: Likewise.
615         * src/float/input/cl_F_read.cc: Likewise.
616         * src/float/lfloat/cl_LF.h: Likewise.
617         * src/float/lfloat/cl_LF_impl.h: Likewise.
618         * src/float/lfloat/algebraic/cl_LF_sqrt.cc: Likewise.
619         * src/float/lfloat/elem/cl_LF_1plus.cc: Likewise.
620         * src/float/lfloat/elem/cl_LF_I_div.cc: Likewise.
621         * src/float/lfloat/elem/cl_LF_I_mul.cc: Likewise.
622         * src/float/lfloat/elem/cl_LF_compare.cc: Likewise.
623         * src/float/lfloat/elem/cl_LF_div.cc: Likewise.
624         * src/float/lfloat/elem/cl_LF_from_I.cc: Likewise.
625         * src/float/lfloat/elem/cl_LF_fround.cc: Likewise.
626         * src/float/lfloat/elem/cl_LF_ftrunc.cc: Likewise.
627         * src/float/lfloat/elem/cl_LF_futrunc.cc: Likewise.
628         * src/float/lfloat/elem/cl_LF_mul.cc: Likewise.
629         * src/float/lfloat/elem/cl_LF_scale.cc: Likewise.
630         * src/float/lfloat/elem/cl_LF_scale_I.cc: Likewise.
631         * src/float/lfloat/elem/cl_LF_square.cc: Likewise.
632         * src/float/lfloat/elem/cl_LF_to_I.cc: Likewise.
633         * src/float/lfloat/misc/cl_LF_decode.cc: Likewise.
634         * src/float/lfloat/misc/cl_LF_exponent.cc: Likewise.
635         * src/float/lfloat/misc/cl_LF_idecode.cc: Likewise.
636         * src/float/lfloat/misc/cl_LF_shortenrel.cc: Likewise.
637         * src/float/lfloat/misc/cl_LF_shortenwith.cc: Likewise.
638         * src/float/misc/cl_F_decode.cc: Likewise.
639         * src/float/misc/cl_F_exponent.cc: Likewise.
640         * src/float/misc/cl_F_shortenrel.cc: Likewise.
641         * src/float/misc/cl_float_format.cc: Likewise.
642         * src/float/output/cl_F_dprint.cc: Likewise.
643         * src/float/sfloat/misc/cl_SF_exponent.cc: Likewise.
644         * src/float/transcendental/cl_F_atanhx.cc: Likewise.
645         * src/float/transcendental/cl_F_atanx.cc: Likewise.
646         * src/float/transcendental/cl_F_cosh.cc: Likewise.
647         * src/float/transcendental/cl_F_expx.cc: Likewise.
648         * src/float/transcendental/cl_F_lnx.cc: Likewise.
649         * src/float/transcendental/cl_F_sinhx.cc: Likewise.
650         * src/float/transcendental/cl_F_sinx.cc: Likewise.
651         * src/float/transcendental/cl_LF_pi.cc: Likewise.
652         * src/integer/cl_I.h: Likewise.
653         * src/complex/algebraic/cl_LF_hypot.cc: Likewise.
654         * src/complex/elem/division/cl_C_LF_recip.cc: Likewise.
655         * src/float/dfloat/misc/cl_DF_exponent.cc: Likewise.
656         * src/integer/conv/cl_I_from_Q2.cc: Added.
657         * src/base/cl_low.h (isqrtC): New function, for 64 bit falls back to...
658         * src/base/low/cl_low_isqrt.cc (isqrt): ...this new implementation.
659         * src/base/cl_macros.h (bitc): Make sure 64 bit is used if required by
660         exponent operations.
661         * examples/pi.cc: Support more than 646456614 decimal digits.
662
663 2006-11-02  Richard B. Kreckel  <kreckel@ginac.de>
664
665         * src/base/digitseq/cl_DS.h: #undef DS, needed for i386-Solaris.
666
667 2006-10-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
668
669         * tests/Makefile.in (VPATH): Fix syntax error.
670
671 2006-09-14  Richard B. Kreckel  <kreckel@ginac.de>
672         
673         * examples/perfnum.cc: update to presumed 44th Mersenne prime.
674
675 2006-08-15  Richard B. Kreckel  <kreckel@ginac.de>
676
677         * tests/Makefile.in: MinGW support for make check
678         (Patch by Sheplyakov Alexei <varg@theor.jinr.ru> to add ${EXEEXT}).
679         * Makefile.in: Convert from $(VAR) to ${VAR} syntax.
680         * benchmarks/Makefile.in: Likewise.
681         * doc/Makefile.in: Likewise.
682         * examples/Makefile.in: Likewise.
683         * src/Makefile.in: Likewise.
684         * tests/Makefile.in: Likewise.
685
686 2006-08-06  Richard B. Kreckel  <kreckel@ginac.de>
687
688         * configure.ac: Re-enable shared lib on non-MinGW platforms, sigh.
689
690 2006-08-04  Sheplyakov Alexei  <varg@theor.jinr.ru>
691
692         * configure.ac: Disable shared lib on MinGW.
693
694 2006-08-03  Sheplyakov Alexei  <varg@theor.jinr.ru>
695
696         * m4/param.m4: Add support for MinGW.
697         * src/base/random/cl_random_from.cc: Fix for last patch.
698
699 2006-07-23  Sheplyakov Alexei  <varg@theor.jinr.ru>
700
701         * src/base/random/cl_random_from.cc: Add support for MinGW.
702
703 2006-06-13  Richard B. Kreckel  <kreckel@ginac.de>
704
705         * m4/general.m4 (CL_CANONICAL_HOST_CPU): Force host_cpu=i386 for x86_64
706         if userland is 32 bit.
707         * include/cln/config.h.in: Simplify __x86_64__ selection.
708         * src/base/digitseq/cl_asm_x86_64_.cc: Remove.
709
710 2006-06-09  Richard B. Kreckel  <kreckel@ginac.de>
711
712         * src/base/digitseq/cl_DS.h (struct DS): Change len type to uintC.
713
714 2006-05-30  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
715
716         * m4/gettimeofday.m4 (CL_GETTIMEOFDAY): Fix M4 quoting.
717
718 2006-05-20  Bruno Haible  <bruno@clisp.org>
719
720         * src/base/random/cl_random_from.cc: Treat FreeBSD, NetBSD like other
721         Unix platforms.
722
723 2006-05-07  Richard B. Kreckel  <kreckel@ginac.de>
724
725         * include/cln/modules.h (CL_JUMP_TO): Fix for Intel Mac.
726
727 2006-04-25  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
728
729         Prepare for autoconf-2.60.
730         * Makefile.in (datarootdir): New variable.
731         * src/Makefile.in (datarootdir): New variable.
732         * doc/Makefile.in (datarootdir): New variable.
733
734 2006-04-25  Bruno Haible  <bruno@clisp.org>
735             Richard B. Kreckel  <kreckel@ginac.de>
736
737         Make it theoretically possible to use bignums and long-floats with
738         more than 2^32 significant digits or bits.
739         * doc/cln.tex (logcount): Change return type to uintC.
740         (struct cl_byte): Change elements to uintC.
741         (integer_length, ord2, power2p): Change return type to uintC.
742         (scale_float): Change argument type to sintC.
743         (float_digits, float_precision): Change return type to uintC.
744         * examples/atan_recip.cc: Use uintC instead of uintL where appropriate.
745         * examples/atanh_recip.cc: Likewise.
746         * include/cln/GV.h: Likewise.
747         * include/cln/GV_complex.h: Likewise.
748         * include/cln/GV_integer.h: Likewise.
749         * include/cln/GV_modinteger.h: Likewise.
750         * include/cln/GV_number.h: Likewise.
751         * include/cln/GV_rational.h: Likewise.
752         * include/cln/GV_real.h: Likewise.
753         * include/cln/SV.h: Likewise.
754         * include/cln/SV_complex.h: Likewise.
755         * include/cln/SV_integer.h: Likewise.
756         * include/cln/SV_number.h: Likewise.
757         * include/cln/SV_rational.h: Likewise.
758         * include/cln/SV_real.h: Likewise.
759         * include/cln/SV_ringelt.h: Likewise.
760         * include/cln/dfloat.h: Likewise.
761         * include/cln/ffloat.h: Likewise.
762         * include/cln/float.h: Likewise.
763         * include/cln/integer.h: Likewise.
764         * include/cln/lfloat.h: Likewise.
765         * include/cln/modinteger.h: Likewise.
766         * include/cln/sfloat.h: Likewise.
767         * src/base/cl_low.h (integerlengthC): New macro.
768         * src/base/digitseq/cl_2DS_div.cc: Use uintC instead of uintL where
769         appropriate.
770         * src/base/digitseq/cl_2DS_recip.cc: Likewise.
771         * src/base/digitseq/cl_DS.h: Likewise.
772         * src/base/digitseq/cl_DS_mul.c: Likewise.
773         * src/base/digitseq/cl_DS_mul_fftc.h: Likewise.
774         * src/base/digitseq/cl_DS_mul_fftcs.h: Likewise.
775         * src/base/digitseq/cl_DS_mul_fftm.h: Likewise.
776         * src/base/digitseq/cl_DS_mul_fftp.h: Likewise.
777         * src/base/digitseq/cl_DS_mul_fftp3.h: Likewise.
778         * src/base/digitseq/cl_DS_mul_fftp3m.h: Likewise.
779         * src/base/digitseq/cl_DS_mul_fftr.h: Likewise.
780         * src/base/digitseq/cl_DS_mul_kara.h: Likewise.
781         * src/base/digitseq/cl_DS_mul_nuss.h: Likewise.
782         * src/base/digitseq/cl_DS_recip.cc: Likewise.
783         * src/base/digitseq/cl_DS_recipsqrt.cc: Likewise.
784         * src/base/digitseq/cl_DS_sqrt.cc: Likewise.
785         * src/base/digitseq/cl_DS_trandom.cc: Likewise.
786         * src/complex/input/cl_N_read.cc: Likewise.
787         * src/complex/transcendental/cl_C_asinh_aux.cc: Likewise.
788         * src/complex/transcendental/cl_C_expt_C.cc: Likewise.
789         * src/float/cl_F.h: Likewise.
790         * src/float/conv/cl_F_from_F_f.cc: Likewise.
791         * src/float/conv/cl_F_from_I_f.cc: Likewise.
792         * src/float/conv/cl_F_from_RA_f.cc: Likewise.
793         * src/float/dfloat/conv/cl_I_to_double.cc: Likewise.
794         * src/float/dfloat/conv/cl_RA_to_double.cc: Likewise.
795         * src/float/dfloat/elem/cl_DF_from_I.cc: Likewise.
796         * src/float/dfloat/elem/cl_DF_from_RA.cc: Likewise.
797         * src/float/dfloat/elem/cl_DF_scale.cc: Likewise.
798         * src/float/dfloat/misc/cl_DF_digits.cc: Likewise.
799         * src/float/dfloat/misc/cl_DF_precision.cc: Likewise.
800         * src/float/elem/cl_F_scale.cc: Likewise.
801         * src/float/ffloat/conv/cl_I_to_float.cc: Likewise.
802         * src/float/ffloat/conv/cl_RA_to_float.cc: Likewise.
803         * src/float/ffloat/elem/cl_FF_from_I.cc: Likewise.
804         * src/float/ffloat/elem/cl_FF_from_RA.cc: Likewise.
805         * src/float/ffloat/elem/cl_FF_scale.cc: Likewise.
806         * src/float/ffloat/misc/cl_FF_digits.cc: Likewise.
807         * src/float/ffloat/misc/cl_FF_precision.cc: Likewise.
808         * src/float/input/cl_F_read.cc: Likewise.
809         * src/float/lfloat/algebraic/cl_LF_sqrt.cc: Likewise.
810         * src/float/lfloat/elem/cl_LF_1plus.cc: Likewise.
811         * src/float/lfloat/elem/cl_LF_I_div.cc: Likewise.
812         * src/float/lfloat/elem/cl_LF_I_mul.cc: Likewise.
813         * src/float/lfloat/elem/cl_LF_div.cc: Likewise.
814         * src/float/lfloat/elem/cl_LF_from_I.cc: Likewise.
815         * src/float/lfloat/elem/cl_LF_from_RA.cc: Likewise.
816         * src/float/lfloat/elem/cl_LF_fround.cc: Likewise.
817         * src/float/lfloat/elem/cl_LF_ftrunc.cc: Likewise.
818         * src/float/lfloat/elem/cl_LF_futrunc.cc: Likewise.
819         * src/float/lfloat/elem/cl_LF_scale.cc: Likewise.
820         * src/float/lfloat/elem/cl_LF_to_I.cc: Likewise.
821         * src/float/lfloat/misc/cl_LF_digits.cc: Likewise.
822         * src/float/lfloat/misc/cl_LF_idecode.cc: Likewise.
823         * src/float/lfloat/misc/cl_LF_leninc.cc: Likewise.
824         * src/float/lfloat/misc/cl_LF_lenincx.cc: Likewise.
825         * src/float/lfloat/misc/cl_LF_precision.cc: Likewise.
826         * src/float/lfloat/misc/cl_LF_shortenrel.cc: Likewise.
827         * src/float/lfloat/misc/cl_LF_shortenwith.cc: Likewise.
828         * src/float/misc/cl_F_digits.cc: Likewise.
829         * src/float/misc/cl_F_epsneg.cc: Likewise.
830         * src/float/misc/cl_F_epspos.cc: Likewise.
831         * src/float/misc/cl_F_leastneg.cc: Likewise.
832         * src/float/misc/cl_F_leastpos.cc: Likewise.
833         * src/float/misc/cl_F_mostneg.cc: Likewise.
834         * src/float/misc/cl_F_mostpos.cc: Likewise.
835         * src/float/misc/cl_F_precision.cc: Likewise.
836         * src/float/misc/cl_F_rational.cc: Likewise.
837         * src/float/misc/cl_F_shortenrel.cc: Likewise.
838         * src/float/output/cl_F_dprint.cc: Likewise.
839         * src/float/random/cl_F_random.cc: Likewise.
840         * src/float/sfloat/elem/cl_SF_from_I.cc: Likewise.
841         * src/float/sfloat/elem/cl_SF_from_RA.cc: Likewise.
842         * src/float/sfloat/elem/cl_SF_scale.cc: Likewise.
843         * src/float/sfloat/misc/cl_SF_digits.cc: Likewise.
844         * src/float/sfloat/misc/cl_SF_precision.cc: Likewise.
845         * src/float/transcendental/cl_F_atanhx.cc: Likewise.
846         * src/float/transcendental/cl_F_atanx.cc: Likewise.
847         * src/float/transcendental/cl_F_catalanconst_f.cc: Likewise.
848         * src/float/transcendental/cl_F_cos.cc: Likewise.
849         * src/float/transcendental/cl_F_cosh.cc: Likewise.
850         * src/float/transcendental/cl_F_coshsinh.cc: Likewise.
851         * src/float/transcendental/cl_F_cossin.cc: Likewise.
852         * src/float/transcendental/cl_F_eulerconst_f.cc: Likewise.
853         * src/float/transcendental/cl_F_exp1_f.cc: Likewise.
854         * src/float/transcendental/cl_F_expx.cc: Likewise.
855         * src/float/transcendental/cl_F_ln10_f.cc: Likewise.
856         * src/float/transcendental/cl_F_ln2_f.cc: Likewise.
857         * src/float/transcendental/cl_F_lnx.cc: Likewise.
858         * src/float/transcendental/cl_F_pi_f.cc: Likewise.
859         * src/float/transcendental/cl_F_sin.cc: Likewise.
860         * src/float/transcendental/cl_F_sinh.cc: Likewise.
861         * src/float/transcendental/cl_F_sinhx.cc: Likewise.
862         * src/float/transcendental/cl_F_sinx.cc: Likewise.
863         * src/float/transcendental/cl_F_tran.h: Likewise.
864         * src/float/transcendental/cl_F_zeta_int_f.cc: Likewise.
865         * src/float/transcendental/cl_LF_atan_recip.cc: Likewise.
866         * src/float/transcendental/cl_LF_atanh_recip.cc: Likewise.
867         * src/float/transcendental/cl_LF_catalanconst.cc: Likewise.
868         * src/float/transcendental/cl_LF_coshsinh_aux.cc: Likewise.
869         * src/float/transcendental/cl_LF_cossin_aux.cc: Likewise.
870         * src/float/transcendental/cl_LF_eulerconst.cc: Likewise.
871         * src/float/transcendental/cl_LF_exp1.cc: Likewise.
872         * src/float/transcendental/cl_LF_exp_aux.cc: Likewise.
873         * src/float/transcendental/cl_LF_pi.cc: Likewise.
874         * src/float/transcendental/cl_LF_ratseries.cc: Likewise.
875         * src/float/transcendental/cl_LF_ratseries_.cc: Likewise.
876         * src/float/transcendental/cl_LF_ratseries_a.cc: Likewise.
877         * src/float/transcendental/cl_LF_ratseries_ab.cc: Likewise.
878         * src/float/transcendental/cl_LF_ratseries_b.cc: Likewise.
879         * src/float/transcendental/cl_LF_ratseries_p.cc: Likewise.
880         * src/float/transcendental/cl_LF_ratseries_pa.cc: Likewise.
881         * src/float/transcendental/cl_LF_ratseries_pab.cc: Likewise.
882         * src/float/transcendental/cl_LF_ratseries_pb.cc: Likewise.
883         * src/float/transcendental/cl_LF_ratseries_pq.cc: Likewise.
884         * src/float/transcendental/cl_LF_ratseries_pqa.cc: Likewise.
885         * src/float/transcendental/cl_LF_ratseries_pqab.cc: Likewise.
886         * src/float/transcendental/cl_LF_ratseries_pqb.cc: Likewise.
887         * src/float/transcendental/cl_LF_ratseries_q.cc: Likewise.
888         * src/float/transcendental/cl_LF_ratseries_qa.cc: Likewise.
889         * src/float/transcendental/cl_LF_ratseries_qab.cc: Likewise.
890         * src/float/transcendental/cl_LF_ratseries_qb.cc: Likewise.
891         * src/float/transcendental/cl_LF_ratseries_stream_pq.cc: Likewise.
892         * src/float/transcendental/cl_LF_ratseries_stream_pqa.cc: Likewise.
893         * src/float/transcendental/cl_LF_ratseries_stream_pqab.cc: Likewise.
894         * src/float/transcendental/cl_LF_ratseries_stream_pqb.cc: Likewise.
895         * src/float/transcendental/cl_LF_ratsumseries_pqcd.cc: Likewise.
896         * src/float/transcendental/cl_LF_ratsumseries_pqcd_aux.cc: Likewise.
897         * src/float/transcendental/cl_LF_ratsumseries_pqd.cc: Likewise.
898         * src/float/transcendental/cl_LF_ratsumseries_pqd_aux.cc: Likewise.
899         * src/float/transcendental/cl_LF_tran.h: Likewise.
900         * src/float/transcendental/cl_LF_zeta3.cc: Likewise.
901         * src/float/transcendental/cl_LF_zeta_int.cc: Likewise.
902         * src/integer/algebraic/cl_I_rootp_I.cc: Likewise.
903         * src/integer/algebraic/cl_I_rootp_aux.cc: Likewise.
904         * src/integer/bitwise/cl_I_ash.cc: Likewise.
905         * src/integer/bitwise/cl_I_ash_I.cc: Likewise.
906         * src/integer/bitwise/cl_I_byte.h: Likewise.
907         * src/integer/bitwise/cl_I_fullbyte.cc: Likewise.
908         * src/integer/bitwise/cl_I_ilength.cc: Likewise.
909         * src/integer/bitwise/cl_I_ldb.cc: Likewise.
910         * src/integer/bitwise/cl_I_ldbtest.cc: Likewise.
911         * src/integer/bitwise/cl_I_ldbx.cc: Likewise.
912         * src/integer/bitwise/cl_I_ldbxtest.cc: Likewise.
913         * src/integer/bitwise/cl_I_logbitp.cc: Likewise.
914         * src/integer/bitwise/cl_I_logbitp_I.cc: Likewise.
915         * src/integer/bitwise/cl_I_logcount.cc: Likewise.
916         * src/integer/bitwise/cl_I_mkf.cc: Likewise.
917         * src/integer/bitwise/cl_I_mkfx.cc: Likewise.
918         * src/integer/cl_I.h: Likewise.
919         * src/integer/conv/cl_I_to_digits.cc: Likewise.
920         * src/integer/conv/cl_I_digits_need.cc: Likewise.
921         * src/integer/conv/cl_I_from_digits.cc: Likewise.
922         * src/integer/gcd/cl_I_gcd.cc: Likewise.
923         * src/integer/gcd/cl_I_xgcd.cc: Likewise.
924         * src/integer/misc/cl_I_eqhashcode.cc: Likewise.
925         * src/integer/misc/cl_I_ord2.cc: Likewise.
926         * src/integer/misc/cl_I_power2p.cc: Likewise.
927         * src/integer/output/cl_I_cached_power.h (cached_power_table): allow
928         for 40 elements.
929         * src/integer/output/cl_I_decstring.cc: Use uintC instead of uintL
930         where appropriate.
931         * src/integer/output/cl_I_print.cc: Likewise.
932         * src/integer/output/cl_I_print_string.cc: Likewise.
933         * src/modinteger/cl_MI.cc: Likewise.
934         * src/modinteger/cl_MI_lshift.cc: Likewise.
935         * src/modinteger/cl_MI_montgom.h: Likewise.
936         * src/modinteger/cl_MI_pow2.h: Likewise.
937         * src/modinteger/cl_MI_pow2m1.h: Likewise.
938         * src/modinteger/cl_MI_pow2p1.h: Likewise.
939         * src/modinteger/cl_MI_rshift.cc: Likewise.
940         * src/modinteger/cl_MI_std.h: Likewise.
941         * src/numtheory/cl_IF_millerrabin.cc: Likewise.
942         * src/numtheory/cl_nt_isprobprime.cc: Likewise.
943         * src/numtheory/cl_nt_sqrtmodp.cc: Likewise.
944         * src/polynomial/elem/cl_UP_GF2.h: Likewise.
945         * src/real/conv/cl_F_from_R_f.cc: Likewise.
946         * src/real/format-output/cl_fmt_floatstring.cc: Likewise.
947         * src/real/input/cl_R_read.cc: Likewise.
948         * src/vector/cl_GV_I.cc: Likewise.
949         * src/vector/cl_GV_I_copy.cc: Likewise.
950         * src/vector/cl_GV_number.cc: Likewise.
951         * src/vector/cl_GV_number_copy.cc: Likewise.
952         * src/vector/cl_SV_copy.cc: Likewise.
953         * src/vector/cl_SV_number.cc: Likewise.
954         * src/vector/cl_SV_ringelt.cc: Likewise.
955         * tests/main.cc: Likewise.
956         * tests/test_I_ilength.cc: Likewise.
957         * tests/test_I_ord2.cc: Likewise.
958
959 2006-04-19  Bruno Haible  <bruno@clisp.org>
960
961         Prepare for autoconf-2.60.
962         * general.m4 (CL_CC_WORKS): Include <stdlib.h>, for exit() declaration.
963         * longdouble.m4 (CL_LONGDOUBLE): Likewise.
964         * longlong.m4 (CL_LONGLONG): Likewise.
965         * times.m4 (CL_TIMES_CLOCK): Likewise.
966         Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
967
968 2005-12-04  Bruno Haible  <bruno@clisp.org>
969
970         * src/integer/conv/cl_I_to_digits.cc (I_to_digits_noshrink): Set
971         erg->len at the end.
972
973 2005-12-04  Bruno Haible  <bruno@clisp.org>
974
975         Extend the fixnum range from 32 bits to 61 bits on 64-bit platforms.
976         * doc/cln.tex (gcd, jacobi): Take 'long' instead of 'int32' arguments.
977         * include/cln/object.h (cl_value_shift): Define as 3, not 32, in the
978         64-bit case.
979         * include/cln/types.h (intVsize): New macro.
980         (sintV, uintV): New types.
981         * include/cln/integer.h (gcd): Take uintV arguments.
982         * include/cln/numtheory.h (jacobi): Take sintV arguments.
983         * src/complex/input/cl_N_read.cc (read_complex): Call FN_to_UV instead
984         of FN_to_UL.
985         * src/complex/transcendental/cl_C_expt_C.cc: Likewise.
986         * src/float/dfloat/elem/cl_DF_scale_I.cc: Use uintV instead of uintL
987         * src/float/dfloat/elem/cl_DF_from_RA.cc: Don't assume values >= 2^53
988         and < 2^55 are always bignums.
989         where appropriate.
990         * src/float/ffloat/conv/cl_RA_to_float.cc: Call FN_to_UV instead of
991         FN_to_UL.
992         * src/float/ffloat/elem/cl_FF_from_RA.cc: Likewise.
993         * src/float/ffloat/elem/cl_FF_scale_I.cc: Call FN_to_V instead of
994         FN_to_L.
995         * src/float/lfloat/elem/cl_LF_scale_I.cc: Likewise.
996         * src/float/output/cl_F_dprint.cc: Likewise.
997         * src/float/sfloat/elem/cl_SF_from_RA.cc: Call FN_to_UV instead of
998         FN_to_UL.
999         * src/float/sfloat/elem/cl_SF_scale_I.cc: Call FN_to_V instead of
1000         FN_to_L.
1001         * src/integer/cl_I.h (FN_to_UV): Renamed from FN_to_UL, change return
1002         type.
1003         (FN_to_V): Renamed from FN_to_L, change return type.
1004         (FN_V_zerop): Renamed from FN_L_zerop.
1005         (FN_V_minusp): Renamed from FN_L_minusp.
1006         (cl_I_constructor_from_L2, cl_I_constructor_from_UL2): Define as an
1007         inline function on 64-bit platforms.
1008         (V_to_I, UV_to_I): New macros.
1009         (pFN_maxlength_digits_at): Return an uintV instead of an uint32.
1010         (set_pFN_maxlength_digits_at): Take an uintV instead of an uint32.
1011         * src/integer/algebraic/cl_I_sqrtp.cc: Call FN_to_UV instead of
1012         FN_to_UL.
1013         * src/integer/bitwise/cl_I_ash_I.cc: Call FN_to_V instead of FN_to_L.
1014         * src/integer/bitwise/cl_I_ilength.cc: Likewise.
1015         * src/integer/bitwise/cl_I_log_aux.cc: Likewise.
1016         * src/integer/bitwise/cl_I_logbitp_I.cc: Likewise.
1017         * src/integer/bitwise/cl_I_logcount.cc: Likewise.
1018         * src/integer/bitwise/cl_I_logtest.cc: Likewise.
1019         * src/integer/conv/cl_I_from_L2.cc: Don't produce code on 64-bit
1020         platforms.
1021         * src/integer/conv/cl_I_from_UL2.cc: Likewise.
1022         * src/integer/conv/cl_I_from_NDS.cc: Update.
1023         * src/integer/conv/cl_I_from_Q.cc: Remove cast to sint32.
1024         * src/integer/conv/cl_I_from_UQ.cc: Remove cast to uint32.
1025         * src/integer/conv/cl_I_to_L.cc: Check again fixnum that needs more
1026         than 32 bits.
1027         * src/integer/conv/cl_I_to_Q.cc: Call FN_to_V instead of FN_to_L.
1028         * src/integer/conv/cl_I_to_UL.cc: Likewise.
1029         * src/integer/conv/cl_I_to_UQ.cc: Likewise.
1030         * src/integer/elem/cl_I_div.cc: Treat fixnums that need more than 32
1031         bits like bignums.
1032         * src/integer/elem/cl_I_minus.cc: Call FN_to_V instead of FN_to_L.
1033         * src/integer/elem/cl_I_mul.cc: Likewise.
1034         * src/integer/elem/cl_I_plus.cc: Likewise.
1035         * src/integer/elem/cl_I_square.cc: Likewise.
1036         * src/integer/elem/cl_I_uminus.cc: Likewise.
1037         * src/integer/gcd/cl_I_gcd.cc: Likewise.
1038         * src/integer/gcd/cl_low_gcd.cc (gcd): Take uintV arguments.
1039         * src/integer/hash/cl_I_hashcode.cc: Call FN_to_V instead of FN_to_L.
1040         * src/integer/input/cl_I_read.cc (read_integer): Call FN_to_UV instead
1041         of FN_to_UL.
1042         * src/integer/misc/cl_I_ord2.cc (ord2): Call ord2_64 on 64-bit
1043         platforms.
1044         * src/integer/misc/cl_I_power2p.cc: Call FN_to_UV instead of FN_to_UL.
1045         * src/integer/misc/combin/cl_I_doublefactorial.cc (doublefakul_table):
1046         Extend table for larger fixnums.
1047         (doublefactorial): Update.
1048         * src/integer/misc/combin/cl_I_factorial.cc (fakul_table): Extend table
1049         for larger fixnums.
1050         (factorial): Update.
1051         * src/modinteger/cl_MI_fix16.h: Call FN_to_UV instead of FN_to_UL.
1052         * src/modinteger/cl_MI_fix29.h: Likewise.
1053         * src/modinteger/cl_MI_fix32.h: Likewise.
1054         * src/modinteger/cl_MI_std.h: Likewise.
1055         * src/numtheory/cl_nt_cornacchia4.cc: Call FN_to_V instead of FN_to_L.
1056         * src/numtheory/cl_nt_jacobi.cc: Likewise.
1057         * src/numtheory/cl_nt_jacobi_low.cc (jacobi_aux): Take uintV arguments
1058         instead of uint32 arguments.
1059         (jacobi): Take sintV argument instead of a sint32 argument.
1060         * src/rational/input/cl_RA_read.cc: Call FN_to_UV instead of FN_to_UL.
1061         * src/real/input/cl_R_read.cc: Likewise.
1062         * src/vector/cl_GV_I.cc: Likewise.
1063         * tests/timefact.cc: Call FN_to_V instead of FN_to_L.
1064
1065 2005-12-04  Bruno Haible  <bruno@clisp.org>
1066
1067         More complete 64-bit division macros.
1068         * src/base/cl_low.h (divu_6432_3232_w): Choose a different macro
1069         expansion on x86_64.
1070         (divu_6432_6432): New macro.
1071         (divu_6464_6464): Choose a different macro expansion for all CPUs
1072         except sparc64 and x86_64.
1073         (divu_12864_6464): Define NEED_VAR_divu_64_rest here.
1074         * src/base/low/cl_low_div.cc (divu_64_rest): Avoid defining it twice.
1075         (divu_6464_6464_): New function.
1076
1077 2005-12-04  Bruno Haible  <bruno@clisp.org>
1078
1079         * src/base/cl_low.h (ord2_64): New macro.
1080
1081 2005-12-02  Bruno Haible  <bruno@clisp.org>
1082
1083         * src/base/cl_low.h (mulu64) [x86_64]: Change asm restriction, since
1084         mulq doesn't accept immediate arguments.
1085
1086 2005-11-26  Bruno Haible  <bruno@clisp.org>
1087
1088         * src/base/cl_low.h (GENERIC_INTEGERLENGTH32): New macro.
1089         (integerlength64): Define using integerlength32 if integerlength32
1090         is not defined generically.
1091
1092 2005-11-26  Bruno Haible  <bruno@clisp.org>
1093
1094         * src/base/cl_low.h (mulu32) [SPARC64]: Remove rd instruction, since
1095         umul returns the complete 64-bit product in a register.
1096         (mulu32_w) [SPARC64]: Prefer umul over mulx instruction.
1097         (divu_6432_3232_w) [SPARC64]: Prefer umul/udiv over mulx/udivx
1098         instructions.
1099
1100 2005-11-26  Bruno Haible  <bruno@clisp.org>
1101
1102         * src/base/cl_low.h (divu_3216_1616): Prepend underscore to local
1103         variables.
1104
1105 2005-11-26  Bruno Haible  <bruno@clisp.org>
1106
1107         * src/base/cl_low.h (ord2_32): Parenthesize macro argument.
1108
1109 2005-12-17  Richard B. Kreckel  <kreckel@ginac.de>
1110
1111         * Created branch cln_1-1 for maintenance patches.
1112         This is the main branch, which will eventually become CLN 1.2.0.
1113
1114 2005-12-15  Dmitry V. Kustov  <kustov@telex221.ru>
1115
1116         * src/base/random/cl_random_from.cc: Add support for OpenBSD.
1117
1118 2005-11-23  Richard B. Kreckel  <kreckel@ginac.de>
1119
1120         * Version 1.1.11 released.
1121
1122 2005-11-20  Richard B. Kreckel  <kreckel@ginac.de>
1123
1124         * src/integer/conv/cl_I_cached_power.h: New file.
1125         * src/integer/conv/cl_I_cached_power.cc: New file.
1126         Contains power_table and cached_power_table previously...
1127         * src/integer/conv/cl_I_to_digits.cc: ...here.
1128         * src/integer/conv/cl_I_from_digits.cc: Use cached powers.
1129
1130 2005-11-02  Richard B. Kreckel  <kreckel@ginac.de>
1131
1132         * src/integer/conv/cl_I_from_digits.cc: Made input of all numbers in
1133         non-power-of-two base much faster.
1134         * tests/test_I_io.cc: New file...
1135         * tests/Makefile.in, tests/test_I.cc: ...used here.
1136
1137 2005-10-22  Richard B. Kreckel  <kreckel@ginac.de>
1138
1139         * Version 1.1.10 released.
1140
1141 2005-10-22  Richard B. Kreckel  <kreckel@ginac.de>
1142
1143         * src/Makefile.in: Accept CPPFLAGS from environment.
1144         * examples/Makefile.in: Likewise.
1145         * benchmarks/Makefile.in: Likewise.
1146         * tests/Makefile.in: Likewise.
1147
1148 2005-08-30  Richard B. Kreckel  <kreckel@ginac.de>
1149
1150         * include/cln/modules.h (CL_OUTPUT_LABEL): Work around redundant
1151         duplication of basic blocks on m68k.
1152
1153 2005-08-30  Richard B. Kreckel  <kreckel@ginac.de>
1154
1155         * include/cln/modules.h (CL_JUMP_TO): Fix mips* brokenness.
1156
1157 2005-08-27  Bruno Haible  <bruno@clisp.org>
1158
1159         Split aclocal.m4 into individual files.
1160         * m4/alloca.m4, m4/as-underscore.m4, m4/c++-constructors.m4:
1161         * m4/fpu_control.m4, m4/general.m4, m4/gettimeofday.m4:
1162         * m4/longdouble.m4, m4/longlong.m4, m4/param.m4, m4/perror.m4:
1163         * m4/proto.m4, m4/rusage.m4, m4/times.m4:
1164         New files, extracted from autoconf/aclocal.m4.
1165         * autoconf/aclocal.m4: m4_include them.
1166         * Makefile.devel (AUTOCONF_MACROS): New variable.
1167         (configure): Depend on it.
1168         (CLISP_M4DIR): Remove variable.
1169         (autoconf/aclocal.m4): Remove rule.
1170
1171 2005-08-27  Bruno Haible  <bruno@clisp.org>
1172
1173         * src/integer/bitwise/cl_I_ash_I.cc (ash): Avoid shifting a 32-bit
1174         zero value by more than 31 bits.
1175
1176 2005-08-27  Bruno Haible  <bruno@clisp.org>
1177
1178         Make the long-float overflow check work on 64-bit platforms.
1179         * src/float/lfloat/cl_LF.h (LF_exp_mid, LF_exp_high): Define as
1180         'unsigned int', not 'unsigned long'.
1181
1182 2005-08-27  Bruno Haible  <bruno@clisp.org>
1183
1184         * include/cln/modules.h (CL_OUTPUT_LABEL): Work around redundant
1185         duplication of basic blocks by g++ 4.0.
1186         See <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23345>.
1187
1188 2005-08-27  Bruno Haible  <bruno@clisp.org>
1189
1190         Make it possible to cross-compile CLN.
1191         * m4/intparam.m4: New file.
1192         * m4/floatparam.m4: New file.
1193         * autoconf/aclocal.m4: Include both.
1194         (CL_MACHINE): Add an additional CROSS_MACRO parameter.
1195         * configure.ac (CL_MACHINE): When cross-compiling, use
1196         CL_INTPARAM_CROSS and CL_FLOATPARAM_CROSS.
1197
1198 2005-08-27  Bruno Haible  <bruno@clisp.org>
1199
1200         Define HAVE_LONGLONG and HAVE_LONGDOUBLE when cross-compiling.
1201         * autoconf/aclocal.m4 (CL_LONGLONG, CL_LONGDOUBLE): When cross-
1202         compiling, use the test code from gnulib.
1203
1204 2005-08-27  Bruno Haible  <bruno@clisp.org>
1205
1206         * autoconf/aclocal.m4 (CL_RUSAGE): Fix error when cross-compiling.
1207
1208 2005-08-16  Richard B. Kreckel  <kreckel@ginac.de>
1209
1210         The patch of 2005-05-01 made it impossible to test the type of a cl_UP
1211         by comparing with &cl_class_univpoly_ring. We need an alternative:
1212         * include/cln/object.h (cl_class_flags_modint_ring): New #define...
1213         * src/polynomial/elem/cl_UP.cc (cl_class_univpoly_ring): ...used here.
1214         * src/polynomial/elem/cl_UP_GF2.h: Likewise.
1215         * src/polynomial/elem/cl_UP_MI.h: Likewise.
1216         * src/polynomial/elem/cl_UP_gen.h: Likewise.
1217         * src/polynomial/elem/cl_UP_number.h: Likewise.
1218
1219 2005-08-15  Richard B. Kreckel  <kreckel@ginac.de>
1220
1221         * m4/cc.m4 (CL_AS_NOEXECSTACK): New macro...
1222         * configure.ac: ...used here for setting ASMFLAGS...
1223         * src/Makefile.in: ...which are used here.
1224
1225 2005-08-02  Andreas Jochens  <aj@andaco.de>
1226
1227         * include/cln/config.h.in: Add support for PowerPC 64 CPU.
1228         * include/cln/modules.h: Likewise.
1229         * include/cln/object.h: Likewise.
1230         * include/cln/types.h: Likewise.
1231
1232 2005-07-24  Richard B. Kreckel  <kreckel@ginac.de>
1233
1234         Make out of the box build on x86_64 system with complete 32 bit
1235         userland possible
1236         * include/cln/config.h.in: Don't #define __x86_64__ when
1237         __i386__ is defined.
1238         * src/base/digitseq/cl_asm_x86_64_.cc: New file.
1239         * doc/cln.tex: Revert workaround description introduced 2005-05-02.
1240
1241 2005-06-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1242
1243         * Makefile.in: Don't enter nonexisting directories.
1244
1245 2005-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1246
1247         Speed up the linking step
1248         * src/Makefile.in: Use -objectlist for linking libcln.la.
1249
1250 2005-05-15  Richard B. Kreckel  <kreckel@ginac.de>
1251
1252         * autoconf/ltmain.sh: Upgrade to libtool-1.5.16.
1253         * m4/libtool.m4: Upgrade to libtool-1.5.16 (without Comeau patch).
1254
1255 2005-05-02  Richard B. Kreckel  <kreckel@ginac.de>
1256
1257         * doc/cln.tex: Document what to do on a x86_64 machine with 32-bit
1258         userland.
1259
1260 2005-05-01  Richard B. Kreckel  <kreckel@ginac.de>
1261
1262         Fix crashes in find_univpoly_ring and related functions
1263         * include/cln/modinteger.h: Remove vptr from cl_heap_modint_ring;
1264         remove declaration of cl_class cl_class_modint_ring.
1265         * include/cln/univpoly.h: Remove vptr from cl_heap_univpoly_ring;
1266         remove declaration of cl_class_univpoly_ring.
1267         * include/cln/object.h: cl_class_flags_modint_ring: New #define...
1268         * src/modinteger/cl_MI.cc: ...used in cl_class_modint_ring.
1269         * src/modinteger/cl_MI_fix16.h: No vptr, but static dtor and type flag.
1270         * src/modinteger/cl_MI_fix29.h: Likewise.
1271         * src/modinteger/cl_MI_fix32.h: Likewise.
1272         * src/modinteger/cl_MI_int32.h: Likewise.
1273         * src/modinteger/cl_MI_montgom.h: Likewise.
1274         * src/modinteger/cl_MI_pow2: Likewise.
1275         * src/modinteger/cl_MI_pow2m1.h: Likewise.
1276         * src/modinteger/cl_MI_pow2p1.h: Likewise.
1277         * src/modinteger/cl_MI_std.h: Likewise.
1278         * src/polynomial/elem/cl_UP.cc (cl_make_univpoly_ring): Compare with
1279         cl_class_flags_modint_ring, not with cl_class_modint_ring.
1280         * src/polynomial/elem/cl_UP_GF2.h (cl_class_num_univpoly_ring): New.
1281         * src/polynomial/elem/cl_UP_MI.h (cl_class_modint_univpoly_ring): New.
1282         * src/polynomial/elem/cl_UP_gen.h (cl_class_gen_univpoly_ring): New.
1283         * src/polynomial/elem/cl_UP_number.h (cl_class_num_univpoly_ring): New.
1284         Reported by Ralf Goertz <R_Goertz@web.de>.
1285
1286 2005-04-29  Richard B. Kreckel  <kreckel@ginac.de>
1287             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1288
1289         * m4/cc.m4: Emit a warning if g++ is used and optimization turned off.
1290
1291 2005-04-24  Richard B. Kreckel  <kreckel@ginac.de>
1292
1293         Make GCC compiler flags default to -O
1294         * m4/cc.m4: New file...
1295         * configure.ac: ...used here.
1296         * autoconf/aclocal.m4: Regenerate.
1297
1298 2005-04-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1299
1300         * include/cln/string.h: Declare cl_string.
1301
1302 2005-03-17  Richard B. Kreckel  <kreckel@ginac.de>
1303
1304         * autoconf/ltmain.sh: Upgrade to libtool-1.5.14.
1305         * m4/libtool.m4: Upgrade to libtool-1.5.14 with Comeau patch.
1306         * autoconf/aclocal.m4: Regenerate.
1307
1308 2005-03-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1309
1310         * src/Makefile.in: Use $CXX instead of $CC when linking.
1311
1312 2005-02-27  Richard B. Kreckel  <kreckel@ginac.de>
1313         
1314         * examples/perfnum.cc: update to presumed 42st Mersenne prime.
1315
1316 2004-11-28  Richard B. Kreckel  <kreckel@ginac.de>
1317
1318         Disambiguate binary operators of CLN types with float/double
1319         * include/cln/dfloat.h: Add binary operator overloads for arguments of
1320         type double.
1321         * include/cln/ffloat.h: Likewise, for arguments of type float.
1322         * include/cln/float.h: Likewise, both for arguments of types double and
1323         float.
1324         * include/cln/real.h: Likewise.
1325         Reported by Isidro Cachadiña Gutiérrez <icacha@unex.es>.
1326
1327 2004-11-03  Richard B. Kreckel  <kreckel@ginac.de>
1328
1329         * Version 1.1.9 released.
1330
1331 2004-10-28  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1332
1333         * src/Makefile.in: Let config.status set LDFLAGS.
1334
1335 2004-10-27  Peter Breitenlohner  <peb@mppmu.mpg.de>
1336
1337         * cln.pc.in: Fix typo.
1338         * Makefile.in (INSTALL_SCRIPT): Added, to be used for scripts like
1339         cln-config.  Allows us to do special things to binaries, like
1340         installing them with install -s.
1341         * doc/Makefile.in: add/remove the cln.info from the installed
1342         $(infodir)/dir unless this is debian install-info (code copied from
1343         what GNU automake would produce).
1344
1345 2004-10-26  Richard B. Kreckel  <kreckel@ginac.de>
1346
1347         * src/integer/input/cl_I_read_stream.cc (read_integer): Fix a bug
1348         that caused radix specifiers to not work when reading from a stream.
1349         * src/rational/input/cl_RA_read_stream.cc (read_rational): Likewise.
1350         * src/real/input/cl_R_read_stream.cc (read_real): Likewise.
1351         * src/float/input/cl_F_read_stream.cc (read_float): Likewise.
1352         * src/complex/input/cl_N_read_stream.cc (read_complex): Likewise.
1353
1354 2004-10-25  Richard B. Kreckel  <kreckel@ginac.de>
1355
1356         * src/base/cl_low.h: Add mulu64 assembler macro for ia64.
1357
1358 2004-10-24  Richard B. Kreckel  <kreckel@ginac.de>
1359
1360         * src/base/cl_low.h: Add mul and div macros for x86_64.
1361
1362 2004-10-23  Richard B. Kreckel  <kreckel@ginac.de>
1363
1364         * src/integer/conv/cl_I_from_digits.cc (digits_to_I): Fix thinko in
1365         new code for base power of two.
1366
1367 2004-10-22  Richard B. Kreckel  <kreckel@ginac.de>
1368
1369         * src/integer/conv/cl_I_to_digits (I_to_digits): Fix an elusive stack
1370         overwriting problem. That was the real cause for Debian bug#246319.
1371         * src/integer/output/cl_I_print.cc (print_integer): Revert workaround
1372         for the bug fixed above.
1373
1374 2004-10-20  Richard B. Kreckel  <kreckel@ginac.de>
1375
1376         * include/cln/types.h: Use 64 bit digits on x86_64 CPU.
1377
1378 2004-10-12  Richard B. Kreckel  <kreckel@ginac.de>
1379
1380         * src/integer/conv/cl_I_from_digits.cc (digits_to_I): Speedup when
1381         the base is a power of two.
1382
1383 2004-10-05  Richard B. Kreckel  <kreckel@ginac.de>
1384
1385         * src/integer/conv/cl_I_to_digits.cc (I_to_digits): Fix bug in base 32.
1386
1387 2004-09-27  Richard B. Kreckel  <kreckel@ginac.de>
1388
1389         Support for little-endian Mips, second shot
1390         * src/base/digitseq/cl_asm_mipsel_.cc: New file...
1391         * src/base/digitseq/cl_asm_cc: ...used here.
1392         * src/base/digitseq/cl_asm.h: Include cl_asm_mips.h for any endianness.
1393         * include/cln/object.h: Set alignment for mipsel explicitly.
1394
1395 2004-09-05  Richard B. Kreckel  <kreckel@ginac.de>
1396
1397         Support for little-endian Mips
1398         * include/cln/config.h.in: Add __mipsel__.
1399         * include/cln/modules.h: For Mips, this is endianness-agnostic.
1400         * src/base/digitseq/cl_asm_.cc, src/base/digitseq/cl_asm.h:
1401         Mask out assembler for little-endian Mips.
1402
1403 2004-08-30  Bruno Haible  <bruno@clisp.org>
1404
1405         * benchmarks/timebench2.sh: Multiply all repeat counts by 100.
1406         * benchmarks/timebench2.results: Add recent PowerPC G4 results.
1407
1408 2004-08-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1409
1410         * examples/e.cc: remove extra semicolon.
1411
1412 2004-08-25  Bruno Haible  <bruno@clisp.org>
1413
1414         * autoconf/ltmain.sh: Upgrade to libtool-1.5.6.
1415         * m4/libtool.m4: New file, from libtool-1.5.6 with modifications:
1416         2004-08-22  Bruno Haible  <bruno@clisp.org>
1417           * m4/libtool.m4: Add support for Comeau C++ on Linux.
1418           Reported by Prof. Roberto Bagnara <bagnara@cs.unipr.it>.
1419         * autoconf/aclocal.m4: Regenerate.
1420
1421 2004-08-19  Bruno Haible  <bruno@clisp.org>
1422
1423         * include/cln/modules.h (CL_GLOBALIZE_JUMP_LABEL, CL_JUMP_TO): When
1424         converting a label to a string, use ASM_UNDERSCORE_PREFIX. Needed on
1425         MacOS X.
1426         Reported by Darren Bane <darren.bane@ul.ie>.
1427
1428 2004-07-01  Richard B. Kreckel  <kreckel@ginac.de>
1429
1430         * Version 1.1.8 released.
1431
1432 2004-06-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1433
1434         * src/base/cl_macros.h: alloca(3) has size_t argument type.
1435
1436 2004-06-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1437
1438         * include/cln/floatformat.h: Do define a type here.
1439
1440 2004-06-27  Richard B. Kreckel  <kreckel@ginac.de>
1441
1442         * include/cln/modules.h (CL_JUMP_TO): Fix AMD64 brokenness.
1443
1444 2004-06-23  Bruno Haible  <bruno@clisp.org>
1445
1446         * configure.ac: Pretend ftime() is not available. Needed by
1447         CL_TIMES_CLOCK.
1448
1449 2004-06-21  Ralf Stephan  <ralf@ark.in-berlin.de>
1450
1451         * doc/cln.tex: Document jacobi, isprobprime and nextprobprime.
1452
1453 2004-06-18  Richard B. Kreckel  <kreckel@ginac.de>
1454
1455         * rational/transcendental/cl_RA_logp.cc: fix bug where base is
1456         reciprocal of an integer.
1457         Reported by Niklas Knutsson <nq@altern.org>.
1458
1459 2004-06-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1460
1461         * src/complex/ring/cl_C_ring.cc, src/integer/ring/cl_I_ring.cc,
1462         src/rational/ring/cl_RA_ring.cc, src/real/ring/cl_R_ring.cc:
1463         Make template specializations explicit.
1464
1465 2004-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1466
1467         * src/complex/input/cl_N_read.cc, src/float/input/cl_F_read.cc,
1468         src/integer/input/cl_I_read.cc, src/rational/input/cl_RA_read.cc,
1469         src/real/input/cl_R_read.cc:  Remove unused labels.
1470
1471 2004-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1472
1473         * benchmarks/timebench1.cc, benchmarks/timebench2a.LiDIA.cc,
1474         benchmarks/timebench2a.cc, benchmarks/timebench2ap.cc,
1475         benchmarks/timebench2b.LiDIA.cc, benchmarks/timebench2b.cc,
1476         examples/atan_recip.cc, examples/atanh_recip.cc,
1477         examples/contfrac.cc, examples/e.cc, examples/legendre.cc,
1478         examples/lucaslehmer.cc, examples/pi.cc, include/cln/GV.h,
1479         include/cln/SV.h, include/cln/malloc.h, include/cln/modules.h,
1480         include/cln/object.h, include/cln/string.h, src/base/cl_abort.cc,
1481         src/base/cl_alloca.h, src/base/cl_malloc.cc,
1482         src/base/random/cl_random_from.cc,
1483         src/base/string/cl_spushstring_append.cc,
1484         src/base/string/cl_spushstring_push.cc,
1485         src/base/string/cl_st_debug.cc,
1486         src/base/string/input/cl_st_gettoken.cc,
1487         src/complex/input/cl_N_read.cc, src/float/input/cl_F_read.cc,
1488         src/float/output/cl_F_dprint.cc, src/integer/input/cl_I_read.cc,
1489         src/rational/input/cl_RA_read.cc,
1490         src/real/format-output/cl_fmt_integer.cc,
1491         src/real/format-output/cl_fmt_paddedstring.cc,
1492         src/real/input/cl_R_read.cc, src/timing/cl_t_current.cc,
1493         src/timing/cl_t_current2.cc, tests/exam.cc, tests/tests.cc,
1494         tests/timeLFRAmul.cc, tests/timeLFatan-compare.cc,
1495         tests/timeLFatan.cc, tests/timeLFatanh-compare.cc,
1496         tests/timeLFatanh.cc, tests/timeLFcos-compare.cc, tests/timeLFcos.cc,
1497         tests/timeLFcosh.cc, tests/timeLFexp-compare.cc, tests/timeLFexp.cc,
1498         tests/timeLFln-compare.cc, tests/timeLFln.cc,
1499         tests/timeLFsin-compare.cc, tests/timeLFsin.cc, tests/timeLFsinh.cc,
1500         tests/timeLFsqrt.cc, tests/timeMImisc5.cc, tests/timeMIpow2div.cc,
1501         tests/timeMIpow2recip.cc, tests/timeRALFdiv.cc, tests/timeRAtoLF.cc,
1502         tests/timeUPMImul.cc, tests/timecatalan.cc, tests/timediv.cc,
1503         tests/timediv2adic-compare.cc, tests/timediv2adic.cc,
1504         tests/timeeuler.cc, tests/timeexp1.cc, tests/timefact.cc,
1505         tests/timegcd.cc, tests/timemul-compare.cc, tests/timemul.cc,
1506         tests/timepi.cc, tests/timeprint-compare.cc, tests/timeprint.cc,
1507         tests/timerecip2adic-compare.cc, tests/timerecip2adic.cc,
1508         tests/timesqrt.cc, tests/timesqrtmodp.cc, tests/timesquare.cc,
1509         tests/timezeta3.cc: Change all C include headers to ISO style
1510         within C++ code.
1511
1512 2004-06-10  Richard B. Kreckel  <kreckel@ginac.de>
1513
1514         * examples/perfnum.cc: update to presumed 41st Mersenne prime.
1515
1516 2004-05-02  Richard B. Kreckel  <kreckel@ginac.de>
1517
1518         * Version 1.1.7 released.
1519
1520 2004-05-02  Richard B. Kreckel  <kreckel@ginac.de>
1521
1522         * examples/pi.cc and examples/pi.1: New files.
1523         * examples/Makefile.in: Build the pi executable.
1524
1525 2004-05-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1526
1527         * src/Makefile.in: Fix for parallel build: wait for subdir objects to
1528         be finished before creating the library.
1529
1530 2004-04-30  Richard B. Kreckel  <kreckel@ginac.de>
1531
1532         * src/integer/output/cl_I_print.cc (print_integer): workaround
1533         GCC compiler bug (cf. Debian bug#246319).
1534
1535 2004-03-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1536
1537         * m4/gmp.m4 (CL_GMP_CHECK): Do not lose LIBS setting with config.cache
1538         enabled.
1539
1540 2004-03-08  Bruno Haible  <bruno@clisp.org>
1541
1542         * src/float/lfloat/elem/cl_LF_mul.cc (operator*): Fix the second
1543         underflow condition.
1544         * src/float/lfloat/algebraic/cl_LF_sqrt.cc (sqrt): Fix a bug with large
1545         uexp whereby SQRT of MOST-POSITIVE-LONG-FLOAT was less than 1.
1546
1547 2004-03-04  Richard B. Kreckel  <kreckel@ginac.de>
1548
1549         * Makefile.in (install): Add ${srcdir} for cln.m4.
1550         * m4/gmp.m4: quote macro names.
1551         Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
1552
1553 2004-01-01  Richard B. Kreckel  <kreckel@ginac.de>
1554
1555         * Version 1.1.6 released.
1556
1557 2004-01-01  Richard B. Kreckel  <kreckel@ginac.de>
1558
1559         * include/cln/univpoly.h, include/cln/univpoly_complex.h,
1560           include/cln//univpoly_integer.h, include/cln/univpoly_modint.h,
1561           include/cln/univpoly_rational.h, include/cln/univpoly_real.h,
1562           src/polynomial/elem/cl_UP_GF2.h, src/polynomial/elem/cl_UP_MI.h,
1563           src/polynomial/elem/cl_UP_gen.h, src/polynomial/elem/cl_UP_no_ring.cc,
1564           src/polynomial/elem/cl_UP_number.h (ldegree): New function.
1565         * doc/cln.tex: Document `ldegree'.
1566
1567 2003-12-29  Richard B. Kreckel  <kreckel@ginac.de>
1568
1569         Rework of autoconfiscation infrastructure
1570         * autoconf/config.{guess,sub}: Update to GNU version 2003-10-07.
1571         * autoconf/ltmain.sh: Update to GNU version 1.4.3.
1572         * autoconf/autoconf: Remove (from now on we assume autoconf is
1573           installed properly on the sytem).
1574         * autoconf/autoconf.m4: Likewise.
1575         * autoconf/autoconf.m4f: Likewise.
1576         * autoconf/acgeneral.m4: Likewise.
1577         * autoconf/acspecific.m4: Likewise.
1578         * autoconf/aclocal.m4: Regenerate.
1579         * autoconf/acinclude.m4: Remove (while moving the macros...)
1580         * m4/gmp.m4: New file (...to here).
1581         * Makefile.devel: Update to new scheme.
1582         * configure.ac: Likewise.
1583         * include/cln/GV_integer.h: Assume template specializations work.
1584         * include/cln/GV_modinteger.h: Likewise.
1585         * include/cln/config.h.in: Likewise, and drop HAVE_BOOL.
1586         * src/base/cl_base_config.h.in: Drop support for obsolete ftime(3).
1587         * src/base/random/cl_random_from.cc: Likewise.
1588         * src/timing/cl_base_config.h.in: Likewise.
1589         * src/timing/cl_t_current.cc: Likewise.
1590
1591 2003-12-27  Richard B. Kreckel  <kreckel@ginac.de>
1592
1593         * src/polynomial/cl_UP_gen.h (gen_minus): Fix case where first
1594           argument is zero.
1595         * src/polynomial/cl_UP_MI.h (modint_minus): Likewise.
1596         * src/polynomial/cl_UP_number.h (num_minus): Likewise.
1597         Reported by Munagala Ramanath <amberarrow@yahoo.com>.
1598
1599 2003-12-02  Richard B. Kreckel  <kreckel@ginac.de>
1600
1601         * examples/perfnum.cc: update to presumed 40th Mersenne prime.
1602
1603 2003-11-20  Christian Bauer  <cbauer@ginac.de>
1604
1605         Added pkg-config support
1606         * cln.pc.in: New file.
1607         * Makefile.in: Take care of cln.pc.
1608         * configure.ac: Likewise.
1609
1610 2003-08-06  Richard B. Kreckel  <kreckel@ginac.de>
1611
1612         * src/numtheory/cl_nt_sqrtmodp.cc: #undef _R.
1613         Reported by Andrew Rechnitzer <A.Rechnitzer@ms.unimelb.edu.au>.
1614
1615 2003-08-01  Richard Kreckel  <kreckel@ginac.de>
1616
1617         More dependent base resolution issues
1618         * src/base/hash/cl_hash.h (cl_heap_hashtable<T>::iterator()): 
1619         portable syntactic simplification.
1620         * src/base/hash/cl_hashset.h: Preceed inherited members with this->.
1621         * src/base/hash/cl_hash1.h: Likewise for member functions.
1622         * src/base/hash/cl_hash2.h: Likewise.
1623         * src/base/hash/cl_hashuniq.h: Likewise.
1624         * src/base/hash/cl_hashuniqweak.h: Likewise.
1625         * src/base/hash/cl_hash.h: Revert explicit static member function
1626         lookup since that was GCC's fault.
1627         * src/base/hash/cl_hash2weak.h: Likewise.
1628         * src/base/hash/cl_hashuniqweak.h: Likewise.
1629
1630 2003-06-29  Richard Kreckel  <kreckel@ginac.de>
1631
1632         Dependent base resolution needed for GCC-3.4
1633         * include/cln/GV.h: Preceed inherited members with this->.
1634         * include/cln/SV.h: Likewise.
1635         * include/cln/object.h: Likewise.
1636         * src/base/hash/cl_hash1.h: Likewise.
1637         * src/base/hash/cl_hash1weak.h: Likewise.
1638         * src/base/hash/cl_hash2.h: Likewise.
1639         * src/base/hash/cl_hashuniq.h: Likewise.
1640         * src/base/hash/cl_hash.h: Make lookup of static member function 
1641         explicit.
1642         * src/base/hash/cl_hash2weak.h: Likewise.
1643         * src/base/hash/cl_hashuniqweak.h: Likewise.
1644         * src/modinteger/cl_MI.cc: Make shell-comment a C-comment. Geez.
1645
1646 2003-02-24  Bruno Haible  <bruno@clisp.org>
1647
1648         * src/base/random/cl_random_from.cc (random_state::random_state): Add
1649         support for MacOS X.
1650         * src/modinteger/cl_MI.cc: #undef _R.
1651         Reported by Erann Gat <gat@jpl.nasa.gov>.
1652
1653 2002-08-03  Joerg Arndt  <jj@suse.de>
1654
1655         * include/cln/config.h.in: Add support for x86_64 CPU.
1656         * include/cln/modules.h: Likewise.
1657         * include/cln/types.h: Likewise.
1658         * include/cln/object.h: Likewise.
1659
1660 2002-06-08  Richard Kreckel  <kreckel@ginac.de>
1661
1662         * src/base/digitseq/cl_asm.h: ensure intCsize==16 when including
1663         m68k Assembler routines.
1664         * src/base/digitseq/cl_asm_.cc: Likewise.
1665
1666 2002-05-28  Richard Kreckel  <kreckel@ginac.de>
1667
1668         * Version 1.1.5 released.
1669
1670 2002-05-27  Richard Kreckel  <kreckel@ginac.de>
1671
1672         * include/cln/modules.h (CL_CONCATENATE): New macro.
1673
1674 2002-05-10  Richard Kreckel  <kreckel@ginac.de>
1675
1676         * doc/cln.tex (Building the library): Update recommendations for 
1677         compiling on Tru64 using g++ 3.0 and 3.1.
1678         * README: Update homepage.
1679
1680 2002-05-05  Bruno Haible  <bruno@clisp.org>
1681
1682         * doc/cln.tex (Building the library): Give some recommendations for
1683         g++ 3.0 and 3.1.
1684
1685         Force link-time references despite optimizations done by g++ 2.95
1686         and newer.
1687         * include/cln/modules.h (CL_FORCE_LINK): New macro.
1688         * Use CL_FORCE_LINK.
1689         * include/cln/GV_integer.h (cl_GV_I_debug_dummy): Likewise.
1690         * include/cln/GV_number.h (cl_GV_number_debug_dummy): Likewise.
1691         * include/cln/SV_number.h (cl_SV_number_debug_dummy): Likewise.
1692         * include/cln/SV_ringelt.h (cl_SV_ringelt_debug_dummy): Likewise.
1693         * include/cln/dfloat.h (cl_DF_debug_dummy): Likewise.
1694         * include/cln/ffloat.h (cl_FF_classes_dummy, cl_FF_debug_dummy):
1695         Likewise.
1696         * include/cln/integer.h (cl_I_classes_dummy, cl_I_debug_dummy):
1697         Likewise.
1698         * include/cln/lfloat.h (cl_LF_debug_dummy): Likewise.
1699         * include/cln/modinteger.h (cl_MI_debug_dummy): Likewise.
1700         * include/cln/rational.h (cl_RA_debug_dummy): Likewise.
1701         * include/cln/real.h (cl_R_debug_dummy): Likewise.
1702         * include/cln/ring.h (cl_ring_debug_dummy): Likewise.
1703         * include/cln/sfloat.h (cl_SF_classes_dummy, cl_SF_classes_dummy):
1704         Likewise.
1705         * include/cln/string.h (cl_string_debug_dummy): Likewise.
1706         * include/cln/univpoly.h (cl_UP_debug_dummy): Likewise.
1707         * src/float/base/cl_ieee.h (cl_ieee_dummy_NNN): Likewise.
1708
1709         Avoid g++ 3.1 warnings.
1710         * src/base/cl_offsetof.h (offsetof): Redefine each time.
1711         * src/base/digitseq/cl_DS.h: Include "cl_offsetof.h" after <gmp.h>.
1712
1713         Avoid g++ 3.1 warnings.
1714         * src/base/hash/cl_hash.h (struct cl_heap_hashtable): Use typename
1715         where needed.
1716         * src/base/hash/cl_hash1.h (struct cl_heap_hashtable_1): typedef
1717         htxentry as a shortcut.
1718         * src/base/hash/cl_hash2.h (struct cl_heap_hashtable_2): Likewise.
1719         * src/base/hash/cl_hashset.h (struct cl_heap_hashtable_set): Likewise.
1720         * src/base/hash/cl_hashuniq.h (struct cl_heap_hashtable_uniq):
1721         Likewise.
1722
1723 2002-03-15  Bruno Haible  <bruno@clisp.org>
1724
1725         * cln.tex: Document problem with GNU make 3.77.
1726         Reported by Michael Somos <somos@grail.cba.csuohio.edu>.
1727
1728 2002-02-16  Richard Kreckel  <kreckel@ginac.de>
1729
1730         * cln.m4: quote macro name.
1731           Pointed out by Roberto Bagnara.
1732
1733 2002-01-20  Richard Kreckel  <kreckel@ginac.de>
1734
1735         * autoconf/config.{guess,sub}: Update to GNU version 2002-01-02.
1736           (the old one was broken on Linux/Mips.)
1737
1738 2002-01-04  Richard Kreckel  <kreckel@ginac.de>
1739
1740         * autoconf/autoconf.m4f: get brutal in order to adhere to FHS.
1741         * Version 1.1.4 released.
1742
1743 2002-01-03  Richard Kreckel  <kreckel@ginac.de>
1744
1745         * autoconf/acinclude.m4: revamp MPN-matcher.
1746         * autoconf/aclocal.m4: upgrade to autoconf-2.52 infrastructure,
1747           sync with CLisp from CVS.
1748         * autoconf/autoconf: Likewise.
1749         * autoconf/autoconf.m4f: Likewise (new file).
1750         * configure.ac: Likewise (new file, replaces configure.in).
1751         * configure.in: Likewise (deleted, replaced by configure.ac).
1752         * autoconf/config.{guess,sub}: Update to GNU version 2001-12-13.
1753         * src/Makefile.in: made VPATH safe for autoconf-2.52.
1754         * include/cln/config.h.in: Add __s390__.
1755
1756 2001-12-31  Richard Kreckel  <kreckel@ginac.de>
1757
1758         * src/base/digitseq/cl_DS.h: <gmp.h> is not included extern "C"
1759           any more since GMP4 has some C++ support in it.
1760
1761 2001-12-14  Richard Kreckel  <kreckel@ginac.de>
1762
1763         * include/cln/modules.h, include/cln/object.h: add support for
1764           s390.
1765         * src/numtheory/cl_nt_sqrtmodp.cc: workaround for GCC2.x compiler-bug
1766           on s390, provided by Gerhard Tonn.
1767
1768 2001-11-05  Richard Kreckel  <kreckel@ginac.de>
1769
1770         * autoconf/ltmain.sh: Upgrade to libtool-1.4.2.
1771         * autoconf/config.{guess,sub}: Update to GNU version 2001-09-07.
1772         * Version 1.1.3 released.
1773
1774 2001-11-04  Bruno Haible  <haible@clisp.cons.org>
1775
1776         Interoperability with gcc-3.0 -fuse-cxa-atexit.
1777         * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add test whether
1778           global destructors actually exist.
1779         * include/cln/modules.h (CL_PROVIDE, CL_PROVIDE_END, CL_PROVIDE_END):
1780           Don't hack the global destructors if there is no global destructors
1781           function.
1782
1783 2001-11-03  Richard Kreckel  <kreckel@ginac.de>
1784
1785         * src/float/transcendental/cl_F_sinx.cc (sinx_naive): For small
1786           values of x, return square(x) instead of x.
1787         * src/float/transcendental/cl_F_sinhx.cc (sinhx_naive): Likewise.
1788
1789 2001-07-25  Richard Kreckel  <kreckel@ginac.de>
1790
1791         * Version 1.1.2 released.
1792
1793 2001-07-24  Richard Kreckel  <kreckel@ginac.de>
1794
1795         * src/base/hash/cl_hash.h: declare _cl_hashtable_iterator<htentry> a
1796           friend of cl_heap_hashtable<htentry>.
1797
1798 2001-07-22  Richard Kreckel  <kreckel@ginac.de>
1799
1800         * src/float/base/cl_ieee.cc: try to do magic to the FPU only if
1801           _FPU_IEEE is really defined.
1802         * include/cln/modules.h: change assembler labels from `label' to
1803           `label:' on hppa, needed by Linux (see comment).
1804         * autoconf/acinclude.m4: new file (for storing CLN-specific macros).
1805         * Makefile.devel: adjusted.
1806         * autoconf/aclocal.m4: regenerate.
1807         * src/base/low/cl_low_mul.cc: moved POD variables that are declared
1808           extern "C" elsewhere out of the namespace.
1809         * src/base/low/cl_low_div.cc: Likewise.
1810
1811 2001-06-08  Bruno Haible  <haible@clisp.cons.org>
1812
1813         * autoconf/config.{guess,sub}: Update to GNU version 2001-05-11.
1814         * autoconf/aclocal.m4: Upgrade to libtool-1.4.
1815         * autoconf/ltmain.sh: Likewise.
1816         * autoconf/ltconfig: Remove file.
1817         * autoconf/install-sh: New file.
1818         * configure.in: Add AC_CONFIG_AUX_DIR call.
1819
1820 2001-06-05  Richard Kreckel  <kreckel@ginac.de>
1821
1822         * tests/tests.cc: resolve namespace ambiguity about strcmp().
1823
1824 2001-05-31  Richard Kreckel  <kreckel@ginac.de>
1825
1826         * Version 1.1.1 released.
1827
1828 2001-05-28  Richard Kreckel  <kreckel@ginac.de>
1829
1830         * cln/cln.tex: documented problems with shared library on Sparc
1831           using gcc older than 2.95.3.
1832         * configure.in: Fixed typos in versioning docu.
1833
1834 2001-05-25  Bruno Haible  <haible@clisp.cons.org>
1835
1836         * src/base/digitseq/cl_asm_arm_.cc: Use #0x instead of #& to designate
1837           hexadecimal constants.
1838
1839 2001-05-25  Richard Kreckel  <kreckel@ginac.de>
1840
1841         * autoconf/floatparam.c (double_wordorder_bigendian_p): new symbol.
1842         * src/float/dfloat/cl_DF.h: Check for double_wordorder_bigendian_p.
1843         * Removed LiDIA interface since that is now outdated (namespace cln)
1844           and maintained elsewhere.
1845         * Adjusted dates and final touches for 1.1.1.
1846
1847 2001-05-19  Richard Kreckel  <kreckel@ginac.de>
1848
1849         * INSTALL: Update toolchain info: no egcs, some more platforms.
1850         * doc/cln.tex: Likewise.
1851
1852 2001-05-18  Richard Kreckel  <kreckel@ginac.de>
1853
1854         * src/base/cl_low.h: prepended variables declared inside macros
1855           with underscore.  Fixes equal_hashcode() on various platforms.
1856
1857 2001-04-25  Richard Kreckel  <kreckel@ginac.de>
1858
1859         * src/base/cl_low.h: Added several checks if NO_ASM is defined, so
1860           this definition becomes actually useful.  This is needed for 
1861           compilation on Arm until somebody fixes the assembler files for Arm.
1862         * src/base/digitseq/cl_asm.h: Likewise.
1863         * src/base/digitseq/cl_asm_.cc: Likewise.
1864         * */Makefile.in: Added `override' in front of `CPPFLAGS +=' so
1865            one can say `make CPPFLAGS=-DFOOBAR'.
1866
1867 2001-03-26  Arvid Norberg <c99ang@cs.umu.se>
1868
1869         * src/base/random/cl_random_from.cc: ported to beos.
1870
1871 2001-03-05  Richard Kreckel  <kreckel@ginac.de>
1872
1873         * include/cln/modules.h (CL_JUMP_TO): Fix IA64 brokenness.
1874
1875 2001-01-28  Richard Kreckel  <kreckel@ginac.de>
1876
1877         * include/cln/number.h (cl_as_N): Remove bogus comment.
1878
1879 2001-01-22  Richard Kreckel  <kreckel@ginac.de>
1880
1881         * configure.in: Make build in separate builddir possible (again).
1882
1883 2001-01-22  Richard Kreckel  <kreckel@ginac.de>
1884
1885         * include/cln/*.h: Change signatures of all classes' methods
1886           cln::cl_foo::operator new(size_t, cl_foo*) to
1887           cln::cl_foo::operator new(size_t, void*) so one can declare
1888           std::vector<cln::cl_foo>, std::list<cln::cl_foo> etc. for
1889           certain STL implementations (like libstdc++-v3).
1890
1891 2000-12-14  Richard Kreckel  <kreckel@ginac.de>
1892
1893         * Version 1.1 released.
1894
1895 2000-12-13  Richard Kreckel  <kreckel@ginac.de>
1896
1897         * */*: cl_istream -> std::istream, cl_ostream -> std::ostream.
1898
1899 2000-12-05  Richard Kreckel  <kreckel@ginac.de>
1900
1901         * Makefile.in, src/Makefile.in, doc/Makefile.in: Use mkdir -p.
1902         * include/cln/version.h.in, src/base/verion.cc: New files.
1903         * configure.in: Generate include/cln/version.h.
1904         * cln.m4: Rewrote it. Check result of cln-config without compiling.
1905           Do cross-check library version and header version information.
1906
1907 2000-12-02  Christian Bauer  <cbauer@ginac.de>
1908
1909         * Makefile.in, src/Makefile.in, doc/Makefile.in: Added $DESTDIR.
1910         * cln.m4, cln.spec.in: some minor fixes with respect to RPM package
1911           building.
1912
1913 2000-11-24  Richard Kreckel  <kreckel@ginac.de>
1914
1915         * */*: Removed problematic stdin, stdout and stderr definitions.  
1916           Use std::cin, std::cout, std::cerr instead (obsoletes 2000-10-29).
1917
1918 2000-11-20  Bruno Haible
1919
1920         * cln-config.1: change title.
1921
1922 2000-11-18  Richard Kreckel  <kreckel@ginac.de>
1923
1924         * cln.m4: New file.
1925         * doc/cln.tex: Document package tools cln-config and cln.m4.
1926         * Makefile.in: Care about cln.m4.
1927
1928 2000-11-17  Richard Kreckel  <kreckel@ginac.de>
1929
1930         * cln-config.1: added manpage, as required by a couple of distros.
1931         * Makefile.in, doc/Makefile.in: target install depends on installdirs.
1932
1933 2000-11-16  Richard Kreckel  <kreckel@ginac.de>
1934
1935         * autoconf/aclocal.m4 (CL_GMP_SET_UINTD): New macro...
1936         * configure.in: ...used here.
1937         * include/cln/config.h.in: Put in macros defined by CL_GMP_SET_UINTD...
1938         * include/cln/types.h: ...used here.
1939         * autoconf/acgeneral.m4, autoconf/aclocal.m4: Adhere to FHS.
1940
1941 2000-11-13  Richard Kreckel  <kreckel@ginac.de>
1942
1943         * src/base/digitseq/cl_asm.h: Test if (intDsize==32) for MIPS and HPPA,
1944           in order to guard against an accidented configuration.
1945         * src/integer/conv/cl_I_to_digits.cc (table): member b_hoch_k of 
1946           struct power_table_entry initialized as ULL instead of as UL, if 
1947           intDsize==64 (caused misprinting on MIPS w/ GMP).
1948         * src/base/cl_macros.h (minus_bitm, bitc): implemented ULL, if 
1949           HAVE_FAST_LONGLONG.
1950         * src/integer/bitwise/cl_I_mkfx.cc (mkf_extract): Likewise.
1951         * src/integer/conv/cl_I_from_L.cc (cl_I_from_L): Added trival 
1952           generation of Bignum for intDsize==64 and a notreached-check at end.
1953         * autoconf/config.guess, autoconf/config.sub: updated from FSF.
1954         * include/cln/config.h.in: Prepared support for IA64.
1955         * include/cln/types.h: Likewise.
1956         * include/cln/object.h: Likewise.
1957         * include/cln/modules.h: Likewise.
1958         * src/base/cl_macros.h (nonreturning_function): Likewise (NUE's 
1959           compiler claims __GNUC_MINOR__==9).
1960
1961 2000-11-03  Richard Kreckel  <kreckel@ginac.de>
1962
1963         * src/base/cl_macros.h (bit, minus_bit): changed criterion for ULL from
1964           HAVE_DD to HAVE_FAST_LONGLONG.
1965         * src/base/cl_macros.h (bitm): implemented ULL, if HAVE_FAST_LONGLONG.
1966         * src/base/cl_low.h: actually no need to include "cln/types.h" here.
1967         * src/base/cl_low.h (logcount_64): always ULL, independent of HAVE_DD.
1968         * src/base/random/cl_UL_random.cc (random32): a is always ULL.
1969
1970 2000-11-01  Richard Kreckel  <kreckel@ginac.de>
1971
1972         * include/cln/object.h (cl_combine): define additional signatures, if
1973           HAVE_LONGLONG is defined, in order to keep the compiler happy.
1974         * src/base/cl_macros.h: include "cln/types.h", since we need HAVE_DD...
1975         * src/base/cl_macros.h (bit): ...for this macro...
1976         * src/base/cl_macros.h (minus_bit): ...and this one.
1977         * src/base/cl_low.h: include "cln/types.h", since we need HAVE_DD...
1978         * src/base/cl_low.h (logcount_64): ...for this macro.
1979         * src/base/random/cl_UL_random.cc (random32): if HAVE_DD a is an ULL.
1980         * src/integer/gcd/cl_I_gcd_aux2.cc (floorDD): fixed algorithmic bug.
1981           that turned up when intDsize==32 and cl_word_size==64.
1982         * src/float/dfloat/elem/cl_DF_div.cc (operator/): fixed a missing cast
1983           to uint64 that turned up when intDsize==32 and cl_word_size==64.
1984
1985 2000-10-29  Richard Kreckel  <kreckel@ginac.de>
1986
1987         * src/real/input/cl_R_read.cc, src/complex/input/cl_N_read.cc:
1988           #undef stderr, if it's defined so cln::stderr isn't confused.
1989         * src/base/input/cl_read_globals.cc: stdin should not be extern.
1990
1991 2000-09-05  Richard Kreckel  <kreckel@ginac.de>
1992
1993         * include/cln/number.h (As): Fix it in namespace by suffixing `_As'
1994           to the appropiate method instead of prefixing `as_'.
1995         * src/complex/misc/cl_N_as.cc (cl_N_As): Likewise.
1996         * src/real/misc/cl_R_as.cc (cl_R_As): Likewise.
1997         * src/rational/misc/cl_RA_as.cc (cl_RA_As): Likewise.
1998         * src/integer/misc/cl_I_as.cc (cl_I_As): Likewise.
1999         * src/float/misc/cl_F_as.cc (cl_F_As): Likewise.
2000         * src/float/sfloat/misc/cl_SF_as.cc (cl_SF_As): Likewise.
2001         * src/float/lfloat/misc/cl_LF_as.cc (cl_LF_As): Likewise.
2002         * src/float/ffloat/misc/cl_FF_as.cc (cl_FF_As): Likewise.
2003         * src/float/dfloat/misc/cl_DF_as.cc (cl_DF_As): Likewise.
2004
2005 2000-09-05  Richard Kreckel  <kreckel@ginac.de>
2006
2007         * src/complex/transcendental/cl_C_expt_C.cc (expt): fix logic for
2008           the 0^y cases.
2009
2010 2000-08-30  Richard Kreckel  <kreckel@ginac.de>
2011
2012         * include/cln/number.h, cl_number::_as_cl_private_thing(): removed.
2013           Rearranged for a clearer distinction between macros and remaining
2014           identifiers, so Cint can parse it smoothly.
2015
2016 2000-08-29  Richard Kreckel  <kreckel@ginac.de>
2017
2018         * include/cln/number.h, the(const cl_number& x): New template
2019           function.
2020
2021 2000-08-29  Richard Kreckel  <kreckel@ginac.de>
2022
2023         * */*: Pushed CLN into a namespace `cln'.  While doing so, the
2024           following identifiers got their poor-man's namespace (i.e. the 
2025           prefix `cl_') stripped off:
2026           cl_catalanconst()        ->  catalanconst()
2027           cl_compare()             ->  compare()
2028           cl_cos_sin()             ->  cos_sin()
2029           cl_cos_sin_t             ->  cos_sin_t
2030           cl_cosh_sinh()           ->  cosh_sinh()
2031           cl_cosh_sinh_t           ->  cosh_sinh_t
2032           cl_decoded_dfloat        ->  decoded_dfloat
2033           cl_decoded_ffloat        ->  decoded_ffloat
2034           cl_decoded_float         ->  decoded_float
2035           cl_decoded_lfloat        ->  decoded_lfloat
2036           cl_decoded_sfloat        ->  decoded_sfloat
2037           cl_default_float_format  ->  default_float_format
2038           cl_default_print_flags   ->  default_print_flags
2039           cl_default_random_state  ->  default_random_state
2040           cl_double_approx()       ->  double_approx()
2041           cl_equal()               ->  equal()
2042           cl_equal_hashcode()      ->  equal_hashcode()
2043           cl_eulerconst()          ->  eulerconst()
2044           cl_find_modint_ring()    ->  find_modint_ring()
2045           cl_find_univpoly_ring()  ->  find_univ_poly_ring()
2046           cl_float_approx()        ->  float_approx
2047           cl_float_format()        ->  float_format()
2048           cl_float_format_t        ->  float_format_t
2049           cl_free_hook()           ->  free_hook()
2050           cl_hermite()             ->  hermite()
2051           cl_laguerre()            ->  laguerre()
2052           cl_legendre()            ->  legandre()
2053           cl_malloc_hook()         ->  malloc_hook()
2054           cl_pi()                  ->  pi()
2055           cl_tschebychev()         ->  tschebychev()
2056           cl_zeta()                ->  zeta()
2057           NB: For functions these changes includes all signatures.
2058         * include/*: moved to include/cln/*, stripped `cl_' off filenames.
2059         * cln-config.in: new file.
2060
2061 2000-08-26  Bruno Haible  <haible@clisp.cons.org>
2062
2063         * autoconf/acgeneral.m4 (AC_OUTPUT): Use braces in exec_prefix default
2064           value, not parens.
2065
2066 2000-08-18  Bruno Haible  <haible@clisp.cons.org>
2067
2068         * include/cl_univpoly_modint.h: Fix typo.
2069
2070 2000-07-13  Bruno Haible  <haible@clisp.cons.org>
2071
2072         * src/float/input/cl_F_read_stream.cc (number_char_p): Accept '_',
2073           used as precision marker for floats.
2074           Reported by Keith Briggs (in 1998) and Thomas Roessler.
2075         * src/integer/input/cl_I_read_stream.cc (number_char_p): Likewise.
2076         * src/rational/input/cl_RA_read_stream.cc (number_char_p): Likewise.
2077         * src/real/input/cl_R_read_stream.cc (number_char_p): Likewise.
2078         * src/complex/input/cl_N_read_stream.cc (number_char_p): Likewise.
2079
2080 2000-06-22  Bruno Haible  <haible@clisp.cons.org>
2081
2082         * include/cl_object.h: Rename cl_word_size to cl_pointer_size.
2083         * include/cl_types.h (HAVE_FAST_LONGLONG): Also define on Irix6
2084           with N32 ABI.
2085           (cl_word_size): New macro.
2086         * src/float/sfloat/cl_SF.h: Use cl_pointer_size instead of
2087           cl_word_size.
2088
2089 2000-05-31  Bruno Haible  <haible@clisp.cons.org>
2090
2091         * tests/exam_I_floor.cc (integer_floor_tests): Add one more entry.
2092           From a sample that fails with gcc-2.95.2 on Sparc.
2093         * tests/exam_I_gcd.cc (integer_gcd_tests): Likewise.
2094
2095 2000-05-30  Richard Kreckel  <kreckel@ginac.de>
2096
2097         * configure.in, autoconf/aclocal.m4 (CL_GMP_H_VERSION, CL_GMP_CHECK):
2098           New macros.
2099         * configure.in, include/cl_config.h.in (CL_VERSION, CL_VERSION_MINOR,
2100           CL_VERSION_PATCHLEVEL): New definitions.
2101         * autoconf/config.guess, autoconf/config.sub, autoconf/ltconfig,
2102           autoconf/ltmain.sh: updated from FSF (libtool 1.3.5, etc).
2103         * src/Makefile.in, configure.in: release-variables renamed from 
2104           CLN_* to CL_*.
2105         * configure.in: default to build both shared and static library
2106           (i.e. default to the most common behaviour).
2107
2108 2000-05-29  Richard Kreckel  <kreckel@ginac.de>
2109
2110         * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Added missing changequote
2111           environment around the patch of 2000-05-23.
2112
2113 2000-05-29  Bruno Haible  <haible@clisp.cons.org>
2114
2115         * autoconf/aclocal.m4 (CL_PROG_INSTALL): Fix typo.
2116           Reported by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>.
2117
2118 2000-05-27  Richard Kreckel  <kreckel@ginac.de>
2119
2120         * src/float/lfloat/algebraic/cl_LF_sqrt.cc,
2121           src/base/digitseq/cl_DS_sqrt.cc: Readjusted break-even points.
2122
2123 2000-05-24  Richard Kreckel  <kreckel@ginac.de>
2124
2125         * autoconf/config.*: Updated to new version from FSF
2126           (the new libtool wants this).
2127         * src/Makefile.in: added $(LDFLAGS) to link step.
2128         * src/base/digitseq/cl_2DS_div.cc, cl_2DS_recip.cc: Readjusted 
2129           break-even points.
2130
2131 2000-05-23  Bruno Haible  <haible@clisp.cons.org>
2132
2133         * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Determine host_cpu,
2134           host_vendor, host_os correctly if $host has more than two hyphens.
2135
2136 2000-05-19  Richard Kreckel  <kreckel@ginac.de>
2137
2138         * src/base/digitseq/cl_DS_mul.cc: Rearranged break-even points to
2139           better match present-day CPUs whenever GMP3 is used.
2140         * src/base/digitseq/cl_DS_div.cc: dto. 
2141         * src/TUNING: Added comment about order of tuning.
2142         * configure, configure.in: Safer GMP3-detection.
2143         * INSTALL.generic: Clarified behaviour of --with-gmp.
2144         * autoconf/config.guess: updated from Clisp-2000-03-06 sources.
2145
2146 2000-05-04  Richard Kreckel  <kreckel@ginac.de>
2147
2148         * gmp/: removed completely.  From now on we are going to link
2149           externally against libgmp3.0 or above!
2150         * configure, configure.in, Makefile.in, */Makeflags: removed support
2151           of internal gmp 2.0.2, like $GMP_INCLUDES, which should be done by
2152           setting $CPPFLAGS instead.
2153         * Makefile.in: Added libtool inter-library dependency for -lgmp and
2154           conforming interface versioning (-version-info).
2155         * autoconf/ltconfig, autoconf/ltmain.sh: Updated to newer versions
2156           from libtool 1.3.4.
2157
2158 2000-02-22  Bruno Haible  <haible@clisp.cons.org>
2159
2160         * src/base/digitseq/cl_asm_mips_.cc: Starting at argument 5 the
2161           parameter passing was changed for the MIPS n32 ABI.
2162
2163 2000-01-24  Richard Kreckel  <kreckel@ginac.de>
2164
2165         * gmp/*: Replaced the complete mpn sources with the ones from
2166           Debian since they are maintained while the ones from FSF
2167           aren't and there were problems on some architectures, PowerPC
2168           in particular.  See the file gmp/README.CLN.  This way the
2169           hard links in this directory have vanished, they were causing
2170           trouble for people working in AFS.  This became necessary for
2171           Debian, because there it woudn't compile on PPC.
2172
2173 2000-01-13  Richard Kreckel  <kreckel@ginac.de>
2174
2175         * Version 1.0.3 released.
2176
2177 2000-01-13  Richard Kreckel  <kreckel@ginac.de>
2178
2179         * src/base/cl_macros.h (nonreturning_function): For egcs and newer
2180           use __attribute__ ((__noreturn__)) instead of the __volatile__
2181           storage class.
2182           (nonreturning): Remove macro.
2183         * include/*: Minor fixes to stop -ansi -pedantic from complaining.
2184         * include/cl_integer.h: (doublefactorial): New declaration.
2185         * src/integer/misc/combin/cl_I_doublefactorial.cc: New file.
2186
2187 1999-12-18  Bruno Haible  <haible@clisp.cons.org>
2188
2189         * autoconf/acgeneral.m4 (AC_ARG_PROGRAM): Create conftestsed using
2190           "cat", not "echo".
2191         * autoconf/ltconfig: Improve support for recent FreeBSD 3.
2192         * include/cl_GV.h (cl_GV_vectorops): Change return type from 'T' to
2193           'const T', to match definition in src/vector/cl_GV_number.cc.
2194           Reported by Duncan Simpson <dps@io.stargate.co.uk>.
2195         * gmp/mpn/Makefile.in (.S.lo): Use 'if', not '&&', because '&&' may
2196           yield return code 1.
2197
2198 1999-09-07  Bruno Haible  <haible@clisp.cons.org>
2199
2200         * Version 1.0.2 released.
2201
2202 1999-09-06  Bruno Haible  <haible@clisp.cons.org>
2203
2204         * src/rational/cl_RA.h (integerp, ratiop): Instead of returning a
2205           boolean expression, write alternatives ending with either
2206           "return cl_true;" or "return cl_false;". This way, g++ does a
2207           better job inlining it.
2208         * src/float/cl_F.h (longfloatp): Likewise.
2209         * src/real/cl_R.h (rationalp, integerp, floatp): Likewise.
2210         * src/complex/cl_C.h (realp, complexp): Likewise.
2211
2212 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
2213
2214         * include/cl_integer.h (cl_equal_hashcode): New declaration.
2215         * include/cl_rational.h (cl_equal_hashcode): New declaration.
2216         * include/cl_sfloat.h (cl_equal_hashcode): New declaration.
2217         * include/cl_ffloat.h (cl_equal_hashcode): New declaration.
2218         * include/cl_dfloat.h (cl_equal_hashcode): New declaration.
2219         * include/cl_lfloat.h (cl_equal_hashcode): New declaration.
2220         * include/cl_float.h (cl_equal_hashcode): New declaration.
2221         * include/cl_real.h (cl_equal_hashcode): New declaration.
2222         * include/cl_complex.h (cl_equal_hashcode): New declaration.
2223         * src/base/cl_N.h (equal_hashcode_low, equal_hashcode_one): New macros.
2224         * src/integer/misc/cl_I_eqhashcode.cc: New file.
2225         * src/rational/misc/cl_RA_eqhashcode.cc: New file.
2226         * src/float/sfloat/misc/cl_SF_eqhashcode.cc: New file.
2227         * src/float/ffloat/misc/cl_FF_eqhashcode.cc: New file.
2228         * src/float/dfloat/misc/cl_DF_eqhashcode.cc: New file.
2229         * src/float/lfloat/misc/cl_LF_eqhashcode.cc: New file.
2230         * src/float/misc/cl_F_eqhashcode.cc: New file.
2231         * src/real/misc/cl_R_eqhashcode.cc: New file.
2232         * src/complex/misc/cl_C_eqhashcode.cc: New file.
2233         * doc/cln.tex: Document `cl_equal_hashcode'.
2234
2235 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
2236
2237         * include/cl_ring.h (cl_number_ring_ops): Add `contains' member.
2238           (cl_number_ring): New class.
2239           (cl_specialized_number_ring<T>): Inherit from cl_number_ring.
2240           (instanceof): New function.
2241         * src/integer/ring/cl_I_ring.cc (cl_I_p): New function.
2242         * src/integer/misc/cl_I_as.cc (cl_I_p): Add comment.
2243         * src/rational/ring/cl_RA_ring.cc (cl_RA_p): New function.
2244         * src/rational/misc/cl_RA_as.cc (cl_RA_p): Add comment.
2245         * src/real/ring/cl_R_ring.cc (cl_R_p): New function.
2246         * src/real/misc/cl_R_as.cc (cl_R_p): Add comment.
2247         * src/complex/ring/cl_C_ring.cc (cl_N_p): New function.
2248         * src/complex/misc/cl_N_as.cc (cl_N_p): Add comment.
2249         * doc/cln.tex: Document `instanceof'.
2250
2251 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
2252
2253         * include/cl_rational.h (numerator, denominator): New declarations.
2254         * src/rational/elem/cl_RA_numerator.cc: New file.
2255         * src/rational/elem/cl_RA_denominator.cc: New file.
2256         * include/cl_integer.h (numerator, denominator): New inline functions.
2257         * doc/cln.tex: Document `numerator' and `denominator'.
2258
2259 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
2260
2261         * src/rational/algebraic/cl_RA_rootp.cc (rootp): Fix endless loop
2262           in the integer case.
2263         * src/rational/algebraic/cl_RA_rootp_I.cc (rootp): Likewise.
2264
2265 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
2266
2267         * include/cl_config.h.in: Support for sparc64 CPU.
2268         * include/cl_modules.h: Likewise.
2269         * include/cl_types.h: Likewise.
2270         * include/cl_object.h: Likewise.
2271         * include/cl_GV.h: Likewise.
2272         * src/Makefile.in: Likewise.
2273         * src/base/cl_alloca.h: Likewise.
2274         * src/base/cl_macros.h: Likewise.
2275         * src/base/cl_sysdep.h: Likewise.
2276         * src/base/cl_low.h: Likewise.
2277         * src/base/digitseq/cl_asm.h: Likewise.
2278         * src/base/digitseq/cl_asm_.cc: Likewise.
2279         * src/base/digitseq/cl_asm_sparc64.h: New file.
2280         * src/base/digitseq/cl_asm_sparc64_.cc: New file.
2281         * src/modinteger/cl_MI_int.h: Support for sparc64 CPU.
2282         * src/polynomial/elem/cl_UP_no_ring.cc: Likewise.
2283         * src/polynomial/elem/cl_UP_GF2.h: Likewise.
2284         * src/polynomial/elem/cl_asm_GF2.cc: Likewise.
2285
2286 1999-09-04  Bruno Haible  <haible@clisp.cons.org>
2287
2288         * src/base/digitseq/cl_asm_sparc_.cc (orc2_loop_up, orc2_loop_down):
2289           Use the `orn' instruction.
2290
2291 1999-08-14  Bruno Haible  <haible@clisp.cons.org>
2292
2293         Assume all platforms have <stdlib.h> and clock_t.
2294         * configure.in: Don't call CL_STDLIB_H and CL_CLOCK_T.
2295         * src/base/cl_base_config.h.in (CLOCK_T): Remove definition.
2296         * src/base/random/cl_random_from.cc: Use clock_t instead of CLOCK_T.
2297         * src/timing/cl_t_config.h.in (CLOCK_T): Remove definition.
2298         * src/timing/cl_t_current2.cc: Use clock_t instead of CLOCK_T.
2299
2300 1999-07-18  Bruno Haible  <haible@clisp.cons.org>
2301
2302         * gmp/config.guess: Link to autoconf/config.guess.
2303           gmp/config.sub: Link to autoconf/config.sub.
2304           Needed for Win32 platforms.
2305
2306 1999-07-17  Bruno Haible  <haible@clisp.cons.org>
2307
2308         * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Distinguish "sparc" and
2309           "sparc64" according to the C compiler, not the uname result.
2310
2311 1999-06-17  Bruno Haible  <haible@clisp.cons.org>
2312
2313         * src/base/digitseq/cl_asm_sparc_.cc (compare_loop_up): Fix
2314           COUNTER_LOOPS version, fortunately not used yet.
2315
2316         * include/cl_modules.h: Prepare for gcc version 3.
2317
2318 1999-06-12  Bruno Haible  <haible@clisp.cons.org>
2319
2320         * src/rational/elem/cl_RA_plus.cc, src/rational/elem/cl_RA_minus.cc:
2321           Change the last call from I_I_to_RT to I_I_to_RA.
2322
2323 1999-06-09  Bruno Haible  <haible@clisp.cons.org>
2324
2325         * Version 1.0.1 released.
2326
2327 1999-06-09  Bruno Haible  <haible@clisp.cons.org>
2328
2329         * src/integer/cl_I.h (pFN_maxlength_digits_at): Define also when
2330           intDsize==64.
2331
2332 1999-06-08  Bruno Haible  <haible@clisp.cons.org>
2333
2334         * autoconf/intparam.c (printf_underscored): Change argument type to
2335           `const char*'.
2336         * include/cl_modules.h (CL_OUTPUT_LABEL, CL_JUMP_TO): New macros.
2337           (CL_PROVIDE, CL_PROVIDE_END): Use them.
2338         * include/cl_string.h (cl_heap_string::operator new): Return 1, not 0.
2339         * include/cl_GV.h (cl_GV_inner<T>::operator new): Likewise.
2340         * src/base/ring/cl_no_ring.cc (dummy_canonhom, dummy_expt_pos): Don't
2341           cast a cl_I to void here. Works around a bug in g++-2.95.
2342         * src/complex/misc/cl_C_class.cc: Include "cl_C.h".
2343         * src/polynomial/elem/cl_UP_no_ring.cc (dummy_canonhom,
2344            dummy_expt_pos): Don't cast a cl_I to void here. Works around a bug
2345           in g++-2.95.
2346         * src/polynomial/elem/cl_asm_sparc_GF2.cc (DECLARE_FUNCTION): New
2347           macro.
2348         * src/rational/misc/cl_RA_class.cc: Include "cl_RA.h".
2349         * src/vector/cl_GV_I.cc (cl_heap_GV_I_general::operator new,
2350            DEFINE_cl_heap_GV_I_bits): Return 1, not 0.
2351         * src/vector/cl_GV_number.cc (cl_heap_GV_number_general::operator new):
2352           Likewise.
2353
2354 1999-06-01  Bruno Haible  <haible@clisp.cons.org>
2355
2356         * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Canonicalize alpha
2357           variants to alpha.
2358
2359 1999-05-29  Bruno Haible  <haible@clisp.cons.org>
2360
2361         * src/base/digitseq/cl_asm_i386_.cc (DECLARE_FUNCTION): Treat
2362           OpenBSD like NetBSD.
2363         * src/base/digitseq/cl_asm_sparc_.cc (DECLARE_FUNCTION): Likewise.
2364         * src/base/digitseq/cl_asm_m68k_.cc (DECLARE_FUNCTION): Treat
2365           OpenBSD like NetBSD, and Linux/ELF like SVR4.
2366
2367 1999-05-16  Bruno Haible  <haible@clisp.cons.org>
2368
2369         * src/base/cl_low.h (integerlength32) [__rs6000__]: Use old assembler
2370           syntax on AIX systems and new assembler syntax on non-AIX systems.
2371
2372 1999-05-01  Bruno Haible  <haible@clisp.cons.org>
2373
2374         * autoconf/config.guess, autoconf/config.sub: Upgrade to newest
2375           version from GNU CVS.
2376
2377 1999-04-24  Bruno Haible  <haible@clisp.cons.org>
2378
2379         * src/integer/bitwise/cl_I_logand.cc (logand): Optimize the case when
2380           either operand is a positive fixnum, O(1) instead of O(N).
2381         * src/integer/bitwise/cl_I_lognand.cc (lognand): Likewise.
2382         * src/integer/bitwise/cl_I_logandc2.cc (logandc2): Likewise for the
2383           first operand.
2384
2385 1999-04-14  Bruno Haible  <haible@clisp.cons.org>
2386
2387         * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add check whether
2388           ctor/dtor needs to be exported.
2389         * include/cl_config.h.in (CL_NEED_GLOBALIZE_CTORDTOR): New macro.
2390         * include/cl_modules.h (CL_GLOBALIZE_JUMP_LABEL): Renamed from
2391           CL_GLOBALIZE_LABEL.
2392           (CL_GLOBALIZE_LABEL): New macro.
2393           (CL_GLOBALIZE_CTORDTOR_LABEL): Renamed from CL_GLOBALIZE_ASM_LABEL.
2394           (CL_PROVIDE): Update.
2395
2396 1999-04-12  Bruno Haible  <haible@clisp.cons.org>
2397
2398         * src/Makefile.in ($(ASMFILES_S)): On HPPA, ignore preprocessing
2399           errors ("unterminated string or character constant").
2400           ($(ASMFILES_LO)): On HPPA, try with various settings of
2401           COMPILER_PATH, in order to try /usr/ccs/bin/as and /bin/as.
2402
2403 1999-04-11  Bruno Haible  <haible@clisp.cons.org>
2404
2405         * INSTALL: Mention gmp problems on MIPS.
2406         * doc/cln.tex: Likewise.
2407
2408 1999-03-24  Mumit Khan  <khan@xraylith.wisc.edu>
2409
2410         * src/Makefile.in (SUBDIRS): Filter out CVS and RCS directories from
2411           the source tree.
2412         * include/cl_modules.h (CL_GLOBALIZE_LABEL): Define for Win32.
2413           (CL_GLOBALIZE_ASM_LABEL): New macro.
2414           (CL_PROVIDE): Use it.
2415         * src/base/random/cl_random_from.cc: Handle WIN32.
2416         * src/timing/cl_t_current.cc: Likewise.
2417
2418 1999-03-15  Bruno Haible  <haible@clisp.cons.org>
2419
2420         * autoconf/intparam.c (main7): Use %lX instead of %X for a `long'.
2421           (main8): Adapt for C++.
2422
2423 1999-03-09  Bruno Haible  <haible@clisp.cons.org>
2424
2425         * INSTALL: Mention egcs-1.1 problems on Sparc.
2426         * doc/cln.tex: Likewise.
2427
2428 1999-03-08  Bruno Haible  <haible@clisp.cons.org>
2429
2430         * autoconf/aclocal.m4 (CL_FPU_CONTROL): Fix the "checking for"
2431           messages.
2432
2433 1999-02-25  Bruno Haible  <haible@clisp.cons.org>
2434
2435         * autoconf/aclocal.m4: In test programs, declare `int main()', not
2436           `main()'.
2437
2438         * lidia-interface/src/interfaces/integers/cln/bigint.c
2439           (bigint_to_string): Fix for negative arguments.
2440
2441         * src/base/cl_low.h: Check for `__sparc__', not `SPARC'.
2442         * src/base/cl_alloca.h: Likewise.
2443
2444         * src/base/cl_low.h: Eliminate CLISP style "# " comments.
2445         * src/base/digitseq/cl_asm_arm_.cc,
2446           src/base/digitseq/cl_asm_mips_.cc,
2447           src/float/dfloat/elem/cl_DF_mul.cc: Likewise.
2448
2449         * src/modinteger/cl_MI_pow2.h,
2450           src/modinteger/cl_MI_pow2m1.h,
2451           src/modinteger/cl_MI_pow2p1.h: Workaround g++-2.7.2 inlining bug.
2452
2453 1999-01-18  Bruno Haible  <haible@clisp.cons.org>
2454
2455         * autoconf/acgeneral.m4,
2456           autoconf/acspecific.m4: Upgrade to autoconf-2.13.
2457         * autoconf/config.guess, autoconf/config.sub: Likewise.
2458         * autoconf/aclocal.m4 (CL_ALLOCA): Test for _MSC_VER and alloca being
2459           a macro. Use ${ac_objext}.
2460         * src/base/cl_macros.h (alloca): Put _MSC_VER test before the others,
2461           conforming with CL_ALLOCA.
2462
2463 1999-01-12  Bruno Haible  <haible@clisp.cons.org>
2464
2465         * Version 1.0 released.
2466