/[cln]/ChangeLog
ViewVC logotype

Contents of /ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.168 - (show annotations)
Tue Dec 19 14:50:43 2006 UTC (6 years, 5 months ago) by haible
Branch: MAIN
Changes since 1.167: +6 -0 lines
Avoid using undeclared function exit().

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

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