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