/[cln]/ChangeLog
ViewVC logotype

Diff of /ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.95 by kreckel, Wed Jun 30 21:52:46 2004 UTC revision 1.177 by kreckel, Fri Sep 7 19:45:30 2007 UTC
# Line 1  Line 1 
1    2007-09-07  Richard B. Kreckel  <kreckel@ginac.de>
2    
3            More memory efficient Euler-Mascheroni constant:
4            * src/float/transcendental/cl_LF_tran.h (cl_pqd_series_stream): New.
5            * src/float/transcendental/cl_LF_ratsumseries_stream_pqd.cc: New file.
6            * src/float/transcendental/cl_LF_ratsumseries_stream_pqd_aux.cc: New
7            file.
8            * src/float/transcendental/cl_LF_eulerconst.cc: Compute series
9            coefficients on demand, using a series stream object.
10    
11    2007-08-02  Richard B. Kreckel  <kreckel@ginac.de>
12    
13            * src/base/digitseq/cl_DS_div.cc (cl_recip_suitable): uintC arguments.
14    
15    2007-08-01  Richard B. Kreckel  <kreckel@ginac.de>
16    
17            * */*: Remove cl_boolean, cl_true, and cl_false in favor of built-in
18            C++ bool, true, and false.
19    
20    2007-07-28  Richard B. Kreckel  <kreckel@ginac.de>
21    
22            Remove exception hooks in favor of real C++ exceptions:
23            * include/cln/exception.h: New file...
24            * include/cln/cln.h: ...included here...
25            * include/cln/rational.h: ...and here.
26            * include/cln/abort.h: Removed.
27            * include/cln/integer.h (ash_exception, exquo_exception): Add exception
28            types.
29            * include/cln/float.h (floating_point_exception,
30            floating_point_nan_exception, floating_point_overflow_exception,
31            floating_point_underflow_exception): Likewise.
32            * include/cln/number_io.h (read_number_exception,
33            read_number_bad_syntax_exception, read_number_junk_exception,
34            read_number_eof_exception): Likewise.
35            * include/cln/object.h (CL_DEFINE_CONVERTER): Replace dynamic assertion
36            with a compile-time assertion.
37            * include/cln/GV.h: Replace nonreturning functions with exceptions.
38            * include/cln/modinteger.h: Likewise.
39            * include/cln/SV.h: Likewise.
40            * include/cln/ring.h: Likewise.
41            * include/cln/string.h: Likewise.
42            * include/cln/univpoly.h: Likewise.
43            * src/base/cl_abort.cc: Removed.
44            * src/base/cl_N_err_d0.cc: Removed.
45            * src/base/cl_d0_exception.cc: New file.
46            * src/base/cl_as_err.cc: Removed.
47            * src/base/cl_as_exception.cc: New file.
48            * src/base/cl_notreached.cc: Removed.
49            * src/base/cl_notreached_exception.cc: New file.
50            * src/base/input/cl_read_err_bad.cc: Removed.
51            * src/base/input/cl_read_bad_syntax_exception.cc: New file.
52            * src/base/input/cl_read_err_junk.cc: Removed.
53            * src/base/input/cl_read_junk_exception.cc: New file.
54            * src/base/input/cl_read_err_eof.cc: Removed.
55            * src/base/input/cl_read_eof_exception.cc: New file.
56            * src/base/cl_N.h (cl_as_error): Removed (see cln/exception.h).
57            * src/base/macros.h (NOTREACHED): Throw.
58            * src/base/cl_malloc.cc (xmalloc): Throw.
59            * src/base/digitseq/cl_2DS_div.cc: Throw.
60            * src/base/digitseq/cl_DS_div.cc: Throw.
61            * src/base/digitseq/cl_DS_mul.cc: Throw.
62            * src/base/digitseq/cl_DS_mul_fftc.h: Throw.
63            * src/base/digitseq/cl_DS_mul_fftcs.h: Throw.
64            * src/base/digitseq/cl_DS_mul_fftm.h: Throw.
65            * src/base/digitseq/cl_DS_mul_fftp.h: Throw.
66            * src/base/digitseq/cl_DS_mul_fftp3.h: Throw.
67            * src/base/digitseq/cl_DS_mul_fftp3m.h: Throw.
68            * src/base/digitseq/cl_DS_mul_fftr.h: Throw.
69            * src/base/digitseq/cl_DS_mul_nuss.h: Throw.
70            * src/base/digitseq/cl_DS_recipsqrt.cc: Throw.
71            * src/base/digitseq/cl_DS_sqrt.cc: Throw.
72            * src/base/hash/cl_hash.h: Throw.
73            * src/base/hash/cl_hash1.h: Throw.
74            * src/base/hash/cl_hash1weak.h: Throw.
75            * src/base/hash/cl_hash2.h: Throw.
76            * src/base/hash/cl_hash2weak.h: Throw.
77            * src/base/hash/cl_hashset.h: Throw.
78            * src/base/hash/cl_hashuniq.h: Throw.
79            * src/base/hash/cl_hashuniqweak.h: Throw.
80            * src/base/proplist/cl_pl_add.cc: Throw.
81            * src/base/ring/cl_no_ring.cc: Throw.
82            * src/base/string/cl_spushstring.h: Throw.
83            * src/base/symbol/cl_symbol.cc: Throw.
84            * src/integer/bitwise/cl_I_ash.h: Removed (see cln/integer.h.)
85            * src/integer/bitwise/cl_I_asherr.cc: Removed.
86            * src/integer/bitwise/cl_I_ash_exception.cc: New file.
87            * src/integer/division/cl_I_exquoerr.cc: Removed.
88            * src/integer/division/cl_I_exquo_exception.cc: New file.
89            * src/integer/cl_I.h: Throw.
90            * src/integer/division/cl_I_exquopos.cc: Throw.
91            * src/integer/bitwise/cl_I_logbitp_I.cc: Throw.
92            * src/integer/bitwise/cl_I_ash.cc: Throw.
93            * src/integer/bitwise/cl_I_ash_I.cc: Throw.
94            * src/integer/division/cl_I_exquo.cc: Throw.
95            * src/integer/gcd/cl_I_gcd_aux2.cc: Throw.
96            * src/integer/conv/cl_I_to_L.cc: Throw.
97            * src/integer/conv/cl_I_to_Q.cc: Throw.
98            * src/integer/conv/cl_I_to_UL.cc: Throw.
99            * src/integer/conv/cl_I_to_UQ.cc: Throw.
100            * src/integer/conv/cl_I_to_digits.cc: Throw.
101            * src/integer/elem/cl_I_div.cc: Throw.
102            * src/integer/algebraic/cl_I_sqrt.cc: Throw.
103            * src/integer/input/cl_I_read.cc: Throw.
104            * src/integer/input/cl_I_read_stream.cc: Throw.
105            * src/integer/misc/cl_I_as.cc: Throw.
106            * src/rational/elem/cl_RA_from_I_I_div.cc: Throw.
107            * src/rational/elem/cl_RA_recip.cc: Throw.
108            * src/rational/input/cl_RA_read.cc: Throw.
109            * src/rational/input/cl_RA_read_stream.cc: Throw.
110            * src/rational/input/cl_RA_readparsed.cc: Throw.
111            * src/rational/misc/cl_RA_as.cc: Throw.
112            * src/float/base/cl_F_err_nan.cc: Removed.
113            * src/float/base/cl_F_nan_exception.cc: New file.
114            * src/float/base/cl_F_err_un.cc: Removed.
115            * src/float/base/cl_F_underflow_exception.cc: New file.
116            * src/float/base/cl_F_err_ov.cc: Removed.
117            * src/float/base/cl_F_overflow_exception.cc: New file.
118            * src/float/cl_F.h (cl_error_floating_point_nan,
119            cl_error_floating_point_overflow, cl_error_floating_point_underflow):
120            Removed (see cln/float.h.)
121            * src/float/sfloat/cl_SF.h: Throw.
122            * src/float/sfloat/elem/cl_SF_div.cc: Throw.
123            * src/float/sfloat/elem/cl_SF_from_RA.cc: Throw.
124            * src/float/sfloat/elem/cl_SF_scale.cc: Throw.
125            * src/float/sfloat/elem/cl_SF_scale_I.cc: Throw.
126            * src/float/sfloat/misc/cl_SF_as.cc: Throw.
127            * src/float/ffloat/cl_FF.h: Throw.
128            * src/float/ffloat/conv/cl_FF_from_float.cc: Throw.
129            * src/float/ffloat/elem/cl_FF_div.cc: Throw.
130            * src/float/ffloat/elem/cl_FF_from_RA.cc: Throw.
131            * src/float/ffloat/elem/cl_FF_scale.cc: Throw.
132            * src/float/ffloat/elem/cl_FF_scale_I.cc: Throw.
133            * src/float/ffloat/misc/cl_FF_as.cc: Throw.
134            * src/float/dfloat/cl_DF.h: Throw.
135            * src/float/dfloat/conv/cl_DF_from_double.cc: Throw.
136            * src/float/dfloat/elem/cl_DF_div.cc: Throw.
137            * src/float/dfloat/elem/cl_DF_from_RA.cc: Throw.
138            * src/float/dfloat/elem/cl_DF_scale.cc: Throw.
139            * src/float/dfloat/elem/cl_DF_scale_I.cc: Throw.
140            * src/float/dfloat/misc/cl_DF_as.cc: Throw.
141            * src/float/lfloat/algebraic/cl_LF_sqrt.cc: Throw.
142            * src/float/lfloat/elem/cl_LF_1plus.cc: Throw.
143            * src/float/lfloat/elem/cl_LF_I_div.cc: Throw.
144            * src/float/lfloat/elem/cl_LF_I_mul.cc: Throw.
145            * src/float/lfloat/elem/cl_LF_div.cc: Throw.
146            * src/float/lfloat/elem/cl_LF_from_I.cc: Throw.
147            * src/float/lfloat/elem/cl_LF_mul.cc: Throw.
148            * src/float/lfloat/elem/cl_LF_scale.cc: Throw.
149            * src/float/lfloat/elem/cl_LF_scale_I.cc: Throw.
150            * src/float/lfloat/elem/cl_LF_square.cc: Throw.
151            * src/float/lfloat/misc/cl_LF_as.cc: Throw.
152            * src/float/lfloat/misc/cl_LF_shorten.cc: Throw.
153            * src/float/lfloat/misc/cl_LF_shortenrel.cc: Throw.
154            * src/float/lfloat/misc/cl_LF_shortenwith.cc: Throw.
155            * src/float/input/cl_F_read.cc: Throw.
156            * src/float/input/cl_F_read_stream.cc: Throw.
157            * src/float/misc/cl_F_as.cc: Throw.
158            * src/float/misc/cl_F_shortenrel.cc: Throw.
159            * src/float/transcendental/cl_LF_coshsinh_aux.cc: Throw.
160            * src/float/transcendental/cl_LF_cossin_aux.cc: Throw.
161            * src/float/transcendental/cl_LF_exp_aux.cc: Throw.
162            * src/float/transcendental/cl_LF_ratseries_a.cc: Throw.
163            * src/float/transcendental/cl_LF_ratseries_ab.cc: Throw.
164            * src/float/transcendental/cl_LF_ratseries_b.cc: Throw.
165            * src/float/transcendental/cl_LF_ratseries_p.cc: Throw.
166            * src/float/transcendental/cl_LF_ratseries_pa.cc: Throw.
167            * src/float/transcendental/cl_LF_ratseries_pab.cc: Throw.
168            * src/float/transcendental/cl_LF_ratseries_pb.cc: Throw.
169            * src/float/transcendental/cl_LF_ratseries_pq.cc: Throw.
170            * src/float/transcendental/cl_LF_ratseries_pqa.cc: Throw.
171            * src/float/transcendental/cl_LF_ratseries_pqab.cc: Throw.
172            * src/float/transcendental/cl_LF_ratseries_pqb.cc: Throw.
173            * src/float/transcendental/cl_LF_ratseries_q.cc: Throw.
174            * src/float/transcendental/cl_LF_ratseries_qa.cc: Throw.
175            * src/float/transcendental/cl_LF_ratseries_qab.cc: Throw.
176            * src/float/transcendental/cl_LF_ratseries_qb.cc: Throw.
177            * src/float/transcendental/cl_LF_ratseries_stream_pq.cc: Throw.
178            * src/float/transcendental/cl_LF_ratseries_stream_pqa.cc: Throw.
179            * src/float/transcendental/cl_LF_ratseries_stream_pqab.cc: Throw.
180            * src/float/transcendental/cl_LF_ratseries_stream_pqb.cc: Throw.
181            * src/float/transcendental/cl_LF_ratsumseries_pqcd_aux.cc: Throw.
182            * src/float/transcendental/cl_LF_ratsumseries_pqd.cc: Throw.
183            * src/float/transcendental/cl_LF_ratsumseries_pqd_aux.cc: Throw.
184            * src/float/transcendental/cl_LF_zeta_int.cc: Throw.
185            * src/real/elem/cl_R_div.cc: Throw.
186            * src/real/format-output/cl_fmt_cardinal.cc: Throw.
187            * src/real/format-output/cl_fmt_newroman.cc: Throw.
188            * src/real/format-output/cl_fmt_oldroman.cc: Throw.
189            * src/real/input/cl_R_read.cc: Throw.
190            * src/real/input/cl_R_read_stream.cc: Throw.
191            * src/real/misc/cl_R_as.cc: Throw.
192            * src/real/random/cl_R_random.cc: Throw.
193            * src/real/transcendental/cl_R_atan2.cc: Throw.
194            * src/real/transcendental/cl_R_log.cc: Throw.
195            * src/complex/input/cl_N_read.cc: Throw.
196            * src/complex/input/cl_N_read_stream.cc: Throw.
197            * src/complex/misc/cl_N_as.cc: Throw.
198            * src/complex/transcendental/cl_C_atanh_aux.cc: Throw.
199            * src/complex/transcendental/cl_C_expt_C.cc: Throw.
200            * src/complex/transcendental/cl_C_log.cc: Throw.
201            * src/complex/transcendental/cl_C_log2.cc: Throw.
202            * src/numtheory/cl_nt_cornacchia1.cc: Throw.
203            * src/numtheory/cl_nt_cornacchia4.cc: Throw.
204            * src/numtheory/cl_nt_isprobprime.cc: Throw.
205            * src/numtheory/cl_nt_jacobi.cc: Throw.
206            * src/numtheory/cl_nt_jacobi_low.cc: Throw.
207            * src/numtheory/cl_nt_sqrtmodp.cc: Throw.
208            * src/modinteger/cl_MI.cc: Throw.
209            * src/modinteger/cl_MI_int.h: Throw.
210            * src/modinteger/cl_MI_montgom.h: Throw.
211            * src/modinteger/cl_MI_pow2.h: Throw.
212            * src/modinteger/cl_MI_rshift.cc: Throw.
213            * src/modinteger/cl_MI_std.h: Throw.
214            * src/polynomial/elem/cl_UP_GF2.h: Throw.
215            * src/polynomial/elem/cl_UP_MI.h: Throw.
216            * src/polynomial/elem/cl_UP_gen.h: Throw.
217            * src/polynomial/elem/cl_UP_named.cc: Throw.
218            * src/polynomial/elem/cl_UP_no_ring.cc (uninitialized_error,
219            uninitialized_ring): Removed (see cln/ring.h.)
220            * src/polynomial/elem/cl_UP_number.h: Throw.
221            * src/polynomial/elem/cl_UP_unnamed.cc: Throw.
222            * src/vector/cl_GV_I.cc: Throw.
223            * src/vector/cl_GV_number.cc: Throw.
224            * tests/timediv2adic-compare.cc: Use default abort(), not cl_abort().
225            * tests/timeprint-compare.cc: Likewise.
226            * tests/timerecip2adic-compare.cc: Likewise.
227            * doc/cln.tex: Document the exception classes.
228            * examples/contfrac.cc: Use try/catch instead of setjmp/longjmp.
229            * INSTALL: undocument -fno-exceptions.
230            * README: Add exceptions to list of used C++ features.
231    
232    2007-06-20  Richard B. Kreckel  <kreckel@ginac.de>
233    
234            * cln.spec.in (Source0): Package is bzip2-compressed.
235            Reported by Markus Grabner <grabner@icg.tugraz.at>.
236    
237    2007-05-31  Richard B. Kreckel  <kreckel@ginac.de>
238    
239            * include/cln/integer.h (cl_I_to_E, cl_I_to_UE): New functions.
240            * src/float/transcendental/cl_LF_exp_aux.cc: Make lq argument an uintE.
241            * src/float/transcendental/cl_LF_cossin_aux.cc: Likewise.
242            * src/float/transcendental/cl_LF_coshsinh_aux.cc: Likewise.
243            * src/float/transcendental/cl_F_tran.h: Change declaration of lq.
244            * src/float/transcendental/cl_F_lnx.cc: Fix some exponent types.
245            * src/float/transcendental/cl_F_expx.cc: Likewise.
246            * src/float/transcendental/cl_F_sinh.cc: Likewise.
247            * src/float/transcendental/cl_F_atanx.cc: Likewise.
248            * src/float/transcendental/cl_F_coshsinh.cc: Likewise.
249            * src/float/transcendental/cl_LF_cossin.cc: Likewise.
250            * src/float/transcendental/cl_LF_coshsinh.cc: Likewise.
251    
252    2007-04-09  Richard B. Kreckel  <kreckel@ginac.de>
253    
254            More memory efficient constants:
255            * src/float/transcendental/cl_LF_pi.cc (compute_pi_ramanujan_163_fast):
256            Compute series coefficients on demand, using a series stream object.
257            * src/float/transcendental/cl_LF_zeta3.cc (zeta3): Likewise.
258            * src/float/transcendental/cl_LF_catalanconst.cc
259            (compute_catalanconst_ramanujan_fast): Likewise.
260            (compute_catalanconst_lupas): New function.
261            (compute_catalanconst): Simplify, based on new benchmark.
262    
263    2007-04-02  Alexei Sheplyakov  <varg@theor.jinr.ru>
264    
265            Debian Bug#412103:
266            * cln.pc.in: list -lgmp in Libs.private instead of in Libs.
267            * doc/cln.tex: Undocument cln-config, properly document pkg-config.
268            * cln-config.1.in: Remove.
269            * cln-config.in: Remove.
270            * cln.m4: Remove.
271            * configure.ac: Don't output cln-config and cln-config.1.
272    
273    2006-12-24  Bruno Haible  <bruno@clisp.org>
274    
275            Make autoconfiguration work with gcc-4.3 snapshots.
276            * autoconf/intparam.c (main1): Rename get_integer_bitsize to
277            get_unsigned_integer_bitsize. New macro get_signed_integer_bitsize.
278    
279    2006-12-19  Bruno Haible  <bruno@clisp.org>
280    
281            * autoconf/intparam.c (main): Use 'return', not exit().
282            * autoconf/floatparam.c (main): Likewise.
283            Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
284    
285    2006-12-11  Richard B. Kreckel  <kreckel@ginac.de>
286    
287            Extend the exponent range from 32 bits to 64 bits on selected platforms.
288            * include/cln/number.h: Add signatures for operations with long long.
289            * include/cln/complex_class.h: Likewise.
290            * include/cln/real_class.h: Likewise.
291            * include/cln/real.h: Likewise.
292            * include/cln/rational_class.h: Likewise.
293            * include/cln/rational.h: Likewise.
294            * include/cln/integer_class.h: Likewise.
295            * include/cln/integer.h: Likewise.
296            * include/cln/float.h: Likewise.
297            * include/cln/lfloat.h: Likewise.
298            * include/cln/types.h (sintE and uintE): New types for exponents.
299            * include/cln/*float.h: Use the new types for exponents.
300            * include/cln/floatformat.h (float_format_t): Make underlying type
301            compatible with sintE.
302            * doc/cln.tex: Document changed float_exponent return value.
303            * src/float/cl_F.h: Likewise.
304            * src/float/ffloat/misc/cl_FF_exponent.cc: Likewise.
305            * src/float/input/cl_F_read.cc: Likewise.
306            * src/float/lfloat/cl_LF.h: Likewise.
307            * src/float/lfloat/cl_LF_impl.h: Likewise.
308            * src/float/lfloat/algebraic/cl_LF_sqrt.cc: Likewise.
309            * src/float/lfloat/elem/cl_LF_1plus.cc: Likewise.
310            * src/float/lfloat/elem/cl_LF_I_div.cc: Likewise.
311            * src/float/lfloat/elem/cl_LF_I_mul.cc: Likewise.
312            * src/float/lfloat/elem/cl_LF_compare.cc: Likewise.
313            * src/float/lfloat/elem/cl_LF_div.cc: Likewise.
314            * src/float/lfloat/elem/cl_LF_from_I.cc: Likewise.
315            * src/float/lfloat/elem/cl_LF_fround.cc: Likewise.
316            * src/float/lfloat/elem/cl_LF_ftrunc.cc: Likewise.
317            * src/float/lfloat/elem/cl_LF_futrunc.cc: Likewise.
318            * src/float/lfloat/elem/cl_LF_mul.cc: Likewise.
319            * src/float/lfloat/elem/cl_LF_scale.cc: Likewise.
320            * src/float/lfloat/elem/cl_LF_scale_I.cc: Likewise.
321            * src/float/lfloat/elem/cl_LF_square.cc: Likewise.
322            * src/float/lfloat/elem/cl_LF_to_I.cc: Likewise.
323            * src/float/lfloat/misc/cl_LF_decode.cc: Likewise.
324            * src/float/lfloat/misc/cl_LF_exponent.cc: Likewise.
325            * src/float/lfloat/misc/cl_LF_idecode.cc: Likewise.
326            * src/float/lfloat/misc/cl_LF_shortenrel.cc: Likewise.
327            * src/float/lfloat/misc/cl_LF_shortenwith.cc: Likewise.
328            * src/float/misc/cl_F_decode.cc: Likewise.
329            * src/float/misc/cl_F_exponent.cc: Likewise.
330            * src/float/misc/cl_F_shortenrel.cc: Likewise.
331            * src/float/misc/cl_float_format.cc: Likewise.
332            * src/float/output/cl_F_dprint.cc: Likewise.
333            * src/float/sfloat/misc/cl_SF_exponent.cc: Likewise.
334            * src/float/transcendental/cl_F_atanhx.cc: Likewise.
335            * src/float/transcendental/cl_F_atanx.cc: Likewise.
336            * src/float/transcendental/cl_F_cosh.cc: Likewise.
337            * src/float/transcendental/cl_F_expx.cc: Likewise.
338            * src/float/transcendental/cl_F_lnx.cc: Likewise.
339            * src/float/transcendental/cl_F_sinhx.cc: Likewise.
340            * src/float/transcendental/cl_F_sinx.cc: Likewise.
341            * src/float/transcendental/cl_LF_pi.cc: Likewise.
342            * src/integer/cl_I.h: Likewise.
343            * src/complex/algebraic/cl_LF_hypot.cc: Likewise.
344            * src/complex/elem/division/cl_C_LF_recip.cc: Likewise.
345            * src/float/dfloat/misc/cl_DF_exponent.cc: Likewise.
346            * src/integer/conv/cl_I_from_Q2.cc: Added.
347            * src/base/cl_low.h (isqrtC): New function, for 64 bit falls back to...
348            * src/base/low/cl_low_isqrt.cc (isqrt): ...this new implementation.
349            * src/base/cl_macros.h (bitc): Make sure 64 bit is used if required by
350            exponent operations.
351            * examples/pi.cc: Support more than 646456614 decimal digits.
352    
353    2006-11-02  Richard B. Kreckel  <kreckel@ginac.de>
354    
355            * src/base/digitseq/cl_DS.h: #undef DS, needed for i386-Solaris.
356    
357    2006-10-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
358    
359            * tests/Makefile.in (VPATH): Fix syntax error.
360    
361    2006-09-14  Richard B. Kreckel  <kreckel@ginac.de>
362    
363            * examples/perfnum.cc: update to presumed 44th Mersenne prime.
364    
365    2006-08-15  Richard B. Kreckel  <kreckel@ginac.de>
366    
367            * tests/Makefile.in: MinGW support for make check
368            (Patch by Sheplyakov Alexei <varg@theor.jinr.ru> to add ${EXEEXT}).
369            * Makefile.in: Convert from $(VAR) to ${VAR} syntax.
370            * benchmarks/Makefile.in: Likewise.
371            * doc/Makefile.in: Likewise.
372            * examples/Makefile.in: Likewise.
373            * src/Makefile.in: Likewise.
374            * tests/Makefile.in: Likewise.
375    
376    2006-08-06  Richard B. Kreckel  <kreckel@ginac.de>
377    
378            * configure.ac: Re-enable shared lib on non-MinGW platforms, sigh.
379    
380    2006-08-04  Sheplyakov Alexei  <varg@theor.jinr.ru>
381    
382            * configure.ac: Disable shared lib on MinGW.
383    
384    2006-08-03  Sheplyakov Alexei  <varg@theor.jinr.ru>
385    
386            * m4/param.m4: Add support for MinGW.
387            * src/base/random/cl_random_from.cc: Fix for last patch.
388    
389    2006-07-23  Sheplyakov Alexei  <varg@theor.jinr.ru>
390    
391            * src/base/random/cl_random_from.cc: Add support for MinGW.
392    
393    2006-06-13  Richard B. Kreckel  <kreckel@ginac.de>
394    
395            * m4/general.m4 (CL_CANONICAL_HOST_CPU): Force host_cpu=i386 for x86_64
396            if userland is 32 bit.
397            * include/cln/config.h.in: Simplify __x86_64__ selection.
398            * src/base/digitseq/cl_asm_x86_64_.cc: Remove.
399    
400    2006-06-09  Richard B. Kreckel  <kreckel@ginac.de>
401    
402            * src/base/digitseq/cl_DS.h (struct DS): Change len type to uintC.
403    
404    2006-05-30  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
405    
406            * m4/gettimeofday.m4 (CL_GETTIMEOFDAY): Fix M4 quoting.
407    
408    2006-05-20  Bruno Haible  <bruno@clisp.org>
409    
410            * src/base/random/cl_random_from.cc: Treat FreeBSD, NetBSD like other
411            Unix platforms.
412    
413    2006-05-07  Richard B. Kreckel  <kreckel@ginac.de>
414    
415            * include/cln/modules.h (CL_JUMP_TO): Fix for Intel Mac.
416    
417    2006-04-25  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
418    
419            Prepare for autoconf-2.60.
420            * Makefile.in (datarootdir): New variable.
421            * src/Makefile.in (datarootdir): New variable.
422            * doc/Makefile.in (datarootdir): New variable.
423    
424    2006-04-25  Bruno Haible  <bruno@clisp.org>
425                Richard B. Kreckel  <kreckel@ginac.de>
426    
427            Make it theoretically possible to use bignums and long-floats with
428            more than 2^32 significant digits or bits.
429            * doc/cln.tex (logcount): Change return type to uintC.
430            (struct cl_byte): Change elements to uintC.
431            (integer_length, ord2, power2p): Change return type to uintC.
432            (scale_float): Change argument type to sintC.
433            (float_digits, float_precision): Change return type to uintC.
434            * examples/atan_recip.cc: Use uintC instead of uintL where appropriate.
435            * examples/atanh_recip.cc: Likewise.
436            * include/cln/GV.h: Likewise.
437            * include/cln/GV_complex.h: Likewise.
438            * include/cln/GV_integer.h: Likewise.
439            * include/cln/GV_modinteger.h: Likewise.
440            * include/cln/GV_number.h: Likewise.
441            * include/cln/GV_rational.h: Likewise.
442            * include/cln/GV_real.h: Likewise.
443            * include/cln/SV.h: Likewise.
444            * include/cln/SV_complex.h: Likewise.
445            * include/cln/SV_integer.h: Likewise.
446            * include/cln/SV_number.h: Likewise.
447            * include/cln/SV_rational.h: Likewise.
448            * include/cln/SV_real.h: Likewise.
449            * include/cln/SV_ringelt.h: Likewise.
450            * include/cln/dfloat.h: Likewise.
451            * include/cln/ffloat.h: Likewise.
452            * include/cln/float.h: Likewise.
453            * include/cln/integer.h: Likewise.
454            * include/cln/lfloat.h: Likewise.
455            * include/cln/modinteger.h: Likewise.
456            * include/cln/sfloat.h: Likewise.
457            * src/base/cl_low.h (integerlengthC): New macro.
458            * src/base/digitseq/cl_2DS_div.cc: Use uintC instead of uintL where
459            appropriate.
460            * src/base/digitseq/cl_2DS_recip.cc: Likewise.
461            * src/base/digitseq/cl_DS.h: Likewise.
462            * src/base/digitseq/cl_DS_mul.c: Likewise.
463            * src/base/digitseq/cl_DS_mul_fftc.h: Likewise.
464            * src/base/digitseq/cl_DS_mul_fftcs.h: Likewise.
465            * src/base/digitseq/cl_DS_mul_fftm.h: Likewise.
466            * src/base/digitseq/cl_DS_mul_fftp.h: Likewise.
467            * src/base/digitseq/cl_DS_mul_fftp3.h: Likewise.
468            * src/base/digitseq/cl_DS_mul_fftp3m.h: Likewise.
469            * src/base/digitseq/cl_DS_mul_fftr.h: Likewise.
470            * src/base/digitseq/cl_DS_mul_kara.h: Likewise.
471            * src/base/digitseq/cl_DS_mul_nuss.h: Likewise.
472            * src/base/digitseq/cl_DS_recip.cc: Likewise.
473            * src/base/digitseq/cl_DS_recipsqrt.cc: Likewise.
474            * src/base/digitseq/cl_DS_sqrt.cc: Likewise.
475            * src/base/digitseq/cl_DS_trandom.cc: Likewise.
476            * src/complex/input/cl_N_read.cc: Likewise.
477            * src/complex/transcendental/cl_C_asinh_aux.cc: Likewise.
478            * src/complex/transcendental/cl_C_expt_C.cc: Likewise.
479            * src/float/cl_F.h: Likewise.
480            * src/float/conv/cl_F_from_F_f.cc: Likewise.
481            * src/float/conv/cl_F_from_I_f.cc: Likewise.
482            * src/float/conv/cl_F_from_RA_f.cc: Likewise.
483            * src/float/dfloat/conv/cl_I_to_double.cc: Likewise.
484            * src/float/dfloat/conv/cl_RA_to_double.cc: Likewise.
485            * src/float/dfloat/elem/cl_DF_from_I.cc: Likewise.
486            * src/float/dfloat/elem/cl_DF_from_RA.cc: Likewise.
487            * src/float/dfloat/elem/cl_DF_scale.cc: Likewise.
488            * src/float/dfloat/misc/cl_DF_digits.cc: Likewise.
489            * src/float/dfloat/misc/cl_DF_precision.cc: Likewise.
490            * src/float/elem/cl_F_scale.cc: Likewise.
491            * src/float/ffloat/conv/cl_I_to_float.cc: Likewise.
492            * src/float/ffloat/conv/cl_RA_to_float.cc: Likewise.
493            * src/float/ffloat/elem/cl_FF_from_I.cc: Likewise.
494            * src/float/ffloat/elem/cl_FF_from_RA.cc: Likewise.
495            * src/float/ffloat/elem/cl_FF_scale.cc: Likewise.
496            * src/float/ffloat/misc/cl_FF_digits.cc: Likewise.
497            * src/float/ffloat/misc/cl_FF_precision.cc: Likewise.
498            * src/float/input/cl_F_read.cc: Likewise.
499            * src/float/lfloat/algebraic/cl_LF_sqrt.cc: Likewise.
500            * src/float/lfloat/elem/cl_LF_1plus.cc: Likewise.
501            * src/float/lfloat/elem/cl_LF_I_div.cc: Likewise.
502            * src/float/lfloat/elem/cl_LF_I_mul.cc: Likewise.
503            * src/float/lfloat/elem/cl_LF_div.cc: Likewise.
504            * src/float/lfloat/elem/cl_LF_from_I.cc: Likewise.
505            * src/float/lfloat/elem/cl_LF_from_RA.cc: Likewise.
506            * src/float/lfloat/elem/cl_LF_fround.cc: Likewise.
507            * src/float/lfloat/elem/cl_LF_ftrunc.cc: Likewise.
508            * src/float/lfloat/elem/cl_LF_futrunc.cc: Likewise.
509            * src/float/lfloat/elem/cl_LF_scale.cc: Likewise.
510            * src/float/lfloat/elem/cl_LF_to_I.cc: Likewise.
511            * src/float/lfloat/misc/cl_LF_digits.cc: Likewise.
512            * src/float/lfloat/misc/cl_LF_idecode.cc: Likewise.
513            * src/float/lfloat/misc/cl_LF_leninc.cc: Likewise.
514            * src/float/lfloat/misc/cl_LF_lenincx.cc: Likewise.
515            * src/float/lfloat/misc/cl_LF_precision.cc: Likewise.
516            * src/float/lfloat/misc/cl_LF_shortenrel.cc: Likewise.
517            * src/float/lfloat/misc/cl_LF_shortenwith.cc: Likewise.
518            * src/float/misc/cl_F_digits.cc: Likewise.
519            * src/float/misc/cl_F_epsneg.cc: Likewise.
520            * src/float/misc/cl_F_epspos.cc: Likewise.
521            * src/float/misc/cl_F_leastneg.cc: Likewise.
522            * src/float/misc/cl_F_leastpos.cc: Likewise.
523            * src/float/misc/cl_F_mostneg.cc: Likewise.
524            * src/float/misc/cl_F_mostpos.cc: Likewise.
525            * src/float/misc/cl_F_precision.cc: Likewise.
526            * src/float/misc/cl_F_rational.cc: Likewise.
527            * src/float/misc/cl_F_shortenrel.cc: Likewise.
528            * src/float/output/cl_F_dprint.cc: Likewise.
529            * src/float/random/cl_F_random.cc: Likewise.
530            * src/float/sfloat/elem/cl_SF_from_I.cc: Likewise.
531            * src/float/sfloat/elem/cl_SF_from_RA.cc: Likewise.
532            * src/float/sfloat/elem/cl_SF_scale.cc: Likewise.
533            * src/float/sfloat/misc/cl_SF_digits.cc: Likewise.
534            * src/float/sfloat/misc/cl_SF_precision.cc: Likewise.
535            * src/float/transcendental/cl_F_atanhx.cc: Likewise.
536            * src/float/transcendental/cl_F_atanx.cc: Likewise.
537            * src/float/transcendental/cl_F_catalanconst_f.cc: Likewise.
538            * src/float/transcendental/cl_F_cos.cc: Likewise.
539            * src/float/transcendental/cl_F_cosh.cc: Likewise.
540            * src/float/transcendental/cl_F_coshsinh.cc: Likewise.
541            * src/float/transcendental/cl_F_cossin.cc: Likewise.
542            * src/float/transcendental/cl_F_eulerconst_f.cc: Likewise.
543            * src/float/transcendental/cl_F_exp1_f.cc: Likewise.
544            * src/float/transcendental/cl_F_expx.cc: Likewise.
545            * src/float/transcendental/cl_F_ln10_f.cc: Likewise.
546            * src/float/transcendental/cl_F_ln2_f.cc: Likewise.
547            * src/float/transcendental/cl_F_lnx.cc: Likewise.
548            * src/float/transcendental/cl_F_pi_f.cc: Likewise.
549            * src/float/transcendental/cl_F_sin.cc: Likewise.
550            * src/float/transcendental/cl_F_sinh.cc: Likewise.
551            * src/float/transcendental/cl_F_sinhx.cc: Likewise.
552            * src/float/transcendental/cl_F_sinx.cc: Likewise.
553            * src/float/transcendental/cl_F_tran.h: Likewise.
554            * src/float/transcendental/cl_F_zeta_int_f.cc: Likewise.
555            * src/float/transcendental/cl_LF_atan_recip.cc: Likewise.
556            * src/float/transcendental/cl_LF_atanh_recip.cc: Likewise.
557            * src/float/transcendental/cl_LF_catalanconst.cc: Likewise.
558            * src/float/transcendental/cl_LF_coshsinh_aux.cc: Likewise.
559            * src/float/transcendental/cl_LF_cossin_aux.cc: Likewise.
560            * src/float/transcendental/cl_LF_eulerconst.cc: Likewise.
561            * src/float/transcendental/cl_LF_exp1.cc: Likewise.
562            * src/float/transcendental/cl_LF_exp_aux.cc: Likewise.
563            * src/float/transcendental/cl_LF_pi.cc: Likewise.
564            * src/float/transcendental/cl_LF_ratseries.cc: Likewise.
565            * src/float/transcendental/cl_LF_ratseries_.cc: Likewise.
566            * src/float/transcendental/cl_LF_ratseries_a.cc: Likewise.
567            * src/float/transcendental/cl_LF_ratseries_ab.cc: Likewise.
568            * src/float/transcendental/cl_LF_ratseries_b.cc: Likewise.
569            * src/float/transcendental/cl_LF_ratseries_p.cc: Likewise.
570            * src/float/transcendental/cl_LF_ratseries_pa.cc: Likewise.
571            * src/float/transcendental/cl_LF_ratseries_pab.cc: Likewise.
572            * src/float/transcendental/cl_LF_ratseries_pb.cc: Likewise.
573            * src/float/transcendental/cl_LF_ratseries_pq.cc: Likewise.
574            * src/float/transcendental/cl_LF_ratseries_pqa.cc: Likewise.
575            * src/float/transcendental/cl_LF_ratseries_pqab.cc: Likewise.
576            * src/float/transcendental/cl_LF_ratseries_pqb.cc: Likewise.
577            * src/float/transcendental/cl_LF_ratseries_q.cc: Likewise.
578            * src/float/transcendental/cl_LF_ratseries_qa.cc: Likewise.
579            * src/float/transcendental/cl_LF_ratseries_qab.cc: Likewise.
580            * src/float/transcendental/cl_LF_ratseries_qb.cc: Likewise.
581            * src/float/transcendental/cl_LF_ratseries_stream_pq.cc: Likewise.
582            * src/float/transcendental/cl_LF_ratseries_stream_pqa.cc: Likewise.
583            * src/float/transcendental/cl_LF_ratseries_stream_pqab.cc: Likewise.
584            * src/float/transcendental/cl_LF_ratseries_stream_pqb.cc: Likewise.
585            * src/float/transcendental/cl_LF_ratsumseries_pqcd.cc: Likewise.
586            * src/float/transcendental/cl_LF_ratsumseries_pqcd_aux.cc: Likewise.
587            * src/float/transcendental/cl_LF_ratsumseries_pqd.cc: Likewise.
588            * src/float/transcendental/cl_LF_ratsumseries_pqd_aux.cc: Likewise.
589            * src/float/transcendental/cl_LF_tran.h: Likewise.
590            * src/float/transcendental/cl_LF_zeta3.cc: Likewise.
591            * src/float/transcendental/cl_LF_zeta_int.cc: Likewise.
592            * src/integer/algebraic/cl_I_rootp_I.cc: Likewise.
593            * src/integer/algebraic/cl_I_rootp_aux.cc: Likewise.
594            * src/integer/bitwise/cl_I_ash.cc: Likewise.
595            * src/integer/bitwise/cl_I_ash_I.cc: Likewise.
596            * src/integer/bitwise/cl_I_byte.h: Likewise.
597            * src/integer/bitwise/cl_I_fullbyte.cc: Likewise.
598            * src/integer/bitwise/cl_I_ilength.cc: Likewise.
599            * src/integer/bitwise/cl_I_ldb.cc: Likewise.
600            * src/integer/bitwise/cl_I_ldbtest.cc: Likewise.
601            * src/integer/bitwise/cl_I_ldbx.cc: Likewise.
602            * src/integer/bitwise/cl_I_ldbxtest.cc: Likewise.
603            * src/integer/bitwise/cl_I_logbitp.cc: Likewise.
604            * src/integer/bitwise/cl_I_logbitp_I.cc: Likewise.
605            * src/integer/bitwise/cl_I_logcount.cc: Likewise.
606            * src/integer/bitwise/cl_I_mkf.cc: Likewise.
607            * src/integer/bitwise/cl_I_mkfx.cc: Likewise.
608            * src/integer/cl_I.h: Likewise.
609            * src/integer/conv/cl_I_to_digits.cc: Likewise.
610            * src/integer/conv/cl_I_digits_need.cc: Likewise.
611            * src/integer/conv/cl_I_from_digits.cc: Likewise.
612            * src/integer/gcd/cl_I_gcd.cc: Likewise.
613            * src/integer/gcd/cl_I_xgcd.cc: Likewise.
614            * src/integer/misc/cl_I_eqhashcode.cc: Likewise.
615            * src/integer/misc/cl_I_ord2.cc: Likewise.
616            * src/integer/misc/cl_I_power2p.cc: Likewise.
617            * src/integer/output/cl_I_cached_power.h (cached_power_table): allow
618            for 40 elements.
619            * src/integer/output/cl_I_decstring.cc: Use uintC instead of uintL
620            where appropriate.
621            * src/integer/output/cl_I_print.cc: Likewise.
622            * src/integer/output/cl_I_print_string.cc: Likewise.
623            * src/modinteger/cl_MI.cc: Likewise.
624            * src/modinteger/cl_MI_lshift.cc: Likewise.
625            * src/modinteger/cl_MI_montgom.h: Likewise.
626            * src/modinteger/cl_MI_pow2.h: Likewise.
627            * src/modinteger/cl_MI_pow2m1.h: Likewise.
628            * src/modinteger/cl_MI_pow2p1.h: Likewise.
629            * src/modinteger/cl_MI_rshift.cc: Likewise.
630            * src/modinteger/cl_MI_std.h: Likewise.
631            * src/numtheory/cl_IF_millerrabin.cc: Likewise.
632            * src/numtheory/cl_nt_isprobprime.cc: Likewise.
633            * src/numtheory/cl_nt_sqrtmodp.cc: Likewise.
634            * src/polynomial/elem/cl_UP_GF2.h: Likewise.
635            * src/real/conv/cl_F_from_R_f.cc: Likewise.
636            * src/real/format-output/cl_fmt_floatstring.cc: Likewise.
637            * src/real/input/cl_R_read.cc: Likewise.
638            * src/vector/cl_GV_I.cc: Likewise.
639            * src/vector/cl_GV_I_copy.cc: Likewise.
640            * src/vector/cl_GV_number.cc: Likewise.
641            * src/vector/cl_GV_number_copy.cc: Likewise.
642            * src/vector/cl_SV_copy.cc: Likewise.
643            * src/vector/cl_SV_number.cc: Likewise.
644            * src/vector/cl_SV_ringelt.cc: Likewise.
645            * tests/main.cc: Likewise.
646            * tests/test_I_ilength.cc: Likewise.
647            * tests/test_I_ord2.cc: Likewise.
648    
649    2006-04-19  Bruno Haible  <bruno@clisp.org>
650    
651            Prepare for autoconf-2.60.
652            * general.m4 (CL_CC_WORKS): Include <stdlib.h>, for exit() declaration.
653            * longdouble.m4 (CL_LONGDOUBLE): Likewise.
654            * longlong.m4 (CL_LONGLONG): Likewise.
655            * times.m4 (CL_TIMES_CLOCK): Likewise.
656            Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
657    
658    2005-12-04  Bruno Haible  <bruno@clisp.org>
659    
660            * src/integer/conv/cl_I_to_digits.cc (I_to_digits_noshrink): Set
661            erg->len at the end.
662    
663    2005-12-04  Bruno Haible  <bruno@clisp.org>
664    
665            Extend the fixnum range from 32 bits to 61 bits on 64-bit platforms.
666            * doc/cln.tex (gcd, jacobi): Take 'long' instead of 'int32' arguments.
667            * include/cln/object.h (cl_value_shift): Define as 3, not 32, in the
668            64-bit case.
669            * include/cln/types.h (intVsize): New macro.
670            (sintV, uintV): New types.
671            * include/cln/integer.h (gcd): Take uintV arguments.
672            * include/cln/numtheory.h (jacobi): Take sintV arguments.
673            * src/complex/input/cl_N_read.cc (read_complex): Call FN_to_UV instead
674            of FN_to_UL.
675            * src/complex/transcendental/cl_C_expt_C.cc: Likewise.
676            * src/float/dfloat/elem/cl_DF_scale_I.cc: Use uintV instead of uintL
677            * src/float/dfloat/elem/cl_DF_from_RA.cc: Don't assume values >= 2^53
678            and < 2^55 are always bignums.
679            where appropriate.
680            * src/float/ffloat/conv/cl_RA_to_float.cc: Call FN_to_UV instead of
681            FN_to_UL.
682            * src/float/ffloat/elem/cl_FF_from_RA.cc: Likewise.
683            * src/float/ffloat/elem/cl_FF_scale_I.cc: Call FN_to_V instead of
684            FN_to_L.
685            * src/float/lfloat/elem/cl_LF_scale_I.cc: Likewise.
686            * src/float/output/cl_F_dprint.cc: Likewise.
687            * src/float/sfloat/elem/cl_SF_from_RA.cc: Call FN_to_UV instead of
688            FN_to_UL.
689            * src/float/sfloat/elem/cl_SF_scale_I.cc: Call FN_to_V instead of
690            FN_to_L.
691            * src/integer/cl_I.h (FN_to_UV): Renamed from FN_to_UL, change return
692            type.
693            (FN_to_V): Renamed from FN_to_L, change return type.
694            (FN_V_zerop): Renamed from FN_L_zerop.
695            (FN_V_minusp): Renamed from FN_L_minusp.
696            (cl_I_constructor_from_L2, cl_I_constructor_from_UL2): Define as an
697            inline function on 64-bit platforms.
698            (V_to_I, UV_to_I): New macros.
699            (pFN_maxlength_digits_at): Return an uintV instead of an uint32.
700            (set_pFN_maxlength_digits_at): Take an uintV instead of an uint32.
701            * src/integer/algebraic/cl_I_sqrtp.cc: Call FN_to_UV instead of
702            FN_to_UL.
703            * src/integer/bitwise/cl_I_ash_I.cc: Call FN_to_V instead of FN_to_L.
704            * src/integer/bitwise/cl_I_ilength.cc: Likewise.
705            * src/integer/bitwise/cl_I_log_aux.cc: Likewise.
706            * src/integer/bitwise/cl_I_logbitp_I.cc: Likewise.
707            * src/integer/bitwise/cl_I_logcount.cc: Likewise.
708            * src/integer/bitwise/cl_I_logtest.cc: Likewise.
709            * src/integer/conv/cl_I_from_L2.cc: Don't produce code on 64-bit
710            platforms.
711            * src/integer/conv/cl_I_from_UL2.cc: Likewise.
712            * src/integer/conv/cl_I_from_NDS.cc: Update.
713            * src/integer/conv/cl_I_from_Q.cc: Remove cast to sint32.
714            * src/integer/conv/cl_I_from_UQ.cc: Remove cast to uint32.
715            * src/integer/conv/cl_I_to_L.cc: Check again fixnum that needs more
716            than 32 bits.
717            * src/integer/conv/cl_I_to_Q.cc: Call FN_to_V instead of FN_to_L.
718            * src/integer/conv/cl_I_to_UL.cc: Likewise.
719            * src/integer/conv/cl_I_to_UQ.cc: Likewise.
720            * src/integer/elem/cl_I_div.cc: Treat fixnums that need more than 32
721            bits like bignums.
722            * src/integer/elem/cl_I_minus.cc: Call FN_to_V instead of FN_to_L.
723            * src/integer/elem/cl_I_mul.cc: Likewise.
724            * src/integer/elem/cl_I_plus.cc: Likewise.
725            * src/integer/elem/cl_I_square.cc: Likewise.
726            * src/integer/elem/cl_I_uminus.cc: Likewise.
727            * src/integer/gcd/cl_I_gcd.cc: Likewise.
728            * src/integer/gcd/cl_low_gcd.cc (gcd): Take uintV arguments.
729            * src/integer/hash/cl_I_hashcode.cc: Call FN_to_V instead of FN_to_L.
730            * src/integer/input/cl_I_read.cc (read_integer): Call FN_to_UV instead
731            of FN_to_UL.
732            * src/integer/misc/cl_I_ord2.cc (ord2): Call ord2_64 on 64-bit
733            platforms.
734            * src/integer/misc/cl_I_power2p.cc: Call FN_to_UV instead of FN_to_UL.
735            * src/integer/misc/combin/cl_I_doublefactorial.cc (doublefakul_table):
736            Extend table for larger fixnums.
737            (doublefactorial): Update.
738            * src/integer/misc/combin/cl_I_factorial.cc (fakul_table): Extend table
739            for larger fixnums.
740            (factorial): Update.
741            * src/modinteger/cl_MI_fix16.h: Call FN_to_UV instead of FN_to_UL.
742            * src/modinteger/cl_MI_fix29.h: Likewise.
743            * src/modinteger/cl_MI_fix32.h: Likewise.
744            * src/modinteger/cl_MI_std.h: Likewise.
745            * src/numtheory/cl_nt_cornacchia4.cc: Call FN_to_V instead of FN_to_L.
746            * src/numtheory/cl_nt_jacobi.cc: Likewise.
747            * src/numtheory/cl_nt_jacobi_low.cc (jacobi_aux): Take uintV arguments
748            instead of uint32 arguments.
749            (jacobi): Take sintV argument instead of a sint32 argument.
750            * src/rational/input/cl_RA_read.cc: Call FN_to_UV instead of FN_to_UL.
751            * src/real/input/cl_R_read.cc: Likewise.
752            * src/vector/cl_GV_I.cc: Likewise.
753            * tests/timefact.cc: Call FN_to_V instead of FN_to_L.
754    
755    2005-12-04  Bruno Haible  <bruno@clisp.org>
756    
757            More complete 64-bit division macros.
758            * src/base/cl_low.h (divu_6432_3232_w): Choose a different macro
759            expansion on x86_64.
760            (divu_6432_6432): New macro.
761            (divu_6464_6464): Choose a different macro expansion for all CPUs
762            except sparc64 and x86_64.
763            (divu_12864_6464): Define NEED_VAR_divu_64_rest here.
764            * src/base/low/cl_low_div.cc (divu_64_rest): Avoid defining it twice.
765            (divu_6464_6464_): New function.
766    
767    2005-12-04  Bruno Haible  <bruno@clisp.org>
768    
769            * src/base/cl_low.h (ord2_64): New macro.
770    
771    2005-12-02  Bruno Haible  <bruno@clisp.org>
772    
773            * src/base/cl_low.h (mulu64) [x86_64]: Change asm restriction, since
774            mulq doesn't accept immediate arguments.
775    
776    2005-11-26  Bruno Haible  <bruno@clisp.org>
777    
778            * src/base/cl_low.h (GENERIC_INTEGERLENGTH32): New macro.
779            (integerlength64): Define using integerlength32 if integerlength32
780            is not defined generically.
781    
782    2005-11-26  Bruno Haible  <bruno@clisp.org>
783    
784            * src/base/cl_low.h (mulu32) [SPARC64]: Remove rd instruction, since
785            umul returns the complete 64-bit product in a register.
786            (mulu32_w) [SPARC64]: Prefer umul over mulx instruction.
787            (divu_6432_3232_w) [SPARC64]: Prefer umul/udiv over mulx/udivx
788            instructions.
789    
790    2005-11-26  Bruno Haible  <bruno@clisp.org>
791    
792            * src/base/cl_low.h (divu_3216_1616): Prepend underscore to local
793            variables.
794    
795    2005-11-26  Bruno Haible  <bruno@clisp.org>
796    
797            * src/base/cl_low.h (ord2_32): Parenthesize macro argument.
798    
799    2005-12-17  Richard B. Kreckel  <kreckel@ginac.de>
800    
801            * Created branch cln_1-1 for maintenance patches.
802            This is the main branch, which will eventually become CLN 1.2.0.
803    
804    2005-12-15  Dmitry V. Kustov  <kustov@telex221.ru>
805    
806            * src/base/random/cl_random_from.cc: Add support for OpenBSD.
807    
808    2005-11-23  Richard B. Kreckel  <kreckel@ginac.de>
809    
810            * Version 1.1.11 released.
811    
812    2005-11-20  Richard B. Kreckel  <kreckel@ginac.de>
813    
814            * src/integer/conv/cl_I_cached_power.h: New file.
815            * src/integer/conv/cl_I_cached_power.cc: New file.
816            Contains power_table and cached_power_table previously...
817            * src/integer/conv/cl_I_to_digits.cc: ...here.
818            * src/integer/conv/cl_I_from_digits.cc: Use cached powers.
819    
820    2005-11-02  Richard B. Kreckel  <kreckel@ginac.de>
821    
822            * src/integer/conv/cl_I_from_digits.cc: Made input of all numbers in
823            non-power-of-two base much faster.
824            * tests/test_I_io.cc: New file...
825            * tests/Makefile.in, tests/test_I.cc: ...used here.
826    
827    2005-10-22  Richard B. Kreckel  <kreckel@ginac.de>
828    
829            * Version 1.1.10 released.
830    
831    2005-10-22  Richard B. Kreckel  <kreckel@ginac.de>
832    
833            * src/Makefile.in: Accept CPPFLAGS from environment.
834            * examples/Makefile.in: Likewise.
835            * benchmarks/Makefile.in: Likewise.
836            * tests/Makefile.in: Likewise.
837    
838    2005-08-30  Richard B. Kreckel  <kreckel@ginac.de>
839    
840            * include/cln/modules.h (CL_OUTPUT_LABEL): Work around redundant
841            duplication of basic blocks on m68k.
842    
843    2005-08-30  Richard B. Kreckel  <kreckel@ginac.de>
844    
845            * include/cln/modules.h (CL_JUMP_TO): Fix mips* brokenness.
846    
847    2005-08-27  Bruno Haible  <bruno@clisp.org>
848    
849            Split aclocal.m4 into individual files.
850            * m4/alloca.m4, m4/as-underscore.m4, m4/c++-constructors.m4:
851            * m4/fpu_control.m4, m4/general.m4, m4/gettimeofday.m4:
852            * m4/longdouble.m4, m4/longlong.m4, m4/param.m4, m4/perror.m4:
853            * m4/proto.m4, m4/rusage.m4, m4/times.m4:
854            New files, extracted from autoconf/aclocal.m4.
855            * autoconf/aclocal.m4: m4_include them.
856            * Makefile.devel (AUTOCONF_MACROS): New variable.
857            (configure): Depend on it.
858            (CLISP_M4DIR): Remove variable.
859            (autoconf/aclocal.m4): Remove rule.
860    
861    2005-08-27  Bruno Haible  <bruno@clisp.org>
862    
863            * src/integer/bitwise/cl_I_ash_I.cc (ash): Avoid shifting a 32-bit
864            zero value by more than 31 bits.
865    
866    2005-08-27  Bruno Haible  <bruno@clisp.org>
867    
868            Make the long-float overflow check work on 64-bit platforms.
869            * src/float/lfloat/cl_LF.h (LF_exp_mid, LF_exp_high): Define as
870            'unsigned int', not 'unsigned long'.
871    
872    2005-08-27  Bruno Haible  <bruno@clisp.org>
873    
874            * include/cln/modules.h (CL_OUTPUT_LABEL): Work around redundant
875            duplication of basic blocks by g++ 4.0.
876            See <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23345>.
877    
878    2005-08-27  Bruno Haible  <bruno@clisp.org>
879    
880            Make it possible to cross-compile CLN.
881            * m4/intparam.m4: New file.
882            * m4/floatparam.m4: New file.
883            * autoconf/aclocal.m4: Include both.
884            (CL_MACHINE): Add an additional CROSS_MACRO parameter.
885            * configure.ac (CL_MACHINE): When cross-compiling, use
886            CL_INTPARAM_CROSS and CL_FLOATPARAM_CROSS.
887    
888    2005-08-27  Bruno Haible  <bruno@clisp.org>
889    
890            Define HAVE_LONGLONG and HAVE_LONGDOUBLE when cross-compiling.
891            * autoconf/aclocal.m4 (CL_LONGLONG, CL_LONGDOUBLE): When cross-
892            compiling, use the test code from gnulib.
893    
894    2005-08-27  Bruno Haible  <bruno@clisp.org>
895    
896            * autoconf/aclocal.m4 (CL_RUSAGE): Fix error when cross-compiling.
897    
898    2005-08-16  Richard B. Kreckel  <kreckel@ginac.de>
899    
900            The patch of 2005-05-01 made it impossible to test the type of a cl_UP
901            by comparing with &cl_class_univpoly_ring. We need an alternative:
902            * include/cln/object.h (cl_class_flags_modint_ring): New #define...
903            * src/polynomial/elem/cl_UP.cc (cl_class_univpoly_ring): ...used here.
904            * src/polynomial/elem/cl_UP_GF2.h: Likewise.
905            * src/polynomial/elem/cl_UP_MI.h: Likewise.
906            * src/polynomial/elem/cl_UP_gen.h: Likewise.
907            * src/polynomial/elem/cl_UP_number.h: Likewise.
908    
909    2005-08-15  Richard B. Kreckel  <kreckel@ginac.de>
910    
911            * m4/cc.m4 (CL_AS_NOEXECSTACK): New macro...
912            * configure.ac: ...used here for setting ASMFLAGS...
913            * src/Makefile.in: ...which are used here.
914    
915    2005-08-02  Andreas Jochens  <aj@andaco.de>
916    
917            * include/cln/config.h.in: Add support for PowerPC 64 CPU.
918            * include/cln/modules.h: Likewise.
919            * include/cln/object.h: Likewise.
920            * include/cln/types.h: Likewise.
921    
922    2005-07-24  Richard B. Kreckel  <kreckel@ginac.de>
923    
924            Make out of the box build on x86_64 system with complete 32 bit
925            userland possible
926            * include/cln/config.h.in: Don't #define __x86_64__ when
927            __i386__ is defined.
928            * src/base/digitseq/cl_asm_x86_64_.cc: New file.
929            * doc/cln.tex: Revert workaround description introduced 2005-05-02.
930    
931    2005-06-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
932    
933            * Makefile.in: Don't enter nonexisting directories.
934    
935    2005-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
936    
937            Speed up the linking step
938            * src/Makefile.in: Use -objectlist for linking libcln.la.
939    
940    2005-05-15  Richard B. Kreckel  <kreckel@ginac.de>
941    
942            * autoconf/ltmain.sh: Upgrade to libtool-1.5.16.
943            * m4/libtool.m4: Upgrade to libtool-1.5.16 (without Comeau patch).
944    
945    2005-05-02  Richard B. Kreckel  <kreckel@ginac.de>
946    
947            * doc/cln.tex: Document what to do on a x86_64 machine with 32-bit
948            userland.
949    
950    2005-05-01  Richard B. Kreckel  <kreckel@ginac.de>
951    
952            Fix crashes in find_univpoly_ring and related functions
953            * include/cln/modinteger.h: Remove vptr from cl_heap_modint_ring;
954            remove declaration of cl_class cl_class_modint_ring.
955            * include/cln/univpoly.h: Remove vptr from cl_heap_univpoly_ring;
956            remove declaration of cl_class_univpoly_ring.
957            * include/cln/object.h: cl_class_flags_modint_ring: New #define...
958            * src/modinteger/cl_MI.cc: ...used in cl_class_modint_ring.
959            * src/modinteger/cl_MI_fix16.h: No vptr, but static dtor and type flag.
960            * src/modinteger/cl_MI_fix29.h: Likewise.
961            * src/modinteger/cl_MI_fix32.h: Likewise.
962            * src/modinteger/cl_MI_int32.h: Likewise.
963            * src/modinteger/cl_MI_montgom.h: Likewise.
964            * src/modinteger/cl_MI_pow2: Likewise.
965            * src/modinteger/cl_MI_pow2m1.h: Likewise.
966            * src/modinteger/cl_MI_pow2p1.h: Likewise.
967            * src/modinteger/cl_MI_std.h: Likewise.
968            * src/polynomial/elem/cl_UP.cc (cl_make_univpoly_ring): Compare with
969            cl_class_flags_modint_ring, not with cl_class_modint_ring.
970            * src/polynomial/elem/cl_UP_GF2.h (cl_class_num_univpoly_ring): New.
971            * src/polynomial/elem/cl_UP_MI.h (cl_class_modint_univpoly_ring): New.
972            * src/polynomial/elem/cl_UP_gen.h (cl_class_gen_univpoly_ring): New.
973            * src/polynomial/elem/cl_UP_number.h (cl_class_num_univpoly_ring): New.
974            Reported by Ralf Goertz <R_Goertz@web.de>.
975    
976    2005-04-29  Richard B. Kreckel  <kreckel@ginac.de>
977                Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
978    
979            * m4/cc.m4: Emit a warning if g++ is used and optimization turned off.
980    
981    2005-04-24  Richard B. Kreckel  <kreckel@ginac.de>
982    
983            Make GCC compiler flags default to -O
984            * m4/cc.m4: New file...
985            * configure.ac: ...used here.
986            * autoconf/aclocal.m4: Regenerate.
987    
988    2005-04-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
989    
990            * include/cln/string.h: Declare cl_string.
991    
992    2005-03-17  Richard B. Kreckel  <kreckel@ginac.de>
993    
994            * autoconf/ltmain.sh: Upgrade to libtool-1.5.14.
995            * m4/libtool.m4: Upgrade to libtool-1.5.14 with Comeau patch.
996            * autoconf/aclocal.m4: Regenerate.
997    
998    2005-03-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
999    
1000            * src/Makefile.in: Use $CXX instead of $CC when linking.
1001    
1002    2005-02-27  Richard B. Kreckel  <kreckel@ginac.de>
1003    
1004            * examples/perfnum.cc: update to presumed 42st Mersenne prime.
1005    
1006    2004-11-28  Richard B. Kreckel  <kreckel@ginac.de>
1007    
1008            Disambiguate binary operators of CLN types with float/double
1009            * include/cln/dfloat.h: Add binary operator overloads for arguments of
1010            type double.
1011            * include/cln/ffloat.h: Likewise, for arguments of type float.
1012            * include/cln/float.h: Likewise, both for arguments of types double and
1013            float.
1014            * include/cln/real.h: Likewise.
1015            Reported by Isidro CachadiƱa GutiĆ©rrez <icacha@unex.es>.
1016    
1017    2004-11-03  Richard B. Kreckel  <kreckel@ginac.de>
1018    
1019            * Version 1.1.9 released.
1020    
1021    2004-10-28  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1022    
1023            * src/Makefile.in: Let config.status set LDFLAGS.
1024    
1025    2004-10-27  Peter Breitenlohner  <peb@mppmu.mpg.de>
1026    
1027            * cln.pc.in: Fix typo.
1028            * Makefile.in (INSTALL_SCRIPT): Added, to be used for scripts like
1029            cln-config.  Allows us to do special things to binaries, like
1030            installing them with install -s.
1031            * doc/Makefile.in: add/remove the cln.info from the installed
1032            $(infodir)/dir unless this is debian install-info (code copied from
1033            what GNU automake would produce).
1034    
1035    2004-10-26  Richard B. Kreckel  <kreckel@ginac.de>
1036    
1037            * src/integer/input/cl_I_read_stream.cc (read_integer): Fix a bug
1038            that caused radix specifiers to not work when reading from a stream.
1039            * src/rational/input/cl_RA_read_stream.cc (read_rational): Likewise.
1040            * src/real/input/cl_R_read_stream.cc (read_real): Likewise.
1041            * src/float/input/cl_F_read_stream.cc (read_float): Likewise.
1042            * src/complex/input/cl_N_read_stream.cc (read_complex): Likewise.
1043    
1044    2004-10-25  Richard B. Kreckel  <kreckel@ginac.de>
1045    
1046            * src/base/cl_low.h: Add mulu64 assembler macro for ia64.
1047    
1048    2004-10-24  Richard B. Kreckel  <kreckel@ginac.de>
1049    
1050            * src/base/cl_low.h: Add mul and div macros for x86_64.
1051    
1052    2004-10-23  Richard B. Kreckel  <kreckel@ginac.de>
1053    
1054            * src/integer/conv/cl_I_from_digits.cc (digits_to_I): Fix thinko in
1055            new code for base power of two.
1056    
1057    2004-10-22  Richard B. Kreckel  <kreckel@ginac.de>
1058    
1059            * src/integer/conv/cl_I_to_digits (I_to_digits): Fix an elusive stack
1060            overwriting problem. That was the real cause for Debian bug#246319.
1061            * src/integer/output/cl_I_print.cc (print_integer): Revert workaround
1062            for the bug fixed above.
1063    
1064    2004-10-20  Richard B. Kreckel  <kreckel@ginac.de>
1065    
1066            * include/cln/types.h: Use 64 bit digits on x86_64 CPU.
1067    
1068    2004-10-12  Richard B. Kreckel  <kreckel@ginac.de>
1069    
1070            * src/integer/conv/cl_I_from_digits.cc (digits_to_I): Speedup when
1071            the base is a power of two.
1072    
1073    2004-10-05  Richard B. Kreckel  <kreckel@ginac.de>
1074    
1075            * src/integer/conv/cl_I_to_digits.cc (I_to_digits): Fix bug in base 32.
1076    
1077    2004-09-27  Richard B. Kreckel  <kreckel@ginac.de>
1078    
1079            Support for little-endian Mips, second shot
1080            * src/base/digitseq/cl_asm_mipsel_.cc: New file...
1081            * src/base/digitseq/cl_asm_cc: ...used here.
1082            * src/base/digitseq/cl_asm.h: Include cl_asm_mips.h for any endianness.
1083            * include/cln/object.h: Set alignment for mipsel explicitly.
1084    
1085    2004-09-05  Richard B. Kreckel  <kreckel@ginac.de>
1086    
1087            Support for little-endian Mips
1088            * include/cln/config.h.in: Add __mipsel__.
1089            * include/cln/modules.h: For Mips, this is endianness-agnostic.
1090            * src/base/digitseq/cl_asm_.cc, src/base/digitseq/cl_asm.h:
1091            Mask out assembler for little-endian Mips.
1092    
1093    2004-08-30  Bruno Haible  <bruno@clisp.org>
1094    
1095            * benchmarks/timebench2.sh: Multiply all repeat counts by 100.
1096            * benchmarks/timebench2.results: Add recent PowerPC G4 results.
1097    
1098    2004-08-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1099    
1100            * examples/e.cc: remove extra semicolon.
1101    
1102    2004-08-25  Bruno Haible  <bruno@clisp.org>
1103    
1104            * autoconf/ltmain.sh: Upgrade to libtool-1.5.6.
1105            * m4/libtool.m4: New file, from libtool-1.5.6 with modifications:
1106            2004-08-22  Bruno Haible  <bruno@clisp.org>
1107              * m4/libtool.m4: Add support for Comeau C++ on Linux.
1108              Reported by Prof. Roberto Bagnara <bagnara@cs.unipr.it>.
1109            * autoconf/aclocal.m4: Regenerate.
1110    
1111    2004-08-19  Bruno Haible  <bruno@clisp.org>
1112    
1113            * include/cln/modules.h (CL_GLOBALIZE_JUMP_LABEL, CL_JUMP_TO): When
1114            converting a label to a string, use ASM_UNDERSCORE_PREFIX. Needed on
1115            MacOS X.
1116            Reported by Darren Bane <darren.bane@ul.ie>.
1117    
1118    2004-07-01  Richard B. Kreckel  <kreckel@ginac.de>
1119    
1120            * Version 1.1.8 released.
1121    
1122  2004-06-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>  2004-06-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1123    
1124          * src/base/cl_macros.h: alloca(3) has size_t argument type.          * src/base/cl_macros.h: alloca(3) has size_t argument type.

Legend:
Removed from v.1.95  
changed lines
  Added in v.1.177

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