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