/[cln]/ChangeLog
ViewVC logotype

Contents of /ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.191 - (hide annotations)
Mon Dec 17 21:16:10 2007 UTC (5 years, 6 months ago) by kreckel
Branch: MAIN
Changes since 1.190: +5 -0 lines
        Silly workaround for silly bug in gmp.h:
        * m4/gmp.m4 (CL_GMP_SET_UINTD): Swap #include <gmp.h> and <stdio.h>.

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

Christian Bauer">Christian Bauer
ViewVC Help
Powered by ViewVC 1.1.15