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