]> www.ginac.de Git - cln.git/blob - ChangeLog
d732ef1d22085cabd9d6db1b05ebf8233392b2ea
[cln.git] / ChangeLog
1 2006-05-20  Bruno Haible  <bruno@clisp.org>
2
3         * src/base/random/cl_random_from.cc: Treat FreeBSD, NetBSD like other
4         Unix platforms.
5
6 2006-05-07  Richard B. Kreckel  <kreckel@ginac.de>
7
8         * include/cln/modules.h (CL_JUMP_TO): Fix for Intel Mac.
9
10 2006-04-25  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11
12         Prepare for autoconf-2.60.
13         * Makefile.in (datarootdir): New variable.
14         * src/Makefile.in (datarootdir): New variable.
15         * doc/Makefile.in (datarootdir): New variable.
16
17 2006-04-25  Bruno Haible  <bruno@clisp.org>
18             Richard B. Kreckel  <kreckel@ginac.de>
19
20         Make it theoretically possible to use bignums and long-floats with
21         more than 2^32 significant digits or bits.
22         * doc/cln.tex (logcount): Change return type to uintC.
23         (struct cl_byte): Change elements to uintC.
24         (integer_length, ord2, power2p): Change return type to uintC.
25         (scale_float): Change argument type to sintC.
26         (float_digits, float_precision): Change return type to uintC.
27         * examples/atan_recip.cc: Use uintC instead of uintL where appropriate.
28         * examples/atanh_recip.cc: Likewise.
29         * include/cln/GV.h: Likewise.
30         * include/cln/GV_complex.h: Likewise.
31         * include/cln/GV_integer.h: Likewise.
32         * include/cln/GV_modinteger.h: Likewise.
33         * include/cln/GV_number.h: Likewise.
34         * include/cln/GV_rational.h: Likewise.
35         * include/cln/GV_real.h: Likewise.
36         * include/cln/SV.h: Likewise.
37         * include/cln/SV_complex.h: Likewise.
38         * include/cln/SV_integer.h: Likewise.
39         * include/cln/SV_number.h: Likewise.
40         * include/cln/SV_rational.h: Likewise.
41         * include/cln/SV_real.h: Likewise.
42         * include/cln/SV_ringelt.h: Likewise.
43         * include/cln/dfloat.h: Likewise.
44         * include/cln/ffloat.h: Likewise.
45         * include/cln/float.h: Likewise.
46         * include/cln/integer.h: Likewise.
47         * include/cln/lfloat.h: Likewise.
48         * include/cln/modinteger.h: Likewise.
49         * include/cln/sfloat.h: Likewise.
50         * src/base/cl_low.h (integerlengthC): New macro.
51         * src/base/digitseq/cl_2DS_div.cc: Use uintC instead of uintL where
52         appropriate.
53         * src/base/digitseq/cl_2DS_recip.cc: Likewise.
54         * src/base/digitseq/cl_DS.h: Likewise.
55         * src/base/digitseq/cl_DS_mul.c: Likewise.
56         * src/base/digitseq/cl_DS_mul_fftc.h: Likewise.
57         * src/base/digitseq/cl_DS_mul_fftcs.h: Likewise.
58         * src/base/digitseq/cl_DS_mul_fftm.h: Likewise.
59         * src/base/digitseq/cl_DS_mul_fftp.h: Likewise.
60         * src/base/digitseq/cl_DS_mul_fftp3.h: Likewise.
61         * src/base/digitseq/cl_DS_mul_fftp3m.h: Likewise.
62         * src/base/digitseq/cl_DS_mul_fftr.h: Likewise.
63         * src/base/digitseq/cl_DS_mul_kara.h: Likewise.
64         * src/base/digitseq/cl_DS_mul_nuss.h: Likewise.
65         * src/base/digitseq/cl_DS_recip.cc: Likewise.
66         * src/base/digitseq/cl_DS_recipsqrt.cc: Likewise.
67         * src/base/digitseq/cl_DS_sqrt.cc: Likewise.
68         * src/base/digitseq/cl_DS_trandom.cc: Likewise.
69         * src/complex/input/cl_N_read.cc: Likewise.
70         * src/complex/transcendental/cl_C_asinh_aux.cc: Likewise.
71         * src/complex/transcendental/cl_C_expt_C.cc: Likewise.
72         * src/float/cl_F.h: Likewise.
73         * src/float/conv/cl_F_from_F_f.cc: Likewise.
74         * src/float/conv/cl_F_from_I_f.cc: Likewise.
75         * src/float/conv/cl_F_from_RA_f.cc: Likewise.
76         * src/float/dfloat/conv/cl_I_to_double.cc: Likewise.
77         * src/float/dfloat/conv/cl_RA_to_double.cc: Likewise.
78         * src/float/dfloat/elem/cl_DF_from_I.cc: Likewise.
79         * src/float/dfloat/elem/cl_DF_from_RA.cc: Likewise.
80         * src/float/dfloat/elem/cl_DF_scale.cc: Likewise.
81         * src/float/dfloat/misc/cl_DF_digits.cc: Likewise.
82         * src/float/dfloat/misc/cl_DF_precision.cc: Likewise.
83         * src/float/elem/cl_F_scale.cc: Likewise.
84         * src/float/ffloat/conv/cl_I_to_float.cc: Likewise.
85         * src/float/ffloat/conv/cl_RA_to_float.cc: Likewise.
86         * src/float/ffloat/elem/cl_FF_from_I.cc: Likewise.
87         * src/float/ffloat/elem/cl_FF_from_RA.cc: Likewise.
88         * src/float/ffloat/elem/cl_FF_scale.cc: Likewise.
89         * src/float/ffloat/misc/cl_FF_digits.cc: Likewise.
90         * src/float/ffloat/misc/cl_FF_precision.cc: Likewise.
91         * src/float/input/cl_F_read.cc: Likewise.
92         * src/float/lfloat/algebraic/cl_LF_sqrt.cc: Likewise.
93         * src/float/lfloat/elem/cl_LF_1plus.cc: Likewise.
94         * src/float/lfloat/elem/cl_LF_I_div.cc: Likewise.
95         * src/float/lfloat/elem/cl_LF_I_mul.cc: Likewise.
96         * src/float/lfloat/elem/cl_LF_div.cc: Likewise.
97         * src/float/lfloat/elem/cl_LF_from_I.cc: Likewise.
98         * src/float/lfloat/elem/cl_LF_from_RA.cc: Likewise.
99         * src/float/lfloat/elem/cl_LF_fround.cc: Likewise.
100         * src/float/lfloat/elem/cl_LF_ftrunc.cc: Likewise.
101         * src/float/lfloat/elem/cl_LF_futrunc.cc: Likewise.
102         * src/float/lfloat/elem/cl_LF_scale.cc: Likewise.
103         * src/float/lfloat/elem/cl_LF_to_I.cc: Likewise.
104         * src/float/lfloat/misc/cl_LF_digits.cc: Likewise.
105         * src/float/lfloat/misc/cl_LF_idecode.cc: Likewise.
106         * src/float/lfloat/misc/cl_LF_leninc.cc: Likewise.
107         * src/float/lfloat/misc/cl_LF_lenincx.cc: Likewise.
108         * src/float/lfloat/misc/cl_LF_precision.cc: Likewise.
109         * src/float/lfloat/misc/cl_LF_shortenrel.cc: Likewise.
110         * src/float/lfloat/misc/cl_LF_shortenwith.cc: Likewise.
111         * src/float/misc/cl_F_digits.cc: Likewise.
112         * src/float/misc/cl_F_epsneg.cc: Likewise.
113         * src/float/misc/cl_F_epspos.cc: Likewise.
114         * src/float/misc/cl_F_leastneg.cc: Likewise.
115         * src/float/misc/cl_F_leastpos.cc: Likewise.
116         * src/float/misc/cl_F_mostneg.cc: Likewise.
117         * src/float/misc/cl_F_mostpos.cc: Likewise.
118         * src/float/misc/cl_F_precision.cc: Likewise.
119         * src/float/misc/cl_F_rational.cc: Likewise.
120         * src/float/misc/cl_F_shortenrel.cc: Likewise.
121         * src/float/output/cl_F_dprint.cc: Likewise.
122         * src/float/random/cl_F_random.cc: Likewise.
123         * src/float/sfloat/elem/cl_SF_from_I.cc: Likewise.
124         * src/float/sfloat/elem/cl_SF_from_RA.cc: Likewise.
125         * src/float/sfloat/elem/cl_SF_scale.cc: Likewise.
126         * src/float/sfloat/misc/cl_SF_digits.cc: Likewise.
127         * src/float/sfloat/misc/cl_SF_precision.cc: Likewise.
128         * src/float/transcendental/cl_F_atanhx.cc: Likewise.
129         * src/float/transcendental/cl_F_atanx.cc: Likewise.
130         * src/float/transcendental/cl_F_catalanconst_f.cc: Likewise.
131         * src/float/transcendental/cl_F_cos.cc: Likewise.
132         * src/float/transcendental/cl_F_cosh.cc: Likewise.
133         * src/float/transcendental/cl_F_coshsinh.cc: Likewise.
134         * src/float/transcendental/cl_F_cossin.cc: Likewise.
135         * src/float/transcendental/cl_F_eulerconst_f.cc: Likewise.
136         * src/float/transcendental/cl_F_exp1_f.cc: Likewise.
137         * src/float/transcendental/cl_F_expx.cc: Likewise.
138         * src/float/transcendental/cl_F_ln10_f.cc: Likewise.
139         * src/float/transcendental/cl_F_ln2_f.cc: Likewise.
140         * src/float/transcendental/cl_F_lnx.cc: Likewise.
141         * src/float/transcendental/cl_F_pi_f.cc: Likewise.
142         * src/float/transcendental/cl_F_sin.cc: Likewise.
143         * src/float/transcendental/cl_F_sinh.cc: Likewise.
144         * src/float/transcendental/cl_F_sinhx.cc: Likewise.
145         * src/float/transcendental/cl_F_sinx.cc: Likewise.
146         * src/float/transcendental/cl_F_tran.h: Likewise.
147         * src/float/transcendental/cl_F_zeta_int_f.cc: Likewise.
148         * src/float/transcendental/cl_LF_atan_recip.cc: Likewise.
149         * src/float/transcendental/cl_LF_atanh_recip.cc: Likewise.
150         * src/float/transcendental/cl_LF_catalanconst.cc: Likewise.
151         * src/float/transcendental/cl_LF_coshsinh_aux.cc: Likewise.
152         * src/float/transcendental/cl_LF_cossin_aux.cc: Likewise.
153         * src/float/transcendental/cl_LF_eulerconst.cc: Likewise.
154         * src/float/transcendental/cl_LF_exp1.cc: Likewise.
155         * src/float/transcendental/cl_LF_exp_aux.cc: Likewise.
156         * src/float/transcendental/cl_LF_pi.cc: Likewise.
157         * src/float/transcendental/cl_LF_ratseries.cc: Likewise.
158         * src/float/transcendental/cl_LF_ratseries_.cc: Likewise.
159         * src/float/transcendental/cl_LF_ratseries_a.cc: Likewise.
160         * src/float/transcendental/cl_LF_ratseries_ab.cc: Likewise.
161         * src/float/transcendental/cl_LF_ratseries_b.cc: Likewise.
162         * src/float/transcendental/cl_LF_ratseries_p.cc: Likewise.
163         * src/float/transcendental/cl_LF_ratseries_pa.cc: Likewise.
164         * src/float/transcendental/cl_LF_ratseries_pab.cc: Likewise.
165         * src/float/transcendental/cl_LF_ratseries_pb.cc: Likewise.
166         * src/float/transcendental/cl_LF_ratseries_pq.cc: Likewise.
167         * src/float/transcendental/cl_LF_ratseries_pqa.cc: Likewise.
168         * src/float/transcendental/cl_LF_ratseries_pqab.cc: Likewise.
169         * src/float/transcendental/cl_LF_ratseries_pqb.cc: Likewise.
170         * src/float/transcendental/cl_LF_ratseries_q.cc: Likewise.
171         * src/float/transcendental/cl_LF_ratseries_qa.cc: Likewise.
172         * src/float/transcendental/cl_LF_ratseries_qab.cc: Likewise.
173         * src/float/transcendental/cl_LF_ratseries_qb.cc: Likewise.
174         * src/float/transcendental/cl_LF_ratseries_stream_pq.cc: Likewise.
175         * src/float/transcendental/cl_LF_ratseries_stream_pqa.cc: Likewise.
176         * src/float/transcendental/cl_LF_ratseries_stream_pqab.cc: Likewise.
177         * src/float/transcendental/cl_LF_ratseries_stream_pqb.cc: Likewise.
178         * src/float/transcendental/cl_LF_ratsumseries_pqcd.cc: Likewise.
179         * src/float/transcendental/cl_LF_ratsumseries_pqcd_aux.cc: Likewise.
180         * src/float/transcendental/cl_LF_ratsumseries_pqd.cc: Likewise.
181         * src/float/transcendental/cl_LF_ratsumseries_pqd_aux.cc: Likewise.
182         * src/float/transcendental/cl_LF_tran.h: Likewise.
183         * src/float/transcendental/cl_LF_zeta3.cc: Likewise.
184         * src/float/transcendental/cl_LF_zeta_int.cc: Likewise.
185         * src/integer/algebraic/cl_I_rootp_I.cc: Likewise.
186         * src/integer/algebraic/cl_I_rootp_aux.cc: Likewise.
187         * src/integer/bitwise/cl_I_ash.cc: Likewise.
188         * src/integer/bitwise/cl_I_ash_I.cc: Likewise.
189         * src/integer/bitwise/cl_I_byte.h: Likewise.
190         * src/integer/bitwise/cl_I_fullbyte.cc: Likewise.
191         * src/integer/bitwise/cl_I_ilength.cc: Likewise.
192         * src/integer/bitwise/cl_I_ldb.cc: Likewise.
193         * src/integer/bitwise/cl_I_ldbtest.cc: Likewise.
194         * src/integer/bitwise/cl_I_ldbx.cc: Likewise.
195         * src/integer/bitwise/cl_I_ldbxtest.cc: Likewise.
196         * src/integer/bitwise/cl_I_logbitp.cc: Likewise.
197         * src/integer/bitwise/cl_I_logbitp_I.cc: Likewise.
198         * src/integer/bitwise/cl_I_logcount.cc: Likewise.
199         * src/integer/bitwise/cl_I_mkf.cc: Likewise.
200         * src/integer/bitwise/cl_I_mkfx.cc: Likewise.
201         * src/integer/cl_I.h: Likewise.
202         * src/integer/conv/cl_I_to_digits.cc: Likewise.
203         * src/integer/conv/cl_I_digits_need.cc: Likewise.
204         * src/integer/conv/cl_I_from_digits.cc: Likewise.
205         * src/integer/gcd/cl_I_gcd.cc: Likewise.
206         * src/integer/gcd/cl_I_xgcd.cc: Likewise.
207         * src/integer/misc/cl_I_eqhashcode.cc: Likewise.
208         * src/integer/misc/cl_I_ord2.cc: Likewise.
209         * src/integer/misc/cl_I_power2p.cc: Likewise.
210         * src/integer/output/cl_I_cached_power.h (cached_power_table): allow
211         for 40 elements.
212         * src/integer/output/cl_I_decstring.cc: Use uintC instead of uintL
213         where appropriate.
214         * src/integer/output/cl_I_print.cc: Likewise.
215         * src/integer/output/cl_I_print_string.cc: Likewise.
216         * src/modinteger/cl_MI.cc: Likewise.
217         * src/modinteger/cl_MI_lshift.cc: Likewise.
218         * src/modinteger/cl_MI_montgom.h: Likewise.
219         * src/modinteger/cl_MI_pow2.h: Likewise.
220         * src/modinteger/cl_MI_pow2m1.h: Likewise.
221         * src/modinteger/cl_MI_pow2p1.h: Likewise.
222         * src/modinteger/cl_MI_rshift.cc: Likewise.
223         * src/modinteger/cl_MI_std.h: Likewise.
224         * src/numtheory/cl_IF_millerrabin.cc: Likewise.
225         * src/numtheory/cl_nt_isprobprime.cc: Likewise.
226         * src/numtheory/cl_nt_sqrtmodp.cc: Likewise.
227         * src/polynomial/elem/cl_UP_GF2.h: Likewise.
228         * src/real/conv/cl_F_from_R_f.cc: Likewise.
229         * src/real/format-output/cl_fmt_floatstring.cc: Likewise.
230         * src/real/input/cl_R_read.cc: Likewise.
231         * src/vector/cl_GV_I.cc: Likewise.
232         * src/vector/cl_GV_I_copy.cc: Likewise.
233         * src/vector/cl_GV_number.cc: Likewise.
234         * src/vector/cl_GV_number_copy.cc: Likewise.
235         * src/vector/cl_SV_copy.cc: Likewise.
236         * src/vector/cl_SV_number.cc: Likewise.
237         * src/vector/cl_SV_ringelt.cc: Likewise.
238         * tests/main.cc: Likewise.
239         * tests/test_I_ilength.cc: Likewise.
240         * tests/test_I_ord2.cc: Likewise.
241
242 2006-04-19  Bruno Haible  <bruno@clisp.org>
243
244         Prepare for autoconf-2.60.
245         * general.m4 (CL_CC_WORKS): Include <stdlib.h>, for exit() declaration.
246         * longdouble.m4 (CL_LONGDOUBLE): Likewise.
247         * longlong.m4 (CL_LONGLONG): Likewise.
248         * times.m4 (CL_TIMES_CLOCK): Likewise.
249         Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
250
251 2005-12-04  Bruno Haible  <bruno@clisp.org>
252
253         * src/integer/conv/cl_I_to_digits.cc (I_to_digits_noshrink): Set
254         erg->len at the end.
255
256 2005-12-04  Bruno Haible  <bruno@clisp.org>
257
258         Extend the fixnum range from 32 bits to 61 bits on 64-bit platforms.
259         * doc/cln.tex (gcd, jacobi): Take 'long' instead of 'int32' arguments.
260         * include/cln/object.h (cl_value_shift): Define as 3, not 32, in the
261         64-bit case.
262         * include/cln/types.h (intVsize): New macro.
263         (sintV, uintV): New types.
264         * include/cln/integer.h (gcd): Take uintV arguments.
265         * include/cln/numtheory.h (jacobi): Take sintV arguments.
266         * src/complex/input/cl_N_read.cc (read_complex): Call FN_to_UV instead
267         of FN_to_UL.
268         * src/complex/transcendental/cl_C_expt_C.cc: Likewise.
269         * src/float/dfloat/elem/cl_DF_scale_I.cc: Use uintV instead of uintL
270         * src/float/dfloat/elem/cl_DF_from_RA.cc: Don't assume values >= 2^53
271         and < 2^55 are always bignums.
272         where appropriate.
273         * src/float/ffloat/conv/cl_RA_to_float.cc: Call FN_to_UV instead of
274         FN_to_UL.
275         * src/float/ffloat/elem/cl_FF_from_RA.cc: Likewise.
276         * src/float/ffloat/elem/cl_FF_scale_I.cc: Call FN_to_V instead of
277         FN_to_L.
278         * src/float/lfloat/elem/cl_LF_scale_I.cc: Likewise.
279         * src/float/output/cl_F_dprint.cc: Likewise.
280         * src/float/sfloat/elem/cl_SF_from_RA.cc: Call FN_to_UV instead of
281         FN_to_UL.
282         * src/float/sfloat/elem/cl_SF_scale_I.cc: Call FN_to_V instead of
283         FN_to_L.
284         * src/integer/cl_I.h (FN_to_UV): Renamed from FN_to_UL, change return
285         type.
286         (FN_to_V): Renamed from FN_to_L, change return type.
287         (FN_V_zerop): Renamed from FN_L_zerop.
288         (FN_V_minusp): Renamed from FN_L_minusp.
289         (cl_I_constructor_from_L2, cl_I_constructor_from_UL2): Define as an
290         inline function on 64-bit platforms.
291         (V_to_I, UV_to_I): New macros.
292         (pFN_maxlength_digits_at): Return an uintV instead of an uint32.
293         (set_pFN_maxlength_digits_at): Take an uintV instead of an uint32.
294         * src/integer/algebraic/cl_I_sqrtp.cc: Call FN_to_UV instead of
295         FN_to_UL.
296         * src/integer/bitwise/cl_I_ash_I.cc: Call FN_to_V instead of FN_to_L.
297         * src/integer/bitwise/cl_I_ilength.cc: Likewise.
298         * src/integer/bitwise/cl_I_log_aux.cc: Likewise.
299         * src/integer/bitwise/cl_I_logbitp_I.cc: Likewise.
300         * src/integer/bitwise/cl_I_logcount.cc: Likewise.
301         * src/integer/bitwise/cl_I_logtest.cc: Likewise.
302         * src/integer/conv/cl_I_from_L2.cc: Don't produce code on 64-bit
303         platforms.
304         * src/integer/conv/cl_I_from_UL2.cc: Likewise.
305         * src/integer/conv/cl_I_from_NDS.cc: Update.
306         * src/integer/conv/cl_I_from_Q.cc: Remove cast to sint32.
307         * src/integer/conv/cl_I_from_UQ.cc: Remove cast to uint32.
308         * src/integer/conv/cl_I_to_L.cc: Check again fixnum that needs more
309         than 32 bits.
310         * src/integer/conv/cl_I_to_Q.cc: Call FN_to_V instead of FN_to_L.
311         * src/integer/conv/cl_I_to_UL.cc: Likewise.
312         * src/integer/conv/cl_I_to_UQ.cc: Likewise.
313         * src/integer/elem/cl_I_div.cc: Treat fixnums that need more than 32
314         bits like bignums.
315         * src/integer/elem/cl_I_minus.cc: Call FN_to_V instead of FN_to_L.
316         * src/integer/elem/cl_I_mul.cc: Likewise.
317         * src/integer/elem/cl_I_plus.cc: Likewise.
318         * src/integer/elem/cl_I_square.cc: Likewise.
319         * src/integer/elem/cl_I_uminus.cc: Likewise.
320         * src/integer/gcd/cl_I_gcd.cc: Likewise.
321         * src/integer/gcd/cl_low_gcd.cc (gcd): Take uintV arguments.
322         * src/integer/hash/cl_I_hashcode.cc: Call FN_to_V instead of FN_to_L.
323         * src/integer/input/cl_I_read.cc (read_integer): Call FN_to_UV instead
324         of FN_to_UL.
325         * src/integer/misc/cl_I_ord2.cc (ord2): Call ord2_64 on 64-bit
326         platforms.
327         * src/integer/misc/cl_I_power2p.cc: Call FN_to_UV instead of FN_to_UL.
328         * src/integer/misc/combin/cl_I_doublefactorial.cc (doublefakul_table):
329         Extend table for larger fixnums.
330         (doublefactorial): Update.
331         * src/integer/misc/combin/cl_I_factorial.cc (fakul_table): Extend table
332         for larger fixnums.
333         (factorial): Update.
334         * src/modinteger/cl_MI_fix16.h: Call FN_to_UV instead of FN_to_UL.
335         * src/modinteger/cl_MI_fix29.h: Likewise.
336         * src/modinteger/cl_MI_fix32.h: Likewise.
337         * src/modinteger/cl_MI_std.h: Likewise.
338         * src/numtheory/cl_nt_cornacchia4.cc: Call FN_to_V instead of FN_to_L.
339         * src/numtheory/cl_nt_jacobi.cc: Likewise.
340         * src/numtheory/cl_nt_jacobi_low.cc (jacobi_aux): Take uintV arguments
341         instead of uint32 arguments.
342         (jacobi): Take sintV argument instead of a sint32 argument.
343         * src/rational/input/cl_RA_read.cc: Call FN_to_UV instead of FN_to_UL.
344         * src/real/input/cl_R_read.cc: Likewise.
345         * src/vector/cl_GV_I.cc: Likewise.
346         * tests/timefact.cc: Call FN_to_V instead of FN_to_L.
347
348 2005-12-04  Bruno Haible  <bruno@clisp.org>
349
350         More complete 64-bit division macros.
351         * src/base/cl_low.h (divu_6432_3232_w): Choose a different macro
352         expansion on x86_64.
353         (divu_6432_6432): New macro.
354         (divu_6464_6464): Choose a different macro expansion for all CPUs
355         except sparc64 and x86_64.
356         (divu_12864_6464): Define NEED_VAR_divu_64_rest here.
357         * src/base/low/cl_low_div.cc (divu_64_rest): Avoid defining it twice.
358         (divu_6464_6464_): New function.
359
360 2005-12-04  Bruno Haible  <bruno@clisp.org>
361
362         * src/base/cl_low.h (ord2_64): New macro.
363
364 2005-12-02  Bruno Haible  <bruno@clisp.org>
365
366         * src/base/cl_low.h (mulu64) [x86_64]: Change asm restriction, since
367         mulq doesn't accept immediate arguments.
368
369 2005-11-26  Bruno Haible  <bruno@clisp.org>
370
371         * src/base/cl_low.h (GENERIC_INTEGERLENGTH32): New macro.
372         (integerlength64): Define using integerlength32 if integerlength32
373         is not defined generically.
374
375 2005-11-26  Bruno Haible  <bruno@clisp.org>
376
377         * src/base/cl_low.h (mulu32) [SPARC64]: Remove rd instruction, since
378         umul returns the complete 64-bit product in a register.
379         (mulu32_w) [SPARC64]: Prefer umul over mulx instruction.
380         (divu_6432_3232_w) [SPARC64]: Prefer umul/udiv over mulx/udivx
381         instructions.
382
383 2005-11-26  Bruno Haible  <bruno@clisp.org>
384
385         * src/base/cl_low.h (divu_3216_1616): Prepend underscore to local
386         variables.
387
388 2005-11-26  Bruno Haible  <bruno@clisp.org>
389
390         * src/base/cl_low.h (ord2_32): Parenthesize macro argument.
391
392 2005-12-17  Richard B. Kreckel  <kreckel@ginac.de>
393
394         * Created branch cln_1-1 for maintenance patches.
395         This is the main branch, which will eventually become CLN 1.2.0.
396
397 2005-12-15  Dmitry V. Kustov  <kustov@telex221.ru>
398
399         * src/base/random/cl_random_from.cc: Add support for OpenBSD.
400
401 2005-11-23  Richard B. Kreckel  <kreckel@ginac.de>
402
403         * Version 1.1.11 released.
404
405 2005-11-20  Richard B. Kreckel  <kreckel@ginac.de>
406
407         * src/integer/conv/cl_I_cached_power.h: New file.
408         * src/integer/conv/cl_I_cached_power.cc: New file.
409         Contains power_table and cached_power_table previously...
410         * src/integer/conv/cl_I_to_digits.cc: ...here.
411         * src/integer/conv/cl_I_from_digits.cc: Use cached powers.
412
413 2005-11-02  Richard B. Kreckel  <kreckel@ginac.de>
414
415         * src/integer/conv/cl_I_from_digits.cc: Made input of all numbers in
416         non-power-of-two base much faster.
417         * tests/test_I_io.cc: New file...
418         * tests/Makefile.in, tests/test_I.cc: ...used here.
419
420 2005-10-22  Richard B. Kreckel  <kreckel@ginac.de>
421
422         * Version 1.1.10 released.
423
424 2005-10-22  Richard B. Kreckel  <kreckel@ginac.de>
425
426         * src/Makefile.in: Accept CPPFLAGS from environment.
427         * examples/Makefile.in: Likewise.
428         * benchmarks/Makefile.in: Likewise.
429         * tests/Makefile.in: Likewise.
430
431 2005-08-30  Richard B. Kreckel  <kreckel@ginac.de>
432
433         * include/cln/modules.h (CL_OUTPUT_LABEL): Work around redundant
434         duplication of basic blocks on m68k.
435
436 2005-08-30  Richard B. Kreckel  <kreckel@ginac.de>
437
438         * include/cln/modules.h (CL_JUMP_TO): Fix mips* brokenness.
439
440 2005-08-27  Bruno Haible  <bruno@clisp.org>
441
442         Split aclocal.m4 into individual files.
443         * m4/alloca.m4, m4/as-underscore.m4, m4/c++-constructors.m4:
444         * m4/fpu_control.m4, m4/general.m4, m4/gettimeofday.m4:
445         * m4/longdouble.m4, m4/longlong.m4, m4/param.m4, m4/perror.m4:
446         * m4/proto.m4, m4/rusage.m4, m4/times.m4:
447         New files, extracted from autoconf/aclocal.m4.
448         * autoconf/aclocal.m4: m4_include them.
449         * Makefile.devel (AUTOCONF_MACROS): New variable.
450         (configure): Depend on it.
451         (CLISP_M4DIR): Remove variable.
452         (autoconf/aclocal.m4): Remove rule.
453
454 2005-08-27  Bruno Haible  <bruno@clisp.org>
455
456         * src/integer/bitwise/cl_I_ash_I.cc (ash): Avoid shifting a 32-bit
457         zero value by more than 31 bits.
458
459 2005-08-27  Bruno Haible  <bruno@clisp.org>
460
461         Make the long-float overflow check work on 64-bit platforms.
462         * src/float/lfloat/cl_LF.h (LF_exp_mid, LF_exp_high): Define as
463         'unsigned int', not 'unsigned long'.
464
465 2005-08-27  Bruno Haible  <bruno@clisp.org>
466
467         * include/cln/modules.h (CL_OUTPUT_LABEL): Work around redundant
468         duplication of basic blocks by g++ 4.0.
469         See <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23345>.
470
471 2005-08-27  Bruno Haible  <bruno@clisp.org>
472
473         Make it possible to cross-compile CLN.
474         * m4/intparam.m4: New file.
475         * m4/floatparam.m4: New file.
476         * autoconf/aclocal.m4: Include both.
477         (CL_MACHINE): Add an additional CROSS_MACRO parameter.
478         * configure.ac (CL_MACHINE): When cross-compiling, use
479         CL_INTPARAM_CROSS and CL_FLOATPARAM_CROSS.
480
481 2005-08-27  Bruno Haible  <bruno@clisp.org>
482
483         Define HAVE_LONGLONG and HAVE_LONGDOUBLE when cross-compiling.
484         * autoconf/aclocal.m4 (CL_LONGLONG, CL_LONGDOUBLE): When cross-
485         compiling, use the test code from gnulib.
486
487 2005-08-27  Bruno Haible  <bruno@clisp.org>
488
489         * autoconf/aclocal.m4 (CL_RUSAGE): Fix error when cross-compiling.
490
491 2005-08-16  Richard B. Kreckel  <kreckel@ginac.de>
492
493         The patch of 2005-05-01 made it impossible to test the type of a cl_UP
494         by comparing with &cl_class_univpoly_ring. We need an alternative:
495         * include/cln/object.h (cl_class_flags_modint_ring): New #define...
496         * src/polynomial/elem/cl_UP.cc (cl_class_univpoly_ring): ...used here.
497         * src/polynomial/elem/cl_UP_GF2.h: Likewise.
498         * src/polynomial/elem/cl_UP_MI.h: Likewise.
499         * src/polynomial/elem/cl_UP_gen.h: Likewise.
500         * src/polynomial/elem/cl_UP_number.h: Likewise.
501
502 2005-08-15  Richard B. Kreckel  <kreckel@ginac.de>
503
504         * m4/cc.m4 (CL_AS_NOEXECSTACK): New macro...
505         * configure.ac: ...used here for setting ASMFLAGS...
506         * src/Makefile.in: ...which are used here.
507
508 2005-08-02  Andreas Jochens  <aj@andaco.de>
509
510         * include/cln/config.h.in: Add support for PowerPC 64 CPU.
511         * include/cln/modules.h: Likewise.
512         * include/cln/object.h: Likewise.
513         * include/cln/types.h: Likewise.
514
515 2005-07-24  Richard B. Kreckel  <kreckel@ginac.de>
516
517         Make out of the box build on x86_64 system with complete 32 bit
518         userland possible
519         * include/cln/config.h.in: Don't #define __x86_64__ when
520         __i386__ is defined.
521         * src/base/digitseq/cl_asm_x86_64_.cc: New file.
522         * doc/cln.tex: Revert workaround description introduced 2005-05-02.
523
524 2005-06-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
525
526         * Makefile.in: Don't enter nonexisting directories.
527
528 2005-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
529
530         Speed up the linking step
531         * src/Makefile.in: Use -objectlist for linking libcln.la.
532
533 2005-05-15  Richard B. Kreckel  <kreckel@ginac.de>
534
535         * autoconf/ltmain.sh: Upgrade to libtool-1.5.16.
536         * m4/libtool.m4: Upgrade to libtool-1.5.16 (without Comeau patch).
537
538 2005-05-02  Richard B. Kreckel  <kreckel@ginac.de>
539
540         * doc/cln.tex: Document what to do on a x86_64 machine with 32-bit
541         userland.
542
543 2005-05-01  Richard B. Kreckel  <kreckel@ginac.de>
544
545         Fix crashes in find_univpoly_ring and related functions
546         * include/cln/modinteger.h: Remove vptr from cl_heap_modint_ring;
547         remove declaration of cl_class cl_class_modint_ring.
548         * include/cln/univpoly.h: Remove vptr from cl_heap_univpoly_ring;
549         remove declaration of cl_class_univpoly_ring.
550         * include/cln/object.h: cl_class_flags_modint_ring: New #define...
551         * src/modinteger/cl_MI.cc: ...used in cl_class_modint_ring.
552         * src/modinteger/cl_MI_fix16.h: No vptr, but static dtor and type flag.
553         * src/modinteger/cl_MI_fix29.h: Likewise.
554         * src/modinteger/cl_MI_fix32.h: Likewise.
555         * src/modinteger/cl_MI_int32.h: Likewise.
556         * src/modinteger/cl_MI_montgom.h: Likewise.
557         * src/modinteger/cl_MI_pow2: Likewise.
558         * src/modinteger/cl_MI_pow2m1.h: Likewise.
559         * src/modinteger/cl_MI_pow2p1.h: Likewise.
560         * src/modinteger/cl_MI_std.h: Likewise.
561         * src/polynomial/elem/cl_UP.cc (cl_make_univpoly_ring): Compare with
562         cl_class_flags_modint_ring, not with cl_class_modint_ring.
563         * src/polynomial/elem/cl_UP_GF2.h (cl_class_num_univpoly_ring): New.
564         * src/polynomial/elem/cl_UP_MI.h (cl_class_modint_univpoly_ring): New.
565         * src/polynomial/elem/cl_UP_gen.h (cl_class_gen_univpoly_ring): New.
566         * src/polynomial/elem/cl_UP_number.h (cl_class_num_univpoly_ring): New.
567         Reported by Ralf Goertz <R_Goertz@web.de>.
568
569 2005-04-29  Richard B. Kreckel  <kreckel@ginac.de>
570             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
571
572         * m4/cc.m4: Emit a warning if g++ is used and optimization turned off.
573
574 2005-04-24  Richard B. Kreckel  <kreckel@ginac.de>
575
576         Make GCC compiler flags default to -O
577         * m4/cc.m4: New file...
578         * configure.ac: ...used here.
579         * autoconf/aclocal.m4: Regenerate.
580
581 2005-04-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
582
583         * include/cln/string.h: Declare cl_string.
584
585 2005-03-17  Richard B. Kreckel  <kreckel@ginac.de>
586
587         * autoconf/ltmain.sh: Upgrade to libtool-1.5.14.
588         * m4/libtool.m4: Upgrade to libtool-1.5.14 with Comeau patch.
589         * autoconf/aclocal.m4: Regenerate.
590
591 2005-03-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
592
593         * src/Makefile.in: Use $CXX instead of $CC when linking.
594
595 2005-02-27  Richard B. Kreckel  <kreckel@ginac.de>
596         
597         * examples/perfnum.cc: update to presumed 42st Mersenne prime.
598
599 2004-11-28  Richard B. Kreckel  <kreckel@ginac.de>
600
601         Disambiguate binary operators of CLN types with float/double
602         * include/cln/dfloat.h: Add binary operator overloads for arguments of
603         type double.
604         * include/cln/ffloat.h: Likewise, for arguments of type float.
605         * include/cln/float.h: Likewise, both for arguments of types double and
606         float.
607         * include/cln/real.h: Likewise.
608         Reported by Isidro Cachadiña Gutiérrez <icacha@unex.es>.
609
610 2004-11-03  Richard B. Kreckel  <kreckel@ginac.de>
611
612         * Version 1.1.9 released.
613
614 2004-10-28  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
615
616         * src/Makefile.in: Let config.status set LDFLAGS.
617
618 2004-10-27  Peter Breitenlohner  <peb@mppmu.mpg.de>
619
620         * cln.pc.in: Fix typo.
621         * Makefile.in (INSTALL_SCRIPT): Added, to be used for scripts like
622         cln-config.  Allows us to do special things to binaries, like
623         installing them with install -s.
624         * doc/Makefile.in: add/remove the cln.info from the installed
625         $(infodir)/dir unless this is debian install-info (code copied from
626         what GNU automake would produce).
627
628 2004-10-26  Richard B. Kreckel  <kreckel@ginac.de>
629
630         * src/integer/input/cl_I_read_stream.cc (read_integer): Fix a bug
631         that caused radix specifiers to not work when reading from a stream.
632         * src/rational/input/cl_RA_read_stream.cc (read_rational): Likewise.
633         * src/real/input/cl_R_read_stream.cc (read_real): Likewise.
634         * src/float/input/cl_F_read_stream.cc (read_float): Likewise.
635         * src/complex/input/cl_N_read_stream.cc (read_complex): Likewise.
636
637 2004-10-25  Richard B. Kreckel  <kreckel@ginac.de>
638
639         * src/base/cl_low.h: Add mulu64 assembler macro for ia64.
640
641 2004-10-24  Richard B. Kreckel  <kreckel@ginac.de>
642
643         * src/base/cl_low.h: Add mul and div macros for x86_64.
644
645 2004-10-23  Richard B. Kreckel  <kreckel@ginac.de>
646
647         * src/integer/conv/cl_I_from_digits.cc (digits_to_I): Fix thinko in
648         new code for base power of two.
649
650 2004-10-22  Richard B. Kreckel  <kreckel@ginac.de>
651
652         * src/integer/conv/cl_I_to_digits (I_to_digits): Fix an elusive stack
653         overwriting problem. That was the real cause for Debian bug#246319.
654         * src/integer/output/cl_I_print.cc (print_integer): Revert workaround
655         for the bug fixed above.
656
657 2004-10-20  Richard B. Kreckel  <kreckel@ginac.de>
658
659         * include/cln/types.h: Use 64 bit digits on x86_64 CPU.
660
661 2004-10-12  Richard B. Kreckel  <kreckel@ginac.de>
662
663         * src/integer/conv/cl_I_from_digits.cc (digits_to_I): Speedup when
664         the base is a power of two.
665
666 2004-10-05  Richard B. Kreckel  <kreckel@ginac.de>
667
668         * src/integer/conv/cl_I_to_digits.cc (I_to_digits): Fix bug in base 32.
669
670 2004-09-27  Richard B. Kreckel  <kreckel@ginac.de>
671
672         Support for little-endian Mips, second shot
673         * src/base/digitseq/cl_asm_mipsel_.cc: New file...
674         * src/base/digitseq/cl_asm_cc: ...used here.
675         * src/base/digitseq/cl_asm.h: Include cl_asm_mips.h for any endianness.
676         * include/cln/object.h: Set alignment for mipsel explicitly.
677
678 2004-09-05  Richard B. Kreckel  <kreckel@ginac.de>
679
680         Support for little-endian Mips
681         * include/cln/config.h.in: Add __mipsel__.
682         * include/cln/modules.h: For Mips, this is endianness-agnostic.
683         * src/base/digitseq/cl_asm_.cc, src/base/digitseq/cl_asm.h:
684         Mask out assembler for little-endian Mips.
685
686 2004-08-30  Bruno Haible  <bruno@clisp.org>
687
688         * benchmarks/timebench2.sh: Multiply all repeat counts by 100.
689         * benchmarks/timebench2.results: Add recent PowerPC G4 results.
690
691 2004-08-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
692
693         * examples/e.cc: remove extra semicolon.
694
695 2004-08-25  Bruno Haible  <bruno@clisp.org>
696
697         * autoconf/ltmain.sh: Upgrade to libtool-1.5.6.
698         * m4/libtool.m4: New file, from libtool-1.5.6 with modifications:
699         2004-08-22  Bruno Haible  <bruno@clisp.org>
700           * m4/libtool.m4: Add support for Comeau C++ on Linux.
701           Reported by Prof. Roberto Bagnara <bagnara@cs.unipr.it>.
702         * autoconf/aclocal.m4: Regenerate.
703
704 2004-08-19  Bruno Haible  <bruno@clisp.org>
705
706         * include/cln/modules.h (CL_GLOBALIZE_JUMP_LABEL, CL_JUMP_TO): When
707         converting a label to a string, use ASM_UNDERSCORE_PREFIX. Needed on
708         MacOS X.
709         Reported by Darren Bane <darren.bane@ul.ie>.
710
711 2004-07-01  Richard B. Kreckel  <kreckel@ginac.de>
712
713         * Version 1.1.8 released.
714
715 2004-06-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
716
717         * src/base/cl_macros.h: alloca(3) has size_t argument type.
718
719 2004-06-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
720
721         * include/cln/floatformat.h: Do define a type here.
722
723 2004-06-27  Richard B. Kreckel  <kreckel@ginac.de>
724
725         * include/cln/modules.h (CL_JUMP_TO): Fix AMD64 brokenness.
726
727 2004-06-23  Bruno Haible  <bruno@clisp.org>
728
729         * configure.ac: Pretend ftime() is not available. Needed by
730         CL_TIMES_CLOCK.
731
732 2004-06-21  Ralf Stephan  <ralf@ark.in-berlin.de>
733
734         * doc/cln.tex: Document jacobi, isprobprime and nextprobprime.
735
736 2004-06-18  Richard B. Kreckel  <kreckel@ginac.de>
737
738         * rational/transcendental/cl_RA_logp.cc: fix bug where base is
739         reciprocal of an integer.
740         Reported by Niklas Knutsson <nq@altern.org>.
741
742 2004-06-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
743
744         * src/complex/ring/cl_C_ring.cc, src/integer/ring/cl_I_ring.cc,
745         src/rational/ring/cl_RA_ring.cc, src/real/ring/cl_R_ring.cc:
746         Make template specializations explicit.
747
748 2004-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
749
750         * src/complex/input/cl_N_read.cc, src/float/input/cl_F_read.cc,
751         src/integer/input/cl_I_read.cc, src/rational/input/cl_RA_read.cc,
752         src/real/input/cl_R_read.cc:  Remove unused labels.
753
754 2004-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
755
756         * benchmarks/timebench1.cc, benchmarks/timebench2a.LiDIA.cc,
757         benchmarks/timebench2a.cc, benchmarks/timebench2ap.cc,
758         benchmarks/timebench2b.LiDIA.cc, benchmarks/timebench2b.cc,
759         examples/atan_recip.cc, examples/atanh_recip.cc,
760         examples/contfrac.cc, examples/e.cc, examples/legendre.cc,
761         examples/lucaslehmer.cc, examples/pi.cc, include/cln/GV.h,
762         include/cln/SV.h, include/cln/malloc.h, include/cln/modules.h,
763         include/cln/object.h, include/cln/string.h, src/base/cl_abort.cc,
764         src/base/cl_alloca.h, src/base/cl_malloc.cc,
765         src/base/random/cl_random_from.cc,
766         src/base/string/cl_spushstring_append.cc,
767         src/base/string/cl_spushstring_push.cc,
768         src/base/string/cl_st_debug.cc,
769         src/base/string/input/cl_st_gettoken.cc,
770         src/complex/input/cl_N_read.cc, src/float/input/cl_F_read.cc,
771         src/float/output/cl_F_dprint.cc, src/integer/input/cl_I_read.cc,
772         src/rational/input/cl_RA_read.cc,
773         src/real/format-output/cl_fmt_integer.cc,
774         src/real/format-output/cl_fmt_paddedstring.cc,
775         src/real/input/cl_R_read.cc, src/timing/cl_t_current.cc,
776         src/timing/cl_t_current2.cc, tests/exam.cc, tests/tests.cc,
777         tests/timeLFRAmul.cc, tests/timeLFatan-compare.cc,
778         tests/timeLFatan.cc, tests/timeLFatanh-compare.cc,
779         tests/timeLFatanh.cc, tests/timeLFcos-compare.cc, tests/timeLFcos.cc,
780         tests/timeLFcosh.cc, tests/timeLFexp-compare.cc, tests/timeLFexp.cc,
781         tests/timeLFln-compare.cc, tests/timeLFln.cc,
782         tests/timeLFsin-compare.cc, tests/timeLFsin.cc, tests/timeLFsinh.cc,
783         tests/timeLFsqrt.cc, tests/timeMImisc5.cc, tests/timeMIpow2div.cc,
784         tests/timeMIpow2recip.cc, tests/timeRALFdiv.cc, tests/timeRAtoLF.cc,
785         tests/timeUPMImul.cc, tests/timecatalan.cc, tests/timediv.cc,
786         tests/timediv2adic-compare.cc, tests/timediv2adic.cc,
787         tests/timeeuler.cc, tests/timeexp1.cc, tests/timefact.cc,
788         tests/timegcd.cc, tests/timemul-compare.cc, tests/timemul.cc,
789         tests/timepi.cc, tests/timeprint-compare.cc, tests/timeprint.cc,
790         tests/timerecip2adic-compare.cc, tests/timerecip2adic.cc,
791         tests/timesqrt.cc, tests/timesqrtmodp.cc, tests/timesquare.cc,
792         tests/timezeta3.cc: Change all C include headers to ISO style
793         within C++ code.
794
795 2004-06-10  Richard B. Kreckel  <kreckel@ginac.de>
796
797         * examples/perfnum.cc: update to presumed 41st Mersenne prime.
798
799 2004-05-02  Richard B. Kreckel  <kreckel@ginac.de>
800
801         * Version 1.1.7 released.
802
803 2004-05-02  Richard B. Kreckel  <kreckel@ginac.de>
804
805         * examples/pi.cc and examples/pi.1: New files.
806         * examples/Makefile.in: Build the pi executable.
807
808 2004-05-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
809
810         * src/Makefile.in: Fix for parallel build: wait for subdir objects to
811         be finished before creating the library.
812
813 2004-04-30  Richard B. Kreckel  <kreckel@ginac.de>
814
815         * src/integer/output/cl_I_print.cc (print_integer): workaround
816         GCC compiler bug (cf. Debian bug#246319).
817
818 2004-03-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
819
820         * m4/gmp.m4 (CL_GMP_CHECK): Do not lose LIBS setting with config.cache
821         enabled.
822
823 2004-03-08  Bruno Haible  <bruno@clisp.org>
824
825         * src/float/lfloat/elem/cl_LF_mul.cc (operator*): Fix the second
826         underflow condition.
827         * src/float/lfloat/algebraic/cl_LF_sqrt.cc (sqrt): Fix a bug with large
828         uexp whereby SQRT of MOST-POSITIVE-LONG-FLOAT was less than 1.
829
830 2004-03-04  Richard B. Kreckel  <kreckel@ginac.de>
831
832         * Makefile.in (install): Add ${srcdir} for cln.m4.
833         * m4/gmp.m4: quote macro names.
834         Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
835
836 2004-01-01  Richard B. Kreckel  <kreckel@ginac.de>
837
838         * Version 1.1.6 released.
839
840 2004-01-01  Richard B. Kreckel  <kreckel@ginac.de>
841
842         * include/cln/univpoly.h, include/cln/univpoly_complex.h,
843           include/cln//univpoly_integer.h, include/cln/univpoly_modint.h,
844           include/cln/univpoly_rational.h, include/cln/univpoly_real.h,
845           src/polynomial/elem/cl_UP_GF2.h, src/polynomial/elem/cl_UP_MI.h,
846           src/polynomial/elem/cl_UP_gen.h, src/polynomial/elem/cl_UP_no_ring.cc,
847           src/polynomial/elem/cl_UP_number.h (ldegree): New function.
848         * doc/cln.tex: Document `ldegree'.
849
850 2003-12-29  Richard B. Kreckel  <kreckel@ginac.de>
851
852         Rework of autoconfiscation infrastructure
853         * autoconf/config.{guess,sub}: Update to GNU version 2003-10-07.
854         * autoconf/ltmain.sh: Update to GNU version 1.4.3.
855         * autoconf/autoconf: Remove (from now on we assume autoconf is
856           installed properly on the sytem).
857         * autoconf/autoconf.m4: Likewise.
858         * autoconf/autoconf.m4f: Likewise.
859         * autoconf/acgeneral.m4: Likewise.
860         * autoconf/acspecific.m4: Likewise.
861         * autoconf/aclocal.m4: Regenerate.
862         * autoconf/acinclude.m4: Remove (while moving the macros...)
863         * m4/gmp.m4: New file (...to here).
864         * Makefile.devel: Update to new scheme.
865         * configure.ac: Likewise.
866         * include/cln/GV_integer.h: Assume template specializations work.
867         * include/cln/GV_modinteger.h: Likewise.
868         * include/cln/config.h.in: Likewise, and drop HAVE_BOOL.
869         * src/base/cl_base_config.h.in: Drop support for obsolete ftime(3).
870         * src/base/random/cl_random_from.cc: Likewise.
871         * src/timing/cl_base_config.h.in: Likewise.
872         * src/timing/cl_t_current.cc: Likewise.
873
874 2003-12-27  Richard B. Kreckel  <kreckel@ginac.de>
875
876         * src/polynomial/cl_UP_gen.h (gen_minus): Fix case where first
877           argument is zero.
878         * src/polynomial/cl_UP_MI.h (modint_minus): Likewise.
879         * src/polynomial/cl_UP_number.h (num_minus): Likewise.
880         Reported by Munagala Ramanath <amberarrow@yahoo.com>.
881
882 2003-12-02  Richard B. Kreckel  <kreckel@ginac.de>
883
884         * examples/perfnum.cc: update to presumed 40th Mersenne prime.
885
886 2003-11-20  Christian Bauer  <cbauer@ginac.de>
887
888         Added pkg-config support
889         * cln.pc.in: New file.
890         * Makefile.in: Take care of cln.pc.
891         * configure.ac: Likewise.
892
893 2003-08-06  Richard B. Kreckel  <kreckel@ginac.de>
894
895         * src/numtheory/cl_nt_sqrtmodp.cc: #undef _R.
896         Reported by Andrew Rechnitzer <A.Rechnitzer@ms.unimelb.edu.au>.
897
898 2003-08-01  Richard Kreckel  <kreckel@ginac.de>
899
900         More dependent base resolution issues
901         * src/base/hash/cl_hash.h (cl_heap_hashtable<T>::iterator()): 
902         portable syntactic simplification.
903         * src/base/hash/cl_hashset.h: Preceed inherited members with this->.
904         * src/base/hash/cl_hash1.h: Likewise for member functions.
905         * src/base/hash/cl_hash2.h: Likewise.
906         * src/base/hash/cl_hashuniq.h: Likewise.
907         * src/base/hash/cl_hashuniqweak.h: Likewise.
908         * src/base/hash/cl_hash.h: Revert explicit static member function
909         lookup since that was GCC's fault.
910         * src/base/hash/cl_hash2weak.h: Likewise.
911         * src/base/hash/cl_hashuniqweak.h: Likewise.
912
913 2003-06-29  Richard Kreckel  <kreckel@ginac.de>
914
915         Dependent base resolution needed for GCC-3.4
916         * include/cln/GV.h: Preceed inherited members with this->.
917         * include/cln/SV.h: Likewise.
918         * include/cln/object.h: Likewise.
919         * src/base/hash/cl_hash1.h: Likewise.
920         * src/base/hash/cl_hash1weak.h: Likewise.
921         * src/base/hash/cl_hash2.h: Likewise.
922         * src/base/hash/cl_hashuniq.h: Likewise.
923         * src/base/hash/cl_hash.h: Make lookup of static member function 
924         explicit.
925         * src/base/hash/cl_hash2weak.h: Likewise.
926         * src/base/hash/cl_hashuniqweak.h: Likewise.
927         * src/modinteger/cl_MI.cc: Make shell-comment a C-comment. Geez.
928
929 2003-02-24  Bruno Haible  <bruno@clisp.org>
930
931         * src/base/random/cl_random_from.cc (random_state::random_state): Add
932         support for MacOS X.
933         * src/modinteger/cl_MI.cc: #undef _R.
934         Reported by Erann Gat <gat@jpl.nasa.gov>.
935
936 2002-08-03  Joerg Arndt  <jj@suse.de>
937
938         * include/cln/config.h.in: Add support for x86_64 CPU.
939         * include/cln/modules.h: Likewise.
940         * include/cln/types.h: Likewise.
941         * include/cln/object.h: Likewise.
942
943 2002-06-08  Richard Kreckel  <kreckel@ginac.de>
944
945         * src/base/digitseq/cl_asm.h: ensure intCsize==16 when including
946         m68k Assembler routines.
947         * src/base/digitseq/cl_asm_.cc: Likewise.
948
949 2002-05-28  Richard Kreckel  <kreckel@ginac.de>
950
951         * Version 1.1.5 released.
952
953 2002-05-27  Richard Kreckel  <kreckel@ginac.de>
954
955         * include/cln/modules.h (CL_CONCATENATE): New macro.
956
957 2002-05-10  Richard Kreckel  <kreckel@ginac.de>
958
959         * doc/cln.tex (Building the library): Update recommendations for 
960         compiling on Tru64 using g++ 3.0 and 3.1.
961         * README: Update homepage.
962
963 2002-05-05  Bruno Haible  <bruno@clisp.org>
964
965         * doc/cln.tex (Building the library): Give some recommendations for
966         g++ 3.0 and 3.1.
967
968         Force link-time references despite optimizations done by g++ 2.95
969         and newer.
970         * include/cln/modules.h (CL_FORCE_LINK): New macro.
971         * Use CL_FORCE_LINK.
972         * include/cln/GV_integer.h (cl_GV_I_debug_dummy): Likewise.
973         * include/cln/GV_number.h (cl_GV_number_debug_dummy): Likewise.
974         * include/cln/SV_number.h (cl_SV_number_debug_dummy): Likewise.
975         * include/cln/SV_ringelt.h (cl_SV_ringelt_debug_dummy): Likewise.
976         * include/cln/dfloat.h (cl_DF_debug_dummy): Likewise.
977         * include/cln/ffloat.h (cl_FF_classes_dummy, cl_FF_debug_dummy):
978         Likewise.
979         * include/cln/integer.h (cl_I_classes_dummy, cl_I_debug_dummy):
980         Likewise.
981         * include/cln/lfloat.h (cl_LF_debug_dummy): Likewise.
982         * include/cln/modinteger.h (cl_MI_debug_dummy): Likewise.
983         * include/cln/rational.h (cl_RA_debug_dummy): Likewise.
984         * include/cln/real.h (cl_R_debug_dummy): Likewise.
985         * include/cln/ring.h (cl_ring_debug_dummy): Likewise.
986         * include/cln/sfloat.h (cl_SF_classes_dummy, cl_SF_classes_dummy):
987         Likewise.
988         * include/cln/string.h (cl_string_debug_dummy): Likewise.
989         * include/cln/univpoly.h (cl_UP_debug_dummy): Likewise.
990         * src/float/base/cl_ieee.h (cl_ieee_dummy_NNN): Likewise.
991
992         Avoid g++ 3.1 warnings.
993         * src/base/cl_offsetof.h (offsetof): Redefine each time.
994         * src/base/digitseq/cl_DS.h: Include "cl_offsetof.h" after <gmp.h>.
995
996         Avoid g++ 3.1 warnings.
997         * src/base/hash/cl_hash.h (struct cl_heap_hashtable): Use typename
998         where needed.
999         * src/base/hash/cl_hash1.h (struct cl_heap_hashtable_1): typedef
1000         htxentry as a shortcut.
1001         * src/base/hash/cl_hash2.h (struct cl_heap_hashtable_2): Likewise.
1002         * src/base/hash/cl_hashset.h (struct cl_heap_hashtable_set): Likewise.
1003         * src/base/hash/cl_hashuniq.h (struct cl_heap_hashtable_uniq):
1004         Likewise.
1005
1006 2002-03-15  Bruno Haible  <bruno@clisp.org>
1007
1008         * cln.tex: Document problem with GNU make 3.77.
1009         Reported by Michael Somos <somos@grail.cba.csuohio.edu>.
1010
1011 2002-02-16  Richard Kreckel  <kreckel@ginac.de>
1012
1013         * cln.m4: quote macro name.
1014           Pointed out by Roberto Bagnara.
1015
1016 2002-01-20  Richard Kreckel  <kreckel@ginac.de>
1017
1018         * autoconf/config.{guess,sub}: Update to GNU version 2002-01-02.
1019           (the old one was broken on Linux/Mips.)
1020
1021 2002-01-04  Richard Kreckel  <kreckel@ginac.de>
1022
1023         * autoconf/autoconf.m4f: get brutal in order to adhere to FHS.
1024         * Version 1.1.4 released.
1025
1026 2002-01-03  Richard Kreckel  <kreckel@ginac.de>
1027
1028         * autoconf/acinclude.m4: revamp MPN-matcher.
1029         * autoconf/aclocal.m4: upgrade to autoconf-2.52 infrastructure,
1030           sync with CLisp from CVS.
1031         * autoconf/autoconf: Likewise.
1032         * autoconf/autoconf.m4f: Likewise (new file).
1033         * configure.ac: Likewise (new file, replaces configure.in).
1034         * configure.in: Likewise (deleted, replaced by configure.ac).
1035         * autoconf/config.{guess,sub}: Update to GNU version 2001-12-13.
1036         * src/Makefile.in: made VPATH safe for autoconf-2.52.
1037         * include/cln/config.h.in: Add __s390__.
1038
1039 2001-12-31  Richard Kreckel  <kreckel@ginac.de>
1040
1041         * src/base/digitseq/cl_DS.h: <gmp.h> is not included extern "C"
1042           any more since GMP4 has some C++ support in it.
1043
1044 2001-12-14  Richard Kreckel  <kreckel@ginac.de>
1045
1046         * include/cln/modules.h, include/cln/object.h: add support for
1047           s390.
1048         * src/numtheory/cl_nt_sqrtmodp.cc: workaround for GCC2.x compiler-bug
1049           on s390, provided by Gerhard Tonn.
1050
1051 2001-11-05  Richard Kreckel  <kreckel@ginac.de>
1052
1053         * autoconf/ltmain.sh: Upgrade to libtool-1.4.2.
1054         * autoconf/config.{guess,sub}: Update to GNU version 2001-09-07.
1055         * Version 1.1.3 released.
1056
1057 2001-11-04  Bruno Haible  <haible@clisp.cons.org>
1058
1059         Interoperability with gcc-3.0 -fuse-cxa-atexit.
1060         * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add test whether
1061           global destructors actually exist.
1062         * include/cln/modules.h (CL_PROVIDE, CL_PROVIDE_END, CL_PROVIDE_END):
1063           Don't hack the global destructors if there is no global destructors
1064           function.
1065
1066 2001-11-03  Richard Kreckel  <kreckel@ginac.de>
1067
1068         * src/float/transcendental/cl_F_sinx.cc (sinx_naive): For small
1069           values of x, return square(x) instead of x.
1070         * src/float/transcendental/cl_F_sinhx.cc (sinhx_naive): Likewise.
1071
1072 2001-07-25  Richard Kreckel  <kreckel@ginac.de>
1073
1074         * Version 1.1.2 released.
1075
1076 2001-07-24  Richard Kreckel  <kreckel@ginac.de>
1077
1078         * src/base/hash/cl_hash.h: declare _cl_hashtable_iterator<htentry> a
1079           friend of cl_heap_hashtable<htentry>.
1080
1081 2001-07-22  Richard Kreckel  <kreckel@ginac.de>
1082
1083         * src/float/base/cl_ieee.cc: try to do magic to the FPU only if
1084           _FPU_IEEE is really defined.
1085         * include/cln/modules.h: change assembler labels from `label' to
1086           `label:' on hppa, needed by Linux (see comment).
1087         * autoconf/acinclude.m4: new file (for storing CLN-specific macros).
1088         * Makefile.devel: adjusted.
1089         * autoconf/aclocal.m4: regenerate.
1090         * src/base/low/cl_low_mul.cc: moved POD variables that are declared
1091           extern "C" elsewhere out of the namespace.
1092         * src/base/low/cl_low_div.cc: Likewise.
1093
1094 2001-06-08  Bruno Haible  <haible@clisp.cons.org>
1095
1096         * autoconf/config.{guess,sub}: Update to GNU version 2001-05-11.
1097         * autoconf/aclocal.m4: Upgrade to libtool-1.4.
1098         * autoconf/ltmain.sh: Likewise.
1099         * autoconf/ltconfig: Remove file.
1100         * autoconf/install-sh: New file.
1101         * configure.in: Add AC_CONFIG_AUX_DIR call.
1102
1103 2001-06-05  Richard Kreckel  <kreckel@ginac.de>
1104
1105         * tests/tests.cc: resolve namespace ambiguity about strcmp().
1106
1107 2001-05-31  Richard Kreckel  <kreckel@ginac.de>
1108
1109         * Version 1.1.1 released.
1110
1111 2001-05-28  Richard Kreckel  <kreckel@ginac.de>
1112
1113         * cln/cln.tex: documented problems with shared library on Sparc
1114           using gcc older than 2.95.3.
1115         * configure.in: Fixed typos in versioning docu.
1116
1117 2001-05-25  Bruno Haible  <haible@clisp.cons.org>
1118
1119         * src/base/digitseq/cl_asm_arm_.cc: Use #0x instead of #& to designate
1120           hexadecimal constants.
1121
1122 2001-05-25  Richard Kreckel  <kreckel@ginac.de>
1123
1124         * autoconf/floatparam.c (double_wordorder_bigendian_p): new symbol.
1125         * src/float/dfloat/cl_DF.h: Check for double_wordorder_bigendian_p.
1126         * Removed LiDIA interface since that is now outdated (namespace cln)
1127           and maintained elsewhere.
1128         * Adjusted dates and final touches for 1.1.1.
1129
1130 2001-05-19  Richard Kreckel  <kreckel@ginac.de>
1131
1132         * INSTALL: Update toolchain info: no egcs, some more platforms.
1133         * doc/cln.tex: Likewise.
1134
1135 2001-05-18  Richard Kreckel  <kreckel@ginac.de>
1136
1137         * src/base/cl_low.h: prepended variables declared inside macros
1138           with underscore.  Fixes equal_hashcode() on various platforms.
1139
1140 2001-04-25  Richard Kreckel  <kreckel@ginac.de>
1141
1142         * src/base/cl_low.h: Added several checks if NO_ASM is defined, so
1143           this definition becomes actually useful.  This is needed for 
1144           compilation on Arm until somebody fixes the assembler files for Arm.
1145         * src/base/digitseq/cl_asm.h: Likewise.
1146         * src/base/digitseq/cl_asm_.cc: Likewise.
1147         * */Makefile.in: Added `override' in front of `CPPFLAGS +=' so
1148            one can say `make CPPFLAGS=-DFOOBAR'.
1149
1150 2001-03-26  Arvid Norberg <c99ang@cs.umu.se>
1151
1152         * src/base/random/cl_random_from.cc: ported to beos.
1153
1154 2001-03-05  Richard Kreckel  <kreckel@ginac.de>
1155
1156         * include/cln/modules.h (CL_JUMP_TO): Fix IA64 brokenness.
1157
1158 2001-01-28  Richard Kreckel  <kreckel@ginac.de>
1159
1160         * include/cln/number.h (cl_as_N): Remove bogus comment.
1161
1162 2001-01-22  Richard Kreckel  <kreckel@ginac.de>
1163
1164         * configure.in: Make build in separate builddir possible (again).
1165
1166 2001-01-22  Richard Kreckel  <kreckel@ginac.de>
1167
1168         * include/cln/*.h: Change signatures of all classes' methods
1169           cln::cl_foo::operator new(size_t, cl_foo*) to
1170           cln::cl_foo::operator new(size_t, void*) so one can declare
1171           std::vector<cln::cl_foo>, std::list<cln::cl_foo> etc. for
1172           certain STL implementations (like libstdc++-v3).
1173
1174 2000-12-14  Richard Kreckel  <kreckel@ginac.de>
1175
1176         * Version 1.1 released.
1177
1178 2000-12-13  Richard Kreckel  <kreckel@ginac.de>
1179
1180         * */*: cl_istream -> std::istream, cl_ostream -> std::ostream.
1181
1182 2000-12-05  Richard Kreckel  <kreckel@ginac.de>
1183
1184         * Makefile.in, src/Makefile.in, doc/Makefile.in: Use mkdir -p.
1185         * include/cln/version.h.in, src/base/verion.cc: New files.
1186         * configure.in: Generate include/cln/version.h.
1187         * cln.m4: Rewrote it. Check result of cln-config without compiling.
1188           Do cross-check library version and header version information.
1189
1190 2000-12-02  Christian Bauer  <cbauer@ginac.de>
1191
1192         * Makefile.in, src/Makefile.in, doc/Makefile.in: Added $DESTDIR.
1193         * cln.m4, cln.spec.in: some minor fixes with respect to RPM package
1194           building.
1195
1196 2000-11-24  Richard Kreckel  <kreckel@ginac.de>
1197
1198         * */*: Removed problematic stdin, stdout and stderr definitions.  
1199           Use std::cin, std::cout, std::cerr instead (obsoletes 2000-10-29).
1200
1201 2000-11-20  Bruno Haible
1202
1203         * cln-config.1: change title.
1204
1205 2000-11-18  Richard Kreckel  <kreckel@ginac.de>
1206
1207         * cln.m4: New file.
1208         * doc/cln.tex: Document package tools cln-config and cln.m4.
1209         * Makefile.in: Care about cln.m4.
1210
1211 2000-11-17  Richard Kreckel  <kreckel@ginac.de>
1212
1213         * cln-config.1: added manpage, as required by a couple of distros.
1214         * Makefile.in, doc/Makefile.in: target install depends on installdirs.
1215
1216 2000-11-16  Richard Kreckel  <kreckel@ginac.de>
1217
1218         * autoconf/aclocal.m4 (CL_GMP_SET_UINTD): New macro...
1219         * configure.in: ...used here.
1220         * include/cln/config.h.in: Put in macros defined by CL_GMP_SET_UINTD...
1221         * include/cln/types.h: ...used here.
1222         * autoconf/acgeneral.m4, autoconf/aclocal.m4: Adhere to FHS.
1223
1224 2000-11-13  Richard Kreckel  <kreckel@ginac.de>
1225
1226         * src/base/digitseq/cl_asm.h: Test if (intDsize==32) for MIPS and HPPA,
1227           in order to guard against an accidented configuration.
1228         * src/integer/conv/cl_I_to_digits.cc (table): member b_hoch_k of 
1229           struct power_table_entry initialized as ULL instead of as UL, if 
1230           intDsize==64 (caused misprinting on MIPS w/ GMP).
1231         * src/base/cl_macros.h (minus_bitm, bitc): implemented ULL, if 
1232           HAVE_FAST_LONGLONG.
1233         * src/integer/bitwise/cl_I_mkfx.cc (mkf_extract): Likewise.
1234         * src/integer/conv/cl_I_from_L.cc (cl_I_from_L): Added trival 
1235           generation of Bignum for intDsize==64 and a notreached-check at end.
1236         * autoconf/config.guess, autoconf/config.sub: updated from FSF.
1237         * include/cln/config.h.in: Prepared support for IA64.
1238         * include/cln/types.h: Likewise.
1239         * include/cln/object.h: Likewise.
1240         * include/cln/modules.h: Likewise.
1241         * src/base/cl_macros.h (nonreturning_function): Likewise (NUE's 
1242           compiler claims __GNUC_MINOR__==9).
1243
1244 2000-11-03  Richard Kreckel  <kreckel@ginac.de>
1245
1246         * src/base/cl_macros.h (bit, minus_bit): changed criterion for ULL from
1247           HAVE_DD to HAVE_FAST_LONGLONG.
1248         * src/base/cl_macros.h (bitm): implemented ULL, if HAVE_FAST_LONGLONG.
1249         * src/base/cl_low.h: actually no need to include "cln/types.h" here.
1250         * src/base/cl_low.h (logcount_64): always ULL, independent of HAVE_DD.
1251         * src/base/random/cl_UL_random.cc (random32): a is always ULL.
1252
1253 2000-11-01  Richard Kreckel  <kreckel@ginac.de>
1254
1255         * include/cln/object.h (cl_combine): define additional signatures, if
1256           HAVE_LONGLONG is defined, in order to keep the compiler happy.
1257         * src/base/cl_macros.h: include "cln/types.h", since we need HAVE_DD...
1258         * src/base/cl_macros.h (bit): ...for this macro...
1259         * src/base/cl_macros.h (minus_bit): ...and this one.
1260         * src/base/cl_low.h: include "cln/types.h", since we need HAVE_DD...
1261         * src/base/cl_low.h (logcount_64): ...for this macro.
1262         * src/base/random/cl_UL_random.cc (random32): if HAVE_DD a is an ULL.
1263         * src/integer/gcd/cl_I_gcd_aux2.cc (floorDD): fixed algorithmic bug.
1264           that turned up when intDsize==32 and cl_word_size==64.
1265         * src/float/dfloat/elem/cl_DF_div.cc (operator/): fixed a missing cast
1266           to uint64 that turned up when intDsize==32 and cl_word_size==64.
1267
1268 2000-10-29  Richard Kreckel  <kreckel@ginac.de>
1269
1270         * src/real/input/cl_R_read.cc, src/complex/input/cl_N_read.cc:
1271           #undef stderr, if it's defined so cln::stderr isn't confused.
1272         * src/base/input/cl_read_globals.cc: stdin should not be extern.
1273
1274 2000-09-05  Richard Kreckel  <kreckel@ginac.de>
1275
1276         * include/cln/number.h (As): Fix it in namespace by suffixing `_As'
1277           to the appropiate method instead of prefixing `as_'.
1278         * src/complex/misc/cl_N_as.cc (cl_N_As): Likewise.
1279         * src/real/misc/cl_R_as.cc (cl_R_As): Likewise.
1280         * src/rational/misc/cl_RA_as.cc (cl_RA_As): Likewise.
1281         * src/integer/misc/cl_I_as.cc (cl_I_As): Likewise.
1282         * src/float/misc/cl_F_as.cc (cl_F_As): Likewise.
1283         * src/float/sfloat/misc/cl_SF_as.cc (cl_SF_As): Likewise.
1284         * src/float/lfloat/misc/cl_LF_as.cc (cl_LF_As): Likewise.
1285         * src/float/ffloat/misc/cl_FF_as.cc (cl_FF_As): Likewise.
1286         * src/float/dfloat/misc/cl_DF_as.cc (cl_DF_As): Likewise.
1287
1288 2000-09-05  Richard Kreckel  <kreckel@ginac.de>
1289
1290         * src/complex/transcendental/cl_C_expt_C.cc (expt): fix logic for
1291           the 0^y cases.
1292
1293 2000-08-30  Richard Kreckel  <kreckel@ginac.de>
1294
1295         * include/cln/number.h, cl_number::_as_cl_private_thing(): removed.
1296           Rearranged for a clearer distinction between macros and remaining
1297           identifiers, so Cint can parse it smoothly.
1298
1299 2000-08-29  Richard Kreckel  <kreckel@ginac.de>
1300
1301         * include/cln/number.h, the(const cl_number& x): New template
1302           function.
1303
1304 2000-08-29  Richard Kreckel  <kreckel@ginac.de>
1305
1306         * */*: Pushed CLN into a namespace `cln'.  While doing so, the
1307           following identifiers got their poor-man's namespace (i.e. the 
1308           prefix `cl_') stripped off:
1309           cl_catalanconst()        ->  catalanconst()
1310           cl_compare()             ->  compare()
1311           cl_cos_sin()             ->  cos_sin()
1312           cl_cos_sin_t             ->  cos_sin_t
1313           cl_cosh_sinh()           ->  cosh_sinh()
1314           cl_cosh_sinh_t           ->  cosh_sinh_t
1315           cl_decoded_dfloat        ->  decoded_dfloat
1316           cl_decoded_ffloat        ->  decoded_ffloat
1317           cl_decoded_float         ->  decoded_float
1318           cl_decoded_lfloat        ->  decoded_lfloat
1319           cl_decoded_sfloat        ->  decoded_sfloat
1320           cl_default_float_format  ->  default_float_format
1321           cl_default_print_flags   ->  default_print_flags
1322           cl_default_random_state  ->  default_random_state
1323           cl_double_approx()       ->  double_approx()
1324           cl_equal()               ->  equal()
1325           cl_equal_hashcode()      ->  equal_hashcode()
1326           cl_eulerconst()          ->  eulerconst()
1327           cl_find_modint_ring()    ->  find_modint_ring()
1328           cl_find_univpoly_ring()  ->  find_univ_poly_ring()
1329           cl_float_approx()        ->  float_approx
1330           cl_float_format()        ->  float_format()
1331           cl_float_format_t        ->  float_format_t
1332           cl_free_hook()           ->  free_hook()
1333           cl_hermite()             ->  hermite()
1334           cl_laguerre()            ->  laguerre()
1335           cl_legendre()            ->  legandre()
1336           cl_malloc_hook()         ->  malloc_hook()
1337           cl_pi()                  ->  pi()
1338           cl_tschebychev()         ->  tschebychev()
1339           cl_zeta()                ->  zeta()
1340           NB: For functions these changes includes all signatures.
1341         * include/*: moved to include/cln/*, stripped `cl_' off filenames.
1342         * cln-config.in: new file.
1343
1344 2000-08-26  Bruno Haible  <haible@clisp.cons.org>
1345
1346         * autoconf/acgeneral.m4 (AC_OUTPUT): Use braces in exec_prefix default
1347           value, not parens.
1348
1349 2000-08-18  Bruno Haible  <haible@clisp.cons.org>
1350
1351         * include/cl_univpoly_modint.h: Fix typo.
1352
1353 2000-07-13  Bruno Haible  <haible@clisp.cons.org>
1354
1355         * src/float/input/cl_F_read_stream.cc (number_char_p): Accept '_',
1356           used as precision marker for floats.
1357           Reported by Keith Briggs (in 1998) and Thomas Roessler.
1358         * src/integer/input/cl_I_read_stream.cc (number_char_p): Likewise.
1359         * src/rational/input/cl_RA_read_stream.cc (number_char_p): Likewise.
1360         * src/real/input/cl_R_read_stream.cc (number_char_p): Likewise.
1361         * src/complex/input/cl_N_read_stream.cc (number_char_p): Likewise.
1362
1363 2000-06-22  Bruno Haible  <haible@clisp.cons.org>
1364
1365         * include/cl_object.h: Rename cl_word_size to cl_pointer_size.
1366         * include/cl_types.h (HAVE_FAST_LONGLONG): Also define on Irix6
1367           with N32 ABI.
1368           (cl_word_size): New macro.
1369         * src/float/sfloat/cl_SF.h: Use cl_pointer_size instead of
1370           cl_word_size.
1371
1372 2000-05-31  Bruno Haible  <haible@clisp.cons.org>
1373
1374         * tests/exam_I_floor.cc (integer_floor_tests): Add one more entry.
1375           From a sample that fails with gcc-2.95.2 on Sparc.
1376         * tests/exam_I_gcd.cc (integer_gcd_tests): Likewise.
1377
1378 2000-05-30  Richard Kreckel  <kreckel@ginac.de>
1379
1380         * configure.in, autoconf/aclocal.m4 (CL_GMP_H_VERSION, CL_GMP_CHECK):
1381           New macros.
1382         * configure.in, include/cl_config.h.in (CL_VERSION, CL_VERSION_MINOR,
1383           CL_VERSION_PATCHLEVEL): New definitions.
1384         * autoconf/config.guess, autoconf/config.sub, autoconf/ltconfig,
1385           autoconf/ltmain.sh: updated from FSF (libtool 1.3.5, etc).
1386         * src/Makefile.in, configure.in: release-variables renamed from 
1387           CLN_* to CL_*.
1388         * configure.in: default to build both shared and static library
1389           (i.e. default to the most common behaviour).
1390
1391 2000-05-29  Richard Kreckel  <kreckel@ginac.de>
1392
1393         * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Added missing changequote
1394           environment around the patch of 2000-05-23.
1395
1396 2000-05-29  Bruno Haible  <haible@clisp.cons.org>
1397
1398         * autoconf/aclocal.m4 (CL_PROG_INSTALL): Fix typo.
1399           Reported by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>.
1400
1401 2000-05-27  Richard Kreckel  <kreckel@ginac.de>
1402
1403         * src/float/lfloat/algebraic/cl_LF_sqrt.cc,
1404           src/base/digitseq/cl_DS_sqrt.cc: Readjusted break-even points.
1405
1406 2000-05-24  Richard Kreckel  <kreckel@ginac.de>
1407
1408         * autoconf/config.*: Updated to new version from FSF
1409           (the new libtool wants this).
1410         * src/Makefile.in: added $(LDFLAGS) to link step.
1411         * src/base/digitseq/cl_2DS_div.cc, cl_2DS_recip.cc: Readjusted 
1412           break-even points.
1413
1414 2000-05-23  Bruno Haible  <haible@clisp.cons.org>
1415
1416         * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Determine host_cpu,
1417           host_vendor, host_os correctly if $host has more than two hyphens.
1418
1419 2000-05-19  Richard Kreckel  <kreckel@ginac.de>
1420
1421         * src/base/digitseq/cl_DS_mul.cc: Rearranged break-even points to
1422           better match present-day CPUs whenever GMP3 is used.
1423         * src/base/digitseq/cl_DS_div.cc: dto. 
1424         * src/TUNING: Added comment about order of tuning.
1425         * configure, configure.in: Safer GMP3-detection.
1426         * INSTALL.generic: Clarified behaviour of --with-gmp.
1427         * autoconf/config.guess: updated from Clisp-2000-03-06 sources.
1428
1429 2000-05-04  Richard Kreckel  <kreckel@ginac.de>
1430
1431         * gmp/: removed completely.  From now on we are going to link
1432           externally against libgmp3.0 or above!
1433         * configure, configure.in, Makefile.in, */Makeflags: removed support
1434           of internal gmp 2.0.2, like $GMP_INCLUDES, which should be done by
1435           setting $CPPFLAGS instead.
1436         * Makefile.in: Added libtool inter-library dependency for -lgmp and
1437           conforming interface versioning (-version-info).
1438         * autoconf/ltconfig, autoconf/ltmain.sh: Updated to newer versions
1439           from libtool 1.3.4.
1440
1441 2000-02-22  Bruno Haible  <haible@clisp.cons.org>
1442
1443         * src/base/digitseq/cl_asm_mips_.cc: Starting at argument 5 the
1444           parameter passing was changed for the MIPS n32 ABI.
1445
1446 2000-01-24  Richard Kreckel  <kreckel@ginac.de>
1447
1448         * gmp/*: Replaced the complete mpn sources with the ones from
1449           Debian since they are maintained while the ones from FSF
1450           aren't and there were problems on some architectures, PowerPC
1451           in particular.  See the file gmp/README.CLN.  This way the
1452           hard links in this directory have vanished, they were causing
1453           trouble for people working in AFS.  This became necessary for
1454           Debian, because there it woudn't compile on PPC.
1455
1456 2000-01-13  Richard Kreckel  <kreckel@ginac.de>
1457
1458         * Version 1.0.3 released.
1459
1460 2000-01-13  Richard Kreckel  <kreckel@ginac.de>
1461
1462         * src/base/cl_macros.h (nonreturning_function): For egcs and newer
1463           use __attribute__ ((__noreturn__)) instead of the __volatile__
1464           storage class.
1465           (nonreturning): Remove macro.
1466         * include/*: Minor fixes to stop -ansi -pedantic from complaining.
1467         * include/cl_integer.h: (doublefactorial): New declaration.
1468         * src/integer/misc/combin/cl_I_doublefactorial.cc: New file.
1469
1470 1999-12-18  Bruno Haible  <haible@clisp.cons.org>
1471
1472         * autoconf/acgeneral.m4 (AC_ARG_PROGRAM): Create conftestsed using
1473           "cat", not "echo".
1474         * autoconf/ltconfig: Improve support for recent FreeBSD 3.
1475         * include/cl_GV.h (cl_GV_vectorops): Change return type from 'T' to
1476           'const T', to match definition in src/vector/cl_GV_number.cc.
1477           Reported by Duncan Simpson <dps@io.stargate.co.uk>.
1478         * gmp/mpn/Makefile.in (.S.lo): Use 'if', not '&&', because '&&' may
1479           yield return code 1.
1480
1481 1999-09-07  Bruno Haible  <haible@clisp.cons.org>
1482
1483         * Version 1.0.2 released.
1484
1485 1999-09-06  Bruno Haible  <haible@clisp.cons.org>
1486
1487         * src/rational/cl_RA.h (integerp, ratiop): Instead of returning a
1488           boolean expression, write alternatives ending with either
1489           "return cl_true;" or "return cl_false;". This way, g++ does a
1490           better job inlining it.
1491         * src/float/cl_F.h (longfloatp): Likewise.
1492         * src/real/cl_R.h (rationalp, integerp, floatp): Likewise.
1493         * src/complex/cl_C.h (realp, complexp): Likewise.
1494
1495 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
1496
1497         * include/cl_integer.h (cl_equal_hashcode): New declaration.
1498         * include/cl_rational.h (cl_equal_hashcode): New declaration.
1499         * include/cl_sfloat.h (cl_equal_hashcode): New declaration.
1500         * include/cl_ffloat.h (cl_equal_hashcode): New declaration.
1501         * include/cl_dfloat.h (cl_equal_hashcode): New declaration.
1502         * include/cl_lfloat.h (cl_equal_hashcode): New declaration.
1503         * include/cl_float.h (cl_equal_hashcode): New declaration.
1504         * include/cl_real.h (cl_equal_hashcode): New declaration.
1505         * include/cl_complex.h (cl_equal_hashcode): New declaration.
1506         * src/base/cl_N.h (equal_hashcode_low, equal_hashcode_one): New macros.
1507         * src/integer/misc/cl_I_eqhashcode.cc: New file.
1508         * src/rational/misc/cl_RA_eqhashcode.cc: New file.
1509         * src/float/sfloat/misc/cl_SF_eqhashcode.cc: New file.
1510         * src/float/ffloat/misc/cl_FF_eqhashcode.cc: New file.
1511         * src/float/dfloat/misc/cl_DF_eqhashcode.cc: New file.
1512         * src/float/lfloat/misc/cl_LF_eqhashcode.cc: New file.
1513         * src/float/misc/cl_F_eqhashcode.cc: New file.
1514         * src/real/misc/cl_R_eqhashcode.cc: New file.
1515         * src/complex/misc/cl_C_eqhashcode.cc: New file.
1516         * doc/cln.tex: Document `cl_equal_hashcode'.
1517
1518 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
1519
1520         * include/cl_ring.h (cl_number_ring_ops): Add `contains' member.
1521           (cl_number_ring): New class.
1522           (cl_specialized_number_ring<T>): Inherit from cl_number_ring.
1523           (instanceof): New function.
1524         * src/integer/ring/cl_I_ring.cc (cl_I_p): New function.
1525         * src/integer/misc/cl_I_as.cc (cl_I_p): Add comment.
1526         * src/rational/ring/cl_RA_ring.cc (cl_RA_p): New function.
1527         * src/rational/misc/cl_RA_as.cc (cl_RA_p): Add comment.
1528         * src/real/ring/cl_R_ring.cc (cl_R_p): New function.
1529         * src/real/misc/cl_R_as.cc (cl_R_p): Add comment.
1530         * src/complex/ring/cl_C_ring.cc (cl_N_p): New function.
1531         * src/complex/misc/cl_N_as.cc (cl_N_p): Add comment.
1532         * doc/cln.tex: Document `instanceof'.
1533
1534 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
1535
1536         * include/cl_rational.h (numerator, denominator): New declarations.
1537         * src/rational/elem/cl_RA_numerator.cc: New file.
1538         * src/rational/elem/cl_RA_denominator.cc: New file.
1539         * include/cl_integer.h (numerator, denominator): New inline functions.
1540         * doc/cln.tex: Document `numerator' and `denominator'.
1541
1542 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
1543
1544         * src/rational/algebraic/cl_RA_rootp.cc (rootp): Fix endless loop
1545           in the integer case.
1546         * src/rational/algebraic/cl_RA_rootp_I.cc (rootp): Likewise.
1547
1548 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
1549
1550         * include/cl_config.h.in: Support for sparc64 CPU.
1551         * include/cl_modules.h: Likewise.
1552         * include/cl_types.h: Likewise.
1553         * include/cl_object.h: Likewise.
1554         * include/cl_GV.h: Likewise.
1555         * src/Makefile.in: Likewise.
1556         * src/base/cl_alloca.h: Likewise.
1557         * src/base/cl_macros.h: Likewise.
1558         * src/base/cl_sysdep.h: Likewise.
1559         * src/base/cl_low.h: Likewise.
1560         * src/base/digitseq/cl_asm.h: Likewise.
1561         * src/base/digitseq/cl_asm_.cc: Likewise.
1562         * src/base/digitseq/cl_asm_sparc64.h: New file.
1563         * src/base/digitseq/cl_asm_sparc64_.cc: New file.
1564         * src/modinteger/cl_MI_int.h: Support for sparc64 CPU.
1565         * src/polynomial/elem/cl_UP_no_ring.cc: Likewise.
1566         * src/polynomial/elem/cl_UP_GF2.h: Likewise.
1567         * src/polynomial/elem/cl_asm_GF2.cc: Likewise.
1568
1569 1999-09-04  Bruno Haible  <haible@clisp.cons.org>
1570
1571         * src/base/digitseq/cl_asm_sparc_.cc (orc2_loop_up, orc2_loop_down):
1572           Use the `orn' instruction.
1573
1574 1999-08-14  Bruno Haible  <haible@clisp.cons.org>
1575
1576         Assume all platforms have <stdlib.h> and clock_t.
1577         * configure.in: Don't call CL_STDLIB_H and CL_CLOCK_T.
1578         * src/base/cl_base_config.h.in (CLOCK_T): Remove definition.
1579         * src/base/random/cl_random_from.cc: Use clock_t instead of CLOCK_T.
1580         * src/timing/cl_t_config.h.in (CLOCK_T): Remove definition.
1581         * src/timing/cl_t_current2.cc: Use clock_t instead of CLOCK_T.
1582
1583 1999-07-18  Bruno Haible  <haible@clisp.cons.org>
1584
1585         * gmp/config.guess: Link to autoconf/config.guess.
1586           gmp/config.sub: Link to autoconf/config.sub.
1587           Needed for Win32 platforms.
1588
1589 1999-07-17  Bruno Haible  <haible@clisp.cons.org>
1590
1591         * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Distinguish "sparc" and
1592           "sparc64" according to the C compiler, not the uname result.
1593
1594 1999-06-17  Bruno Haible  <haible@clisp.cons.org>
1595
1596         * src/base/digitseq/cl_asm_sparc_.cc (compare_loop_up): Fix
1597           COUNTER_LOOPS version, fortunately not used yet.
1598
1599         * include/cl_modules.h: Prepare for gcc version 3.
1600
1601 1999-06-12  Bruno Haible  <haible@clisp.cons.org>
1602
1603         * src/rational/elem/cl_RA_plus.cc, src/rational/elem/cl_RA_minus.cc:
1604           Change the last call from I_I_to_RT to I_I_to_RA.
1605
1606 1999-06-09  Bruno Haible  <haible@clisp.cons.org>
1607
1608         * Version 1.0.1 released.
1609
1610 1999-06-09  Bruno Haible  <haible@clisp.cons.org>
1611
1612         * src/integer/cl_I.h (pFN_maxlength_digits_at): Define also when
1613           intDsize==64.
1614
1615 1999-06-08  Bruno Haible  <haible@clisp.cons.org>
1616
1617         * autoconf/intparam.c (printf_underscored): Change argument type to
1618           `const char*'.
1619         * include/cl_modules.h (CL_OUTPUT_LABEL, CL_JUMP_TO): New macros.
1620           (CL_PROVIDE, CL_PROVIDE_END): Use them.
1621         * include/cl_string.h (cl_heap_string::operator new): Return 1, not 0.
1622         * include/cl_GV.h (cl_GV_inner<T>::operator new): Likewise.
1623         * src/base/ring/cl_no_ring.cc (dummy_canonhom, dummy_expt_pos): Don't
1624           cast a cl_I to void here. Works around a bug in g++-2.95.
1625         * src/complex/misc/cl_C_class.cc: Include "cl_C.h".
1626         * src/polynomial/elem/cl_UP_no_ring.cc (dummy_canonhom,
1627            dummy_expt_pos): Don't cast a cl_I to void here. Works around a bug
1628           in g++-2.95.
1629         * src/polynomial/elem/cl_asm_sparc_GF2.cc (DECLARE_FUNCTION): New
1630           macro.
1631         * src/rational/misc/cl_RA_class.cc: Include "cl_RA.h".
1632         * src/vector/cl_GV_I.cc (cl_heap_GV_I_general::operator new,
1633            DEFINE_cl_heap_GV_I_bits): Return 1, not 0.
1634         * src/vector/cl_GV_number.cc (cl_heap_GV_number_general::operator new):
1635           Likewise.
1636
1637 1999-06-01  Bruno Haible  <haible@clisp.cons.org>
1638
1639         * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Canonicalize alpha
1640           variants to alpha.
1641
1642 1999-05-29  Bruno Haible  <haible@clisp.cons.org>
1643
1644         * src/base/digitseq/cl_asm_i386_.cc (DECLARE_FUNCTION): Treat
1645           OpenBSD like NetBSD.
1646         * src/base/digitseq/cl_asm_sparc_.cc (DECLARE_FUNCTION): Likewise.
1647         * src/base/digitseq/cl_asm_m68k_.cc (DECLARE_FUNCTION): Treat
1648           OpenBSD like NetBSD, and Linux/ELF like SVR4.
1649
1650 1999-05-16  Bruno Haible  <haible@clisp.cons.org>
1651
1652         * src/base/cl_low.h (integerlength32) [__rs6000__]: Use old assembler
1653           syntax on AIX systems and new assembler syntax on non-AIX systems.
1654
1655 1999-05-01  Bruno Haible  <haible@clisp.cons.org>
1656
1657         * autoconf/config.guess, autoconf/config.sub: Upgrade to newest
1658           version from GNU CVS.
1659
1660 1999-04-24  Bruno Haible  <haible@clisp.cons.org>
1661
1662         * src/integer/bitwise/cl_I_logand.cc (logand): Optimize the case when
1663           either operand is a positive fixnum, O(1) instead of O(N).
1664         * src/integer/bitwise/cl_I_lognand.cc (lognand): Likewise.
1665         * src/integer/bitwise/cl_I_logandc2.cc (logandc2): Likewise for the
1666           first operand.
1667
1668 1999-04-14  Bruno Haible  <haible@clisp.cons.org>
1669
1670         * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add check whether
1671           ctor/dtor needs to be exported.
1672         * include/cl_config.h.in (CL_NEED_GLOBALIZE_CTORDTOR): New macro.
1673         * include/cl_modules.h (CL_GLOBALIZE_JUMP_LABEL): Renamed from
1674           CL_GLOBALIZE_LABEL.
1675           (CL_GLOBALIZE_LABEL): New macro.
1676           (CL_GLOBALIZE_CTORDTOR_LABEL): Renamed from CL_GLOBALIZE_ASM_LABEL.
1677           (CL_PROVIDE): Update.
1678
1679 1999-04-12  Bruno Haible  <haible@clisp.cons.org>
1680
1681         * src/Makefile.in ($(ASMFILES_S)): On HPPA, ignore preprocessing
1682           errors ("unterminated string or character constant").
1683           ($(ASMFILES_LO)): On HPPA, try with various settings of
1684           COMPILER_PATH, in order to try /usr/ccs/bin/as and /bin/as.
1685
1686 1999-04-11  Bruno Haible  <haible@clisp.cons.org>
1687
1688         * INSTALL: Mention gmp problems on MIPS.
1689         * doc/cln.tex: Likewise.
1690
1691 1999-03-24  Mumit Khan  <khan@xraylith.wisc.edu>
1692
1693         * src/Makefile.in (SUBDIRS): Filter out CVS and RCS directories from
1694           the source tree.
1695         * include/cl_modules.h (CL_GLOBALIZE_LABEL): Define for Win32.
1696           (CL_GLOBALIZE_ASM_LABEL): New macro.
1697           (CL_PROVIDE): Use it.
1698         * src/base/random/cl_random_from.cc: Handle WIN32.
1699         * src/timing/cl_t_current.cc: Likewise.
1700
1701 1999-03-15  Bruno Haible  <haible@clisp.cons.org>
1702
1703         * autoconf/intparam.c (main7): Use %lX instead of %X for a `long'.
1704           (main8): Adapt for C++.
1705
1706 1999-03-09  Bruno Haible  <haible@clisp.cons.org>
1707
1708         * INSTALL: Mention egcs-1.1 problems on Sparc.
1709         * doc/cln.tex: Likewise.
1710
1711 1999-03-08  Bruno Haible  <haible@clisp.cons.org>
1712
1713         * autoconf/aclocal.m4 (CL_FPU_CONTROL): Fix the "checking for"
1714           messages.
1715
1716 1999-02-25  Bruno Haible  <haible@clisp.cons.org>
1717
1718         * autoconf/aclocal.m4: In test programs, declare `int main()', not
1719           `main()'.
1720
1721         * lidia-interface/src/interfaces/integers/cln/bigint.c
1722           (bigint_to_string): Fix for negative arguments.
1723
1724         * src/base/cl_low.h: Check for `__sparc__', not `SPARC'.
1725         * src/base/cl_alloca.h: Likewise.
1726
1727         * src/base/cl_low.h: Eliminate CLISP style "# " comments.
1728         * src/base/digitseq/cl_asm_arm_.cc,
1729           src/base/digitseq/cl_asm_mips_.cc,
1730           src/float/dfloat/elem/cl_DF_mul.cc: Likewise.
1731
1732         * src/modinteger/cl_MI_pow2.h,
1733           src/modinteger/cl_MI_pow2m1.h,
1734           src/modinteger/cl_MI_pow2p1.h: Workaround g++-2.7.2 inlining bug.
1735
1736 1999-01-18  Bruno Haible  <haible@clisp.cons.org>
1737
1738         * autoconf/acgeneral.m4,
1739           autoconf/acspecific.m4: Upgrade to autoconf-2.13.
1740         * autoconf/config.guess, autoconf/config.sub: Likewise.
1741         * autoconf/aclocal.m4 (CL_ALLOCA): Test for _MSC_VER and alloca being
1742           a macro. Use ${ac_objext}.
1743         * src/base/cl_macros.h (alloca): Put _MSC_VER test before the others,
1744           conforming with CL_ALLOCA.
1745
1746 1999-01-12  Bruno Haible  <haible@clisp.cons.org>
1747
1748         * Version 1.0 released.
1749