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