1 2007-01-23 Bruno Haible <bruno@clisp.org>
3 Allow 64-bit builds on MacOS X 10.5.
4 * m4/general.m4 (CL_CANONICAL_HOST_CPU): Test for x86_64 CPU if
5 "uname -m" returns "i386".
6 Reported by Ron Garret <ron@flownet.com>.
8 2007-01-20 Bruno Haible <bruno@clisp.org>
10 Avoid some gcc warnings.
11 * autoconf/floatparam.c (flipped_double): Use a union instead of a
13 * include/cln/number.h (union ffloatjanus, union dfloatjanus): Remove
15 (cl_float_to_FF_pointer, cl_double_to_DF_pointer): Change argument
17 (CL_DEFINE_FLOAT_CONSTRUCTOR, CL_DEFINE_DOUBLE_CONSTRUCTOR): Update.
18 * src/float/ffloat/cl_FF.h (cl_float_to_FF_pointer): Change argument
20 (cl_float_to_FF): Remove function.
21 * src/float/ffloat/conv/cl_FF_from_float.cc (FAST_FLOAT): Define.
22 (cl_float_to_FF_pointer): Change argument type.
23 * src/float/dfloat/cl_DF.h (cl_double_to_DF_pointer): Change argument
25 (cl_double_to_DF): Remove function.
26 * src/float/dfloat/conv/cl_DF_from_double.cc (FAST_DOUBLE): Define.
27 (cl_double_to_DF_pointer): Change argument type.
28 * src/float/lfloat/cl_LF_impl.h (LF_decode): Mark the mantlen_zuweisung
29 assignment as possibly unused.
30 * src/base/cl_low.h (mulu32): Mark the hi_zuweisung assignment as
32 * src/float/transcendental/cl_LF_zeta_int.cc (compute_zeta_cvz2):
33 Remove unused local variable.
35 2007-01-19 Richard B. Kreckel <kreckel@ginac.de>
37 * Version 1.2.0 released.
39 2007-01-19 Richard B. Kreckel <kreckel@ginac.de>
41 * doc/Makefile.in: texi2html -split_chapter doesn't generate
42 cln_toc.html any more.
43 * doc/cln.texi: Add table of contents in TeX output.
45 2007-01-18 Alexei Sheplyakov <varg@theor.jinr.ru>
47 Fix linking problems on some platforms caused by inline/non-inline
48 versions of same functions (obsoletes MAYBE_INLINE):
49 * src/base/cl_maybe_inline.h: New file.
50 * src/base/cl_inline2.h: New file.
51 * src/base/cl_inline.h: New file.
52 * src/base/string/cl_st_make0.h: New file.
53 * src/base/cl_macros.h: Pull in cl_maybe_inline.h.
54 * src/base/string/cl_st_concat1.cc: Use new CL_INLINE macros and the
55 new *_inline functions.
56 * src/base/string/cl_st_concat2.cc: Likewise.
57 * src/base/string/cl_st_concat3.cc: Likewise.
58 * src/complex/algebraic/cl_C_abs.cc: Likewise.
59 * src/complex/algebraic/cl_C_abs_aux.cc: Likewise.
60 * src/complex/algebraic/cl_C_signum.cc: Likewise.
61 * src/complex/algebraic/cl_DF_hypot.cc: Likewise.
62 * src/complex/algebraic/cl_FF_hypot.cc: Likewise.
63 * src/complex/algebraic/cl_LF_hypot.cc: Likewise.
64 * src/complex/algebraic/cl_SF_hypot.cc: Likewise.
65 * src/complex/transcendental/cl_C_acosh.cc: Likewise.
66 * src/complex/transcendental/cl_C_asinh_aux.cc: Likewise.
67 * src/complex/transcendental/cl_C_atanh_aux.cc: Likewise.
68 * src/float/dfloat/division/cl_DF_fceil.cc: Likewise.
69 * src/float/dfloat/elem/cl_DF_div.cc: Likewise.
70 * src/float/dfloat/elem/cl_DF_ffloor.cc: Likewise.
71 * src/float/dfloat/elem/cl_DF_minusp.cc: Likewise.
72 * src/float/dfloat/elem/cl_DF_mul.cc: Likewise.
73 * src/float/dfloat/elem/cl_DF_plusp.cc: Likewise.
74 * src/float/dfloat/elem/cl_DF_zerop.cc: Likewise.
75 * src/float/dfloat/misc/cl_DF_abs.cc: Likewise.
76 * src/float/dfloat/misc/cl_DF_digits.cc: Likewise.
77 * src/float/dfloat/misc/cl_DF_eqhashcode.cc: Likewise.
78 * src/float/dfloat/misc/cl_DF_exponent.cc: Likewise.
79 * src/float/dfloat/misc/cl_DF_idecode.cc: Likewise.
80 * src/float/dfloat/misc/cl_DF_precision.cc: Likewise.
81 * src/float/dfloat/misc/cl_DF_sign.cc: Likewise.
82 * src/float/dfloat/misc/cl_DF_signum.cc: Likewise.
83 * src/float/elem/cl_F_minusp.cc: Likewise.
84 * src/float/elem/cl_F_plusp.cc: Likewise.
85 * src/float/elem/cl_F_zerop.cc: Likewise.
86 * src/float/ffloat/division/cl_FF_fceil.cc: Likewise.
87 * src/float/ffloat/elem/cl_FF_div.cc: Likewise.
88 * src/float/ffloat/elem/cl_FF_ffloor.cc: Likewise.
89 * src/float/ffloat/elem/cl_FF_minusp.cc: Likewise.
90 * src/float/ffloat/elem/cl_FF_mul.cc: Likewise.
91 * src/float/ffloat/elem/cl_FF_plusp.cc: Likewise.
92 * src/float/ffloat/elem/cl_FF_zerop.cc: Likewise.
93 * src/float/ffloat/misc/cl_FF_abs.cc: Likewise.
94 * src/float/ffloat/misc/cl_FF_digits.cc: Likewise.
95 * src/float/ffloat/misc/cl_FF_eqhashcode.cc: Likewise.
96 * src/float/ffloat/misc/cl_FF_exponent.cc: Likewise.
97 * src/float/ffloat/misc/cl_FF_idecode.cc: Likewise.
98 * src/float/ffloat/misc/cl_FF_precision.cc: Likewise.
99 * src/float/ffloat/misc/cl_FF_sign.cc: Likewise.
100 * src/float/ffloat/misc/cl_FF_signum.cc: Likewise.
101 * src/float/lfloat/division/cl_LF_fceil.cc: Likewise.
102 * src/float/lfloat/elem/cl_LF_compare.cc: Likewise.
103 * src/float/lfloat/elem/cl_LF_ffloor.cc: Likewise.
104 * src/float/lfloat/elem/cl_LF_minusp.cc: Likewise.
105 * src/float/lfloat/elem/cl_LF_plusp.cc: Likewise.
106 * src/float/lfloat/elem/cl_LF_to_I.cc: Likewise.
107 * src/float/lfloat/elem/cl_LF_zerop.cc: Likewise.
108 * src/float/lfloat/misc/cl_LF_abs.cc: Likewise.
109 * src/float/lfloat/misc/cl_LF_digits.cc: Likewise.
110 * src/float/lfloat/misc/cl_LF_eqhashcode.cc: Likewise.
111 * src/float/lfloat/misc/cl_LF_exponent.cc: Likewise.
112 * src/float/lfloat/misc/cl_LF_idecode.cc: Likewise.
113 * src/float/lfloat/misc/cl_LF_precision.cc: Likewise.
114 * src/float/lfloat/misc/cl_LF_shortenrel.cc: Likewise.
115 * src/float/lfloat/misc/cl_LF_shortenwith.cc: Likewise.
116 * src/float/lfloat/misc/cl_LF_sign.cc: Likewise.
117 * src/float/lfloat/misc/cl_LF_signum.cc: Likewise.
118 * src/float/misc/cl_F_abs.cc: Likewise.
119 * src/float/misc/cl_F_digits.cc: Likewise.
120 * src/float/misc/cl_F_eqhashcode.cc: Likewise.
121 * src/float/misc/cl_F_exponent.cc: Likewise.
122 * src/float/misc/cl_F_idecode.cc: Likewise.
123 * src/float/misc/cl_F_precision.cc: Likewise.
124 * src/float/misc/cl_F_sign.cc: Likewise.
125 * src/float/misc/cl_F_signum.cc: Likewise.
126 * src/float/sfloat/division/cl_SF_fceil.cc: Likewise.
127 * src/float/sfloat/division/cl_SF_ffloor.cc: Likewise.
128 * src/float/sfloat/elem/cl_SF_compare.cc: Likewise.
129 * src/float/sfloat/elem/cl_SF_minus.cc: Likewise.
130 * src/float/sfloat/elem/cl_SF_minusp.cc: Likewise.
131 * src/float/sfloat/elem/cl_SF_plusp.cc: Likewise.
132 * src/float/sfloat/elem/cl_SF_uminus.cc: Likewise.
133 * src/float/sfloat/elem/cl_SF_zerop.cc: Likewise.
134 * src/float/sfloat/misc/cl_SF_abs.cc: Likewise.
135 * src/float/sfloat/misc/cl_SF_digits.cc: Likewise.
136 * src/float/sfloat/misc/cl_SF_eqhashcode.cc: Likewise.
137 * src/float/sfloat/misc/cl_SF_exponent.cc: Likewise.
138 * src/float/sfloat/misc/cl_SF_idecode.cc: Likewise.
139 * src/float/sfloat/misc/cl_SF_precision.cc: Likewise.
140 * src/float/sfloat/misc/cl_SF_sign.cc: Likewise.
141 * src/float/sfloat/misc/cl_SF_signum.cc: Likewise.
142 * src/float/transcendental/cl_F_atanhx.cc: Likewise.
143 * src/float/transcendental/cl_F_atanx.cc: Likewise.
144 * src/float/transcendental/cl_F_exp.cc: Likewise.
145 * src/float/transcendental/cl_F_expx.cc: Likewise.
146 * src/float/transcendental/cl_F_lnx.cc: Likewise.
147 * src/float/transcendental/cl_F_sinhx.cc: Likewise.
148 * src/float/transcendental/cl_F_sinx.cc: Likewise.
149 * src/float/transcendental/cl_F_tan.cc: Likewise.
150 * src/float/transcendental/cl_F_tanh.cc: Likewise.
151 * src/integer/conv/cl_I_from_DS.cc: Likewise.
152 * src/integer/conv/cl_I_from_NDS.cc: Likewise.
153 * src/integer/conv/cl_I_from_NUDS.cc: Likewise.
154 * src/integer/conv/cl_I_from_UDS.cc: Likewise.
155 * src/integer/misc/cl_I_eqhashcode.cc: Likewise.
156 * src/integer/misc/cl_I_signum.cc: Likewise.
157 * src/integer/ring/cl_I_ring.cc: Likewise.
158 * src/rational/elem/cl_RA_minusp.cc: Likewise.
159 * src/rational/misc/cl_RA_eqhashcode.cc: Likewise.
160 * src/rational/misc/cl_RA_signum.cc: Likewise.
161 * src/rational/ring/cl_RA_ring.cc: Likewise.
162 * src/real/algebraic/cl_RA_sqrt.cc: Likewise.
163 * src/real/algebraic/cl_R_sqrt.cc: Likewise.
164 * src/real/conv/cl_F_from_R_def.cc: Likewise.
165 * src/real/elem/cl_R_minusp.cc: Likewise.
166 * src/real/elem/cl_R_zerop.cc: Likewise.
167 * src/real/misc/cl_R_eqhashcode.cc: Likewise.
168 * src/real/misc/cl_R_signum.cc: Likewise.
169 * src/real/transcendental/cl_R_tan.cc: Likewise.
170 * src/real/transcendental/cl_R_tanh.cc: Likewise.
171 * src/base/string/cl_st_make0.cc: Remove obsolete MAYBE_INLINE.
172 * src/rational/misc/Makeflags: Help compiler include cl_I_eqhashcode.cc.
174 2008-01-15 Bruno Haible <bruno@clisp.org>
176 * doc/cln.texi: Renamed from doc/cln.tex. Add @node lines and @menu
178 * doc/addnodes.el: Remove file.
179 * doc/Makefile.in (${PACKAGE}.texi): Remove rule.
180 (EMACS): Remove variable.
181 (maintainer-clean): Don't remove ${PACKAGE}.texi.
182 Reported by Alexei Sheplyakov <varg@theor.jinr.ru>.
184 2008-01-11 Richard B. Kreckel <kreckel@ginac.de>
186 * include/cln/float.h (cos_sin_t, cosh_sinh_t): Add default ctor.
188 2008-01-11 Richard B. Kreckel <kreckel@ginac.de>
190 Make some functions more memory efficient:
191 * src/float/transcendental/cl_LF_tran.h (eval_rational_series): The
192 evaluation of streamed rational series may profit from shift-counting Q,
193 too. Introduce a template parameter to determine whether shift-counting
194 is to be used or not.
195 * src/float/transcendental/cl_LF_ratseries_pqb.cc: Introduce template
197 * src/float/transcendental/cl_LF_ratseries_pqa.cc: Likewise.
198 * src/float/transcendental/cl_LF_ratseries_pqab.cc: Likewise.
199 * src/float/transcendental/cl_LF_ratseries_qa.cc: Likewise.
200 * src/float/transcendental/cl_LF_ratseries_qab.cc: Likewise.
201 * src/float/transcendental/cl_LF_ratseries_q.cc: Likewise, added
202 overload for streamed expansion.
203 * src/float/transcendental/cl_LF_ratseries_qb.cc: Likewise.
204 * src/float/transcendental/cl_LF_ratseries_pq.cc: Introduce template
205 parameter, added overload for streamed expansion using shift-counts.
206 * src/float/transcendental/cl_LF_zeta3.cc: Adapt to above changes.
207 * src/float/transcendental/cl_LF_pi.cc: Likewise.
208 * src/float/transcendental/cl_LF_eulerconst.cc: Likewise.
209 * src/float/transcendental/cl_LF_catalanconst.cc: Likewise.
210 * src/float/transcendental/cl_LF_cossin_aux.cc: Likewise.
211 * src/float/transcendental/cl_LF_coshsinh_aux.cc: Likewise.
212 * src/float/transcendental/cl_LF_atanh_recip.cc: Use streamed series.
213 * src/float/transcendental/cl_LF_atan_recip.cc: Likewise.
214 * src/float/transcendental/cl_LF_exp1.cc: Likewise.
215 * src/float/transcendental/cl_LF_exp_aux.cc: Likewise.
216 * src/float/transcendental/cl_LF_ratseries.cc: Removed.
218 2008-01-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
219 Richard B. Kreckel <kreckel@ginac.de>
221 Cater to the fact that g++ 4.3 will use a different naming for
222 the global constructor suffix in shared and static objects.
223 * m4/c++-constructors.m4 (CL_GLOBAL_CONSTRUCTORS): Add test for
224 the global constructor suffix, define CL_GLOBAL_CONSTRUCTOR_SUFFIX_PIC
225 and CL_GLOBAL_CONSTRUCTOR_SUFFIX_NOPIC appropriately.
226 * include/cln/config.h.in: Provide templates to be filled in by
228 * include/cln/modules.h (CL_PROVIDE, CL_REQUIRE): Use
229 CL_GLOBAL_CONSTRUCTOR_SUFFIX_PIC, CL_GLOBAL_CONSTRUCTOR_SUFFIX_NOPIC.
231 2007-12-19 Richard B. Kreckel <kreckel@ginac.de>
233 * m4/general.m4 (CL_CANONICAL_HOST_CPU): Force host_cpu=rs6000 for
234 powerpc64 if userland is 32 bit.
236 2007-12-18 Richard B. Kreckel <kreckel@ginac.de>
238 * autoconf/ltmain.sh: Update to libtool-1.5.24.
239 * autoconf/config.guess: Likewise.
240 * autoconf/config.sub: Likewise.
241 * m4/libtool.m4: Likewise.
243 2007-12-18 Richard B. Kreckel <kreckel@ginac.de>
245 * src/float/transcendental/cl_F_lnx.cc: Make actuallen of type uintC.
246 * src/float/transcendental/cl_F_expx.cc: Likewise.
247 * src/float/transcendental/cl_F_sinhx.cc: Likewise.
248 * src/float/transcendental/cl_F_sinx.cc: Likewise.
250 2007-12-17 Richard B. Kreckel <kreckel@ginac.de>
252 Silly workaround for silly bug in gmp.h:
253 * m4/gmp.m4 (CL_GMP_SET_UINTD): Swap #include <gmp.h> and <stdio.h>.
255 2007-12-17 Richard B. Kreckel <kreckel@ginac.de>
257 * src/polynomial/elem/cl_UP_GF2.h (gf2_mul_table): define for sparc64.
259 2007-12-04 Richard B. Kreckel <kreckel@ginac.de>
261 * include/cln/types.h ([su]intE): 64-bit exponents for MIPS and RS6000.
263 2007-12-03 Richard B. Kreckel <kreckel@ginac.de>
265 * src/float/lfloat/cl_LF.h (cl_heap_lfloat): Change len type to uintC.
267 2007-11-28 Richard B. Kreckel <kreckel@ginac.de>
269 * include/cln/object.h: Don't redefine cl_word_alignment on sparc64.
270 * src/base/digitseq/cl_asm_sparc64_.cc: Declare use of global
271 register %g2 as scratch register within this file.
272 Reported by Paul Irofti <bulibuta@gmail.com> and Sven Verdoolaege
275 2007-11-03 Richard B. Kreckel <kreckel@ginac.de>
277 * src/base/digitseq/cl_asm_i386_.cc (compare_loop_up,
278 compare_loop_down): Fix empty ranges.
280 2007-10-12 Richard B. Kreckel <kreckel@ginac.de>
282 Fix compilation on CYGWIN:
283 * src/float/transcendental/cl_LF_zeta_int.cc: Avoid leading underscores
285 * src/float/transcendental/cl_LF_eulerconst.cc: Likewise.
286 Reported by Chris Bouchard <cbouchrd@uiuc.edu>.
288 2007-10-10 Richard B. Kreckel <kreckel@ginac.de>
290 * src/base/cl_low.h: Add missing linefeeds in SPARC 64 inline assembler.
291 * src/base/low/cl_low_div.cc (divu_6464_6464_): Fix a copy-paste typo.
292 Reported by Sven Verdoolaege <skimo@kotnet.org>.
294 2007-10-02 Richard B. Kreckel <kreckel@ginac.de>
296 On popular demand (Debian bug #286266, Ubuntu bug #128851):
297 * examples/pi.cc: Output no more than requested number of digits.
299 2007-10-01 Richard B. Kreckel <kreckel@ginac.de>
301 * autoconf/config.guess, autoconf/config.sub: updated from automake-1.9.
303 2007-09-19 Richard B. Kreckel <kreckel@ginac.de>
305 * doc/cln.tex: Put entire document in @dircategory Mathematics.
306 * doc/Makefile.in: texi2html -split_chapter suddenly uses subdirectory.
307 * Makefile.in: Don't install non-existing cln-config* and cln.m4.
309 2007-09-18 Richard B. Kreckel <kreckel@ginac.de>
311 * include/cln/modules.h (CL_JUMP_TO): Use a pc relative jump on m68k.
312 See <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=388000>.
314 2007-09-16 Richard B. Kreckel <kreckel@ginac.de>
316 * */*: Convert encoding from ISO 8859-1 to UTF-8.
318 2007-09-13 Richard B. Kreckel <kreckel@ginac.de>
320 Truncated binary splitting for even more memory efficiency:
321 * src/float/transcendental/cl_LF_tran.h: Added new overloads. See below.
322 * src/float/transcendental/cl_LF_ratseries_stream_pq.cc: Removed and
323 moved everything to...
324 * src/float/transcendental/cl_LF_ratseries_pq.cc: ...here. Added an
325 overload for truncated expansion.
326 * src/float/transcendental/cl_LF_ratseries_stream_pqa.cc: Removed and
327 moved everything to...
328 * src/float/transcendental/cl_LF_ratseries_pqa.cc: ...here. Added an
329 overload for truncated expansion.
330 * src/float/transcendental/cl_LF_ratseries_stream_pqb.cc: Removed and
331 moved everything to...
332 * src/float/transcendental/cl_LF_ratseries_pqb.cc: ...here. Added an
333 overload for truncated expansion.
334 * src/float/transcendental/cl_LF_ratseries_stream_pqab.cc: Removed and
335 moved everything to...
336 * src/float/transcendental/cl_LF_ratseries_pqab.cc: ...here. Added an
337 overload for truncated expansion.
338 * src/float/transcendental/cl_LF_ratsumseries_pqcd_aux.cc: Added
339 overloads for streamed and truncated expansion.
340 * src/float/transcendental/cl_LF_ratsumseries_pqcd.cc: Likewise.
341 * src/float/transcendental/cl_LF_ratsumseries_stream_pqd_aux.cc: Removed
342 and moved everything to...
343 * src/float/transcendental/cl_LF_ratsumseries_pqd_aux.cc: ...here. Added
344 an overload for truncated expansion.
345 * src/float/transcendental/cl_LF_ratsumseries_stream_pqd.cc: Removed
346 and moved everything to...
347 * src/float/transcendental/cl_LF_ratsumseries_pqd.cc: ...here. Added an
348 overload for truncated expansion.
349 * src/float/transcendental/cl_LF_pi.cc: Use truncated series.
350 * src/float/transcendental/cl_LF_catalanconst.cc: Likewise.
351 * src/float/transcendental/cl_LF_eulerconst.cc: Likewise.
352 * src/float/transcendental/cl_LF_zeta_int.cc: Likewise.
353 * src/float/transcendental/cl_LF_zeta3.cc: Likewise.
355 2007-09-07 Richard B. Kreckel <kreckel@ginac.de>
357 More memory efficient Euler-Mascheroni constant:
358 * src/float/transcendental/cl_LF_tran.h (cl_pqd_series_stream): New.
359 * src/float/transcendental/cl_LF_ratsumseries_stream_pqd.cc: New file.
360 * src/float/transcendental/cl_LF_ratsumseries_stream_pqd_aux.cc: New
362 * src/float/transcendental/cl_LF_eulerconst.cc: Compute series
363 coefficients on demand, using a series stream object.
365 2007-08-02 Richard B. Kreckel <kreckel@ginac.de>
367 * src/base/digitseq/cl_DS_div.cc (cl_recip_suitable): uintC arguments.
369 2007-08-01 Richard B. Kreckel <kreckel@ginac.de>
371 * */*: Remove cl_boolean, cl_true, and cl_false in favor of built-in
372 C++ bool, true, and false.
374 2007-07-28 Richard B. Kreckel <kreckel@ginac.de>
376 Remove exception hooks in favor of real C++ exceptions:
377 * include/cln/exception.h: New file...
378 * include/cln/cln.h: ...included here...
379 * include/cln/rational.h: ...and here.
380 * include/cln/abort.h: Removed.
381 * include/cln/integer.h (ash_exception, exquo_exception): Add exception
383 * include/cln/float.h (floating_point_exception,
384 floating_point_nan_exception, floating_point_overflow_exception,
385 floating_point_underflow_exception): Likewise.
386 * include/cln/number_io.h (read_number_exception,
387 read_number_bad_syntax_exception, read_number_junk_exception,
388 read_number_eof_exception): Likewise.
389 * include/cln/object.h (CL_DEFINE_CONVERTER): Replace dynamic assertion
390 with a compile-time assertion.
391 * include/cln/GV.h: Replace nonreturning functions with exceptions.
392 * include/cln/modinteger.h: Likewise.
393 * include/cln/SV.h: Likewise.
394 * include/cln/ring.h: Likewise.
395 * include/cln/string.h: Likewise.
396 * include/cln/univpoly.h: Likewise.
397 * src/base/cl_abort.cc: Removed.
398 * src/base/cl_N_err_d0.cc: Removed.
399 * src/base/cl_d0_exception.cc: New file.
400 * src/base/cl_as_err.cc: Removed.
401 * src/base/cl_as_exception.cc: New file.
402 * src/base/cl_notreached.cc: Removed.
403 * src/base/cl_notreached_exception.cc: New file.
404 * src/base/input/cl_read_err_bad.cc: Removed.
405 * src/base/input/cl_read_bad_syntax_exception.cc: New file.
406 * src/base/input/cl_read_err_junk.cc: Removed.
407 * src/base/input/cl_read_junk_exception.cc: New file.
408 * src/base/input/cl_read_err_eof.cc: Removed.
409 * src/base/input/cl_read_eof_exception.cc: New file.
410 * src/base/cl_N.h (cl_as_error): Removed (see cln/exception.h).
411 * src/base/macros.h (NOTREACHED): Throw.
412 * src/base/cl_malloc.cc (xmalloc): Throw.
413 * src/base/digitseq/cl_2DS_div.cc: Throw.
414 * src/base/digitseq/cl_DS_div.cc: Throw.
415 * src/base/digitseq/cl_DS_mul.cc: Throw.
416 * src/base/digitseq/cl_DS_mul_fftc.h: Throw.
417 * src/base/digitseq/cl_DS_mul_fftcs.h: Throw.
418 * src/base/digitseq/cl_DS_mul_fftm.h: Throw.
419 * src/base/digitseq/cl_DS_mul_fftp.h: Throw.
420 * src/base/digitseq/cl_DS_mul_fftp3.h: Throw.
421 * src/base/digitseq/cl_DS_mul_fftp3m.h: Throw.
422 * src/base/digitseq/cl_DS_mul_fftr.h: Throw.
423 * src/base/digitseq/cl_DS_mul_nuss.h: Throw.
424 * src/base/digitseq/cl_DS_recipsqrt.cc: Throw.
425 * src/base/digitseq/cl_DS_sqrt.cc: Throw.
426 * src/base/hash/cl_hash.h: Throw.
427 * src/base/hash/cl_hash1.h: Throw.
428 * src/base/hash/cl_hash1weak.h: Throw.
429 * src/base/hash/cl_hash2.h: Throw.
430 * src/base/hash/cl_hash2weak.h: Throw.
431 * src/base/hash/cl_hashset.h: Throw.
432 * src/base/hash/cl_hashuniq.h: Throw.
433 * src/base/hash/cl_hashuniqweak.h: Throw.
434 * src/base/proplist/cl_pl_add.cc: Throw.
435 * src/base/ring/cl_no_ring.cc: Throw.
436 * src/base/string/cl_spushstring.h: Throw.
437 * src/base/symbol/cl_symbol.cc: Throw.
438 * src/integer/bitwise/cl_I_ash.h: Removed (see cln/integer.h.)
439 * src/integer/bitwise/cl_I_asherr.cc: Removed.
440 * src/integer/bitwise/cl_I_ash_exception.cc: New file.
441 * src/integer/division/cl_I_exquoerr.cc: Removed.
442 * src/integer/division/cl_I_exquo_exception.cc: New file.
443 * src/integer/cl_I.h: Throw.
444 * src/integer/division/cl_I_exquopos.cc: Throw.
445 * src/integer/bitwise/cl_I_logbitp_I.cc: Throw.
446 * src/integer/bitwise/cl_I_ash.cc: Throw.
447 * src/integer/bitwise/cl_I_ash_I.cc: Throw.
448 * src/integer/division/cl_I_exquo.cc: Throw.
449 * src/integer/gcd/cl_I_gcd_aux2.cc: Throw.
450 * src/integer/conv/cl_I_to_L.cc: Throw.
451 * src/integer/conv/cl_I_to_Q.cc: Throw.
452 * src/integer/conv/cl_I_to_UL.cc: Throw.
453 * src/integer/conv/cl_I_to_UQ.cc: Throw.
454 * src/integer/conv/cl_I_to_digits.cc: Throw.
455 * src/integer/elem/cl_I_div.cc: Throw.
456 * src/integer/algebraic/cl_I_sqrt.cc: Throw.
457 * src/integer/input/cl_I_read.cc: Throw.
458 * src/integer/input/cl_I_read_stream.cc: Throw.
459 * src/integer/misc/cl_I_as.cc: Throw.
460 * src/rational/elem/cl_RA_from_I_I_div.cc: Throw.
461 * src/rational/elem/cl_RA_recip.cc: Throw.
462 * src/rational/input/cl_RA_read.cc: Throw.
463 * src/rational/input/cl_RA_read_stream.cc: Throw.
464 * src/rational/input/cl_RA_readparsed.cc: Throw.
465 * src/rational/misc/cl_RA_as.cc: Throw.
466 * src/float/base/cl_F_err_nan.cc: Removed.
467 * src/float/base/cl_F_nan_exception.cc: New file.
468 * src/float/base/cl_F_err_un.cc: Removed.
469 * src/float/base/cl_F_underflow_exception.cc: New file.
470 * src/float/base/cl_F_err_ov.cc: Removed.
471 * src/float/base/cl_F_overflow_exception.cc: New file.
472 * src/float/cl_F.h (cl_error_floating_point_nan,
473 cl_error_floating_point_overflow, cl_error_floating_point_underflow):
474 Removed (see cln/float.h.)
475 * src/float/sfloat/cl_SF.h: Throw.
476 * src/float/sfloat/elem/cl_SF_div.cc: Throw.
477 * src/float/sfloat/elem/cl_SF_from_RA.cc: Throw.
478 * src/float/sfloat/elem/cl_SF_scale.cc: Throw.
479 * src/float/sfloat/elem/cl_SF_scale_I.cc: Throw.
480 * src/float/sfloat/misc/cl_SF_as.cc: Throw.
481 * src/float/ffloat/cl_FF.h: Throw.
482 * src/float/ffloat/conv/cl_FF_from_float.cc: Throw.
483 * src/float/ffloat/elem/cl_FF_div.cc: Throw.
484 * src/float/ffloat/elem/cl_FF_from_RA.cc: Throw.
485 * src/float/ffloat/elem/cl_FF_scale.cc: Throw.
486 * src/float/ffloat/elem/cl_FF_scale_I.cc: Throw.
487 * src/float/ffloat/misc/cl_FF_as.cc: Throw.
488 * src/float/dfloat/cl_DF.h: Throw.
489 * src/float/dfloat/conv/cl_DF_from_double.cc: Throw.
490 * src/float/dfloat/elem/cl_DF_div.cc: Throw.
491 * src/float/dfloat/elem/cl_DF_from_RA.cc: Throw.
492 * src/float/dfloat/elem/cl_DF_scale.cc: Throw.
493 * src/float/dfloat/elem/cl_DF_scale_I.cc: Throw.
494 * src/float/dfloat/misc/cl_DF_as.cc: Throw.
495 * src/float/lfloat/algebraic/cl_LF_sqrt.cc: Throw.
496 * src/float/lfloat/elem/cl_LF_1plus.cc: Throw.
497 * src/float/lfloat/elem/cl_LF_I_div.cc: Throw.
498 * src/float/lfloat/elem/cl_LF_I_mul.cc: Throw.
499 * src/float/lfloat/elem/cl_LF_div.cc: Throw.
500 * src/float/lfloat/elem/cl_LF_from_I.cc: Throw.
501 * src/float/lfloat/elem/cl_LF_mul.cc: Throw.
502 * src/float/lfloat/elem/cl_LF_scale.cc: Throw.
503 * src/float/lfloat/elem/cl_LF_scale_I.cc: Throw.
504 * src/float/lfloat/elem/cl_LF_square.cc: Throw.
505 * src/float/lfloat/misc/cl_LF_as.cc: Throw.
506 * src/float/lfloat/misc/cl_LF_shorten.cc: Throw.
507 * src/float/lfloat/misc/cl_LF_shortenrel.cc: Throw.
508 * src/float/lfloat/misc/cl_LF_shortenwith.cc: Throw.
509 * src/float/input/cl_F_read.cc: Throw.
510 * src/float/input/cl_F_read_stream.cc: Throw.
511 * src/float/misc/cl_F_as.cc: Throw.
512 * src/float/misc/cl_F_shortenrel.cc: Throw.
513 * src/float/transcendental/cl_LF_coshsinh_aux.cc: Throw.
514 * src/float/transcendental/cl_LF_cossin_aux.cc: Throw.
515 * src/float/transcendental/cl_LF_exp_aux.cc: Throw.
516 * src/float/transcendental/cl_LF_ratseries_a.cc: Throw.
517 * src/float/transcendental/cl_LF_ratseries_ab.cc: Throw.
518 * src/float/transcendental/cl_LF_ratseries_b.cc: Throw.
519 * src/float/transcendental/cl_LF_ratseries_p.cc: Throw.
520 * src/float/transcendental/cl_LF_ratseries_pa.cc: Throw.
521 * src/float/transcendental/cl_LF_ratseries_pab.cc: Throw.
522 * src/float/transcendental/cl_LF_ratseries_pb.cc: Throw.
523 * src/float/transcendental/cl_LF_ratseries_pq.cc: Throw.
524 * src/float/transcendental/cl_LF_ratseries_pqa.cc: Throw.
525 * src/float/transcendental/cl_LF_ratseries_pqab.cc: Throw.
526 * src/float/transcendental/cl_LF_ratseries_pqb.cc: Throw.
527 * src/float/transcendental/cl_LF_ratseries_q.cc: Throw.
528 * src/float/transcendental/cl_LF_ratseries_qa.cc: Throw.
529 * src/float/transcendental/cl_LF_ratseries_qab.cc: Throw.
530 * src/float/transcendental/cl_LF_ratseries_qb.cc: Throw.
531 * src/float/transcendental/cl_LF_ratseries_stream_pq.cc: Throw.
532 * src/float/transcendental/cl_LF_ratseries_stream_pqa.cc: Throw.
533 * src/float/transcendental/cl_LF_ratseries_stream_pqab.cc: Throw.
534 * src/float/transcendental/cl_LF_ratseries_stream_pqb.cc: Throw.
535 * src/float/transcendental/cl_LF_ratsumseries_pqcd_aux.cc: Throw.
536 * src/float/transcendental/cl_LF_ratsumseries_pqd.cc: Throw.
537 * src/float/transcendental/cl_LF_ratsumseries_pqd_aux.cc: Throw.
538 * src/float/transcendental/cl_LF_zeta_int.cc: Throw.
539 * src/real/elem/cl_R_div.cc: Throw.
540 * src/real/format-output/cl_fmt_cardinal.cc: Throw.
541 * src/real/format-output/cl_fmt_newroman.cc: Throw.
542 * src/real/format-output/cl_fmt_oldroman.cc: Throw.
543 * src/real/input/cl_R_read.cc: Throw.
544 * src/real/input/cl_R_read_stream.cc: Throw.
545 * src/real/misc/cl_R_as.cc: Throw.
546 * src/real/random/cl_R_random.cc: Throw.
547 * src/real/transcendental/cl_R_atan2.cc: Throw.
548 * src/real/transcendental/cl_R_log.cc: Throw.
549 * src/complex/input/cl_N_read.cc: Throw.
550 * src/complex/input/cl_N_read_stream.cc: Throw.
551 * src/complex/misc/cl_N_as.cc: Throw.
552 * src/complex/transcendental/cl_C_atanh_aux.cc: Throw.
553 * src/complex/transcendental/cl_C_expt_C.cc: Throw.
554 * src/complex/transcendental/cl_C_log.cc: Throw.
555 * src/complex/transcendental/cl_C_log2.cc: Throw.
556 * src/numtheory/cl_nt_cornacchia1.cc: Throw.
557 * src/numtheory/cl_nt_cornacchia4.cc: Throw.
558 * src/numtheory/cl_nt_isprobprime.cc: Throw.
559 * src/numtheory/cl_nt_jacobi.cc: Throw.
560 * src/numtheory/cl_nt_jacobi_low.cc: Throw.
561 * src/numtheory/cl_nt_sqrtmodp.cc: Throw.
562 * src/modinteger/cl_MI.cc: Throw.
563 * src/modinteger/cl_MI_int.h: Throw.
564 * src/modinteger/cl_MI_montgom.h: Throw.
565 * src/modinteger/cl_MI_pow2.h: Throw.
566 * src/modinteger/cl_MI_rshift.cc: Throw.
567 * src/modinteger/cl_MI_std.h: Throw.
568 * src/polynomial/elem/cl_UP_GF2.h: Throw.
569 * src/polynomial/elem/cl_UP_MI.h: Throw.
570 * src/polynomial/elem/cl_UP_gen.h: Throw.
571 * src/polynomial/elem/cl_UP_named.cc: Throw.
572 * src/polynomial/elem/cl_UP_no_ring.cc (uninitialized_error,
573 uninitialized_ring): Removed (see cln/ring.h.)
574 * src/polynomial/elem/cl_UP_number.h: Throw.
575 * src/polynomial/elem/cl_UP_unnamed.cc: Throw.
576 * src/vector/cl_GV_I.cc: Throw.
577 * src/vector/cl_GV_number.cc: Throw.
578 * tests/timediv2adic-compare.cc: Use default abort(), not cl_abort().
579 * tests/timeprint-compare.cc: Likewise.
580 * tests/timerecip2adic-compare.cc: Likewise.
581 * doc/cln.tex: Document the exception classes.
582 * examples/contfrac.cc: Use try/catch instead of setjmp/longjmp.
583 * INSTALL: undocument -fno-exceptions.
584 * README: Add exceptions to list of used C++ features.
586 2007-06-20 Richard B. Kreckel <kreckel@ginac.de>
588 * cln.spec.in (Source0): Package is bzip2-compressed.
589 Reported by Markus Grabner <grabner@icg.tugraz.at>.
591 2007-05-31 Richard B. Kreckel <kreckel@ginac.de>
593 * include/cln/integer.h (cl_I_to_E, cl_I_to_UE): New functions.
594 * src/float/transcendental/cl_LF_exp_aux.cc: Make lq argument an uintE.
595 * src/float/transcendental/cl_LF_cossin_aux.cc: Likewise.
596 * src/float/transcendental/cl_LF_coshsinh_aux.cc: Likewise.
597 * src/float/transcendental/cl_F_tran.h: Change declaration of lq.
598 * src/float/transcendental/cl_F_lnx.cc: Fix some exponent types.
599 * src/float/transcendental/cl_F_expx.cc: Likewise.
600 * src/float/transcendental/cl_F_sinh.cc: Likewise.
601 * src/float/transcendental/cl_F_atanx.cc: Likewise.
602 * src/float/transcendental/cl_F_coshsinh.cc: Likewise.
603 * src/float/transcendental/cl_LF_cossin.cc: Likewise.
604 * src/float/transcendental/cl_LF_coshsinh.cc: Likewise.
606 2007-04-09 Richard B. Kreckel <kreckel@ginac.de>
608 More memory efficient constants:
609 * src/float/transcendental/cl_LF_pi.cc (compute_pi_ramanujan_163_fast):
610 Compute series coefficients on demand, using a series stream object.
611 * src/float/transcendental/cl_LF_zeta3.cc (zeta3): Likewise.
612 * src/float/transcendental/cl_LF_catalanconst.cc
613 (compute_catalanconst_ramanujan_fast): Likewise.
614 (compute_catalanconst_lupas): New function.
615 (compute_catalanconst): Simplify, based on new benchmark.
617 2007-04-02 Alexei Sheplyakov <varg@theor.jinr.ru>
620 * cln.pc.in: list -lgmp in Libs.private instead of in Libs.
621 * doc/cln.tex: Undocument cln-config, properly document pkg-config.
622 * cln-config.1.in: Remove.
623 * cln-config.in: Remove.
625 * configure.ac: Don't output cln-config and cln-config.1.
627 2006-12-24 Bruno Haible <bruno@clisp.org>
629 Make autoconfiguration work with gcc-4.3 snapshots.
630 * autoconf/intparam.c (main1): Rename get_integer_bitsize to
631 get_unsigned_integer_bitsize. New macro get_signed_integer_bitsize.
633 2006-12-19 Bruno Haible <bruno@clisp.org>
635 * autoconf/intparam.c (main): Use 'return', not exit().
636 * autoconf/floatparam.c (main): Likewise.
637 Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
639 2006-12-11 Richard B. Kreckel <kreckel@ginac.de>
641 Extend the exponent range from 32 bits to 64 bits on selected platforms.
642 * include/cln/number.h: Add signatures for operations with long long.
643 * include/cln/complex_class.h: Likewise.
644 * include/cln/real_class.h: Likewise.
645 * include/cln/real.h: Likewise.
646 * include/cln/rational_class.h: Likewise.
647 * include/cln/rational.h: Likewise.
648 * include/cln/integer_class.h: Likewise.
649 * include/cln/integer.h: Likewise.
650 * include/cln/float.h: Likewise.
651 * include/cln/lfloat.h: Likewise.
652 * include/cln/types.h (sintE and uintE): New types for exponents.
653 * include/cln/*float.h: Use the new types for exponents.
654 * include/cln/floatformat.h (float_format_t): Make underlying type
655 compatible with sintE.
656 * doc/cln.tex: Document changed float_exponent return value.
657 * src/float/cl_F.h: Likewise.
658 * src/float/ffloat/misc/cl_FF_exponent.cc: Likewise.
659 * src/float/input/cl_F_read.cc: Likewise.
660 * src/float/lfloat/cl_LF.h: Likewise.
661 * src/float/lfloat/cl_LF_impl.h: Likewise.
662 * src/float/lfloat/algebraic/cl_LF_sqrt.cc: Likewise.
663 * src/float/lfloat/elem/cl_LF_1plus.cc: Likewise.
664 * src/float/lfloat/elem/cl_LF_I_div.cc: Likewise.
665 * src/float/lfloat/elem/cl_LF_I_mul.cc: Likewise.
666 * src/float/lfloat/elem/cl_LF_compare.cc: Likewise.
667 * src/float/lfloat/elem/cl_LF_div.cc: Likewise.
668 * src/float/lfloat/elem/cl_LF_from_I.cc: Likewise.
669 * src/float/lfloat/elem/cl_LF_fround.cc: Likewise.
670 * src/float/lfloat/elem/cl_LF_ftrunc.cc: Likewise.
671 * src/float/lfloat/elem/cl_LF_futrunc.cc: Likewise.
672 * src/float/lfloat/elem/cl_LF_mul.cc: Likewise.
673 * src/float/lfloat/elem/cl_LF_scale.cc: Likewise.
674 * src/float/lfloat/elem/cl_LF_scale_I.cc: Likewise.
675 * src/float/lfloat/elem/cl_LF_square.cc: Likewise.
676 * src/float/lfloat/elem/cl_LF_to_I.cc: Likewise.
677 * src/float/lfloat/misc/cl_LF_decode.cc: Likewise.
678 * src/float/lfloat/misc/cl_LF_exponent.cc: Likewise.
679 * src/float/lfloat/misc/cl_LF_idecode.cc: Likewise.
680 * src/float/lfloat/misc/cl_LF_shortenrel.cc: Likewise.
681 * src/float/lfloat/misc/cl_LF_shortenwith.cc: Likewise.
682 * src/float/misc/cl_F_decode.cc: Likewise.
683 * src/float/misc/cl_F_exponent.cc: Likewise.
684 * src/float/misc/cl_F_shortenrel.cc: Likewise.
685 * src/float/misc/cl_float_format.cc: Likewise.
686 * src/float/output/cl_F_dprint.cc: Likewise.
687 * src/float/sfloat/misc/cl_SF_exponent.cc: Likewise.
688 * src/float/transcendental/cl_F_atanhx.cc: Likewise.
689 * src/float/transcendental/cl_F_atanx.cc: Likewise.
690 * src/float/transcendental/cl_F_cosh.cc: Likewise.
691 * src/float/transcendental/cl_F_expx.cc: Likewise.
692 * src/float/transcendental/cl_F_lnx.cc: Likewise.
693 * src/float/transcendental/cl_F_sinhx.cc: Likewise.
694 * src/float/transcendental/cl_F_sinx.cc: Likewise.
695 * src/float/transcendental/cl_LF_pi.cc: Likewise.
696 * src/integer/cl_I.h: Likewise.
697 * src/complex/algebraic/cl_LF_hypot.cc: Likewise.
698 * src/complex/elem/division/cl_C_LF_recip.cc: Likewise.
699 * src/float/dfloat/misc/cl_DF_exponent.cc: Likewise.
700 * src/integer/conv/cl_I_from_Q2.cc: Added.
701 * src/base/cl_low.h (isqrtC): New function, for 64 bit falls back to...
702 * src/base/low/cl_low_isqrt.cc (isqrt): ...this new implementation.
703 * src/base/cl_macros.h (bitc): Make sure 64 bit is used if required by
705 * examples/pi.cc: Support more than 646456614 decimal digits.
707 2006-11-02 Richard B. Kreckel <kreckel@ginac.de>
709 * src/base/digitseq/cl_DS.h: #undef DS, needed for i386-Solaris.
711 2006-10-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
713 * tests/Makefile.in (VPATH): Fix syntax error.
715 2006-09-14 Richard B. Kreckel <kreckel@ginac.de>
717 * examples/perfnum.cc: update to presumed 44th Mersenne prime.
719 2006-08-15 Richard B. Kreckel <kreckel@ginac.de>
721 * tests/Makefile.in: MinGW support for make check
722 (Patch by Sheplyakov Alexei <varg@theor.jinr.ru> to add ${EXEEXT}).
723 * Makefile.in: Convert from $(VAR) to ${VAR} syntax.
724 * benchmarks/Makefile.in: Likewise.
725 * doc/Makefile.in: Likewise.
726 * examples/Makefile.in: Likewise.
727 * src/Makefile.in: Likewise.
728 * tests/Makefile.in: Likewise.
730 2006-08-06 Richard B. Kreckel <kreckel@ginac.de>
732 * configure.ac: Re-enable shared lib on non-MinGW platforms, sigh.
734 2006-08-04 Sheplyakov Alexei <varg@theor.jinr.ru>
736 * configure.ac: Disable shared lib on MinGW.
738 2006-08-03 Sheplyakov Alexei <varg@theor.jinr.ru>
740 * m4/param.m4: Add support for MinGW.
741 * src/base/random/cl_random_from.cc: Fix for last patch.
743 2006-07-23 Sheplyakov Alexei <varg@theor.jinr.ru>
745 * src/base/random/cl_random_from.cc: Add support for MinGW.
747 2006-06-13 Richard B. Kreckel <kreckel@ginac.de>
749 * m4/general.m4 (CL_CANONICAL_HOST_CPU): Force host_cpu=i386 for x86_64
750 if userland is 32 bit.
751 * include/cln/config.h.in: Simplify __x86_64__ selection.
752 * src/base/digitseq/cl_asm_x86_64_.cc: Remove.
754 2006-06-09 Richard B. Kreckel <kreckel@ginac.de>
756 * src/base/digitseq/cl_DS.h (struct DS): Change len type to uintC.
758 2006-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
760 * m4/gettimeofday.m4 (CL_GETTIMEOFDAY): Fix M4 quoting.
762 2006-05-20 Bruno Haible <bruno@clisp.org>
764 * src/base/random/cl_random_from.cc: Treat FreeBSD, NetBSD like other
767 2006-05-07 Richard B. Kreckel <kreckel@ginac.de>
769 * include/cln/modules.h (CL_JUMP_TO): Fix for Intel Mac.
771 2006-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
773 Prepare for autoconf-2.60.
774 * Makefile.in (datarootdir): New variable.
775 * src/Makefile.in (datarootdir): New variable.
776 * doc/Makefile.in (datarootdir): New variable.
778 2006-04-25 Bruno Haible <bruno@clisp.org>
779 Richard B. Kreckel <kreckel@ginac.de>
781 Make it theoretically possible to use bignums and long-floats with
782 more than 2^32 significant digits or bits.
783 * doc/cln.tex (logcount): Change return type to uintC.
784 (struct cl_byte): Change elements to uintC.
785 (integer_length, ord2, power2p): Change return type to uintC.
786 (scale_float): Change argument type to sintC.
787 (float_digits, float_precision): Change return type to uintC.
788 * examples/atan_recip.cc: Use uintC instead of uintL where appropriate.
789 * examples/atanh_recip.cc: Likewise.
790 * include/cln/GV.h: Likewise.
791 * include/cln/GV_complex.h: Likewise.
792 * include/cln/GV_integer.h: Likewise.
793 * include/cln/GV_modinteger.h: Likewise.
794 * include/cln/GV_number.h: Likewise.
795 * include/cln/GV_rational.h: Likewise.
796 * include/cln/GV_real.h: Likewise.
797 * include/cln/SV.h: Likewise.
798 * include/cln/SV_complex.h: Likewise.
799 * include/cln/SV_integer.h: Likewise.
800 * include/cln/SV_number.h: Likewise.
801 * include/cln/SV_rational.h: Likewise.
802 * include/cln/SV_real.h: Likewise.
803 * include/cln/SV_ringelt.h: Likewise.
804 * include/cln/dfloat.h: Likewise.
805 * include/cln/ffloat.h: Likewise.
806 * include/cln/float.h: Likewise.
807 * include/cln/integer.h: Likewise.
808 * include/cln/lfloat.h: Likewise.
809 * include/cln/modinteger.h: Likewise.
810 * include/cln/sfloat.h: Likewise.
811 * src/base/cl_low.h (integerlengthC): New macro.
812 * src/base/digitseq/cl_2DS_div.cc: Use uintC instead of uintL where
814 * src/base/digitseq/cl_2DS_recip.cc: Likewise.
815 * src/base/digitseq/cl_DS.h: Likewise.
816 * src/base/digitseq/cl_DS_mul.c: Likewise.
817 * src/base/digitseq/cl_DS_mul_fftc.h: Likewise.
818 * src/base/digitseq/cl_DS_mul_fftcs.h: Likewise.
819 * src/base/digitseq/cl_DS_mul_fftm.h: Likewise.
820 * src/base/digitseq/cl_DS_mul_fftp.h: Likewise.
821 * src/base/digitseq/cl_DS_mul_fftp3.h: Likewise.
822 * src/base/digitseq/cl_DS_mul_fftp3m.h: Likewise.
823 * src/base/digitseq/cl_DS_mul_fftr.h: Likewise.
824 * src/base/digitseq/cl_DS_mul_kara.h: Likewise.
825 * src/base/digitseq/cl_DS_mul_nuss.h: Likewise.
826 * src/base/digitseq/cl_DS_recip.cc: Likewise.
827 * src/base/digitseq/cl_DS_recipsqrt.cc: Likewise.
828 * src/base/digitseq/cl_DS_sqrt.cc: Likewise.
829 * src/base/digitseq/cl_DS_trandom.cc: Likewise.
830 * src/complex/input/cl_N_read.cc: Likewise.
831 * src/complex/transcendental/cl_C_asinh_aux.cc: Likewise.
832 * src/complex/transcendental/cl_C_expt_C.cc: Likewise.
833 * src/float/cl_F.h: Likewise.
834 * src/float/conv/cl_F_from_F_f.cc: Likewise.
835 * src/float/conv/cl_F_from_I_f.cc: Likewise.
836 * src/float/conv/cl_F_from_RA_f.cc: Likewise.
837 * src/float/dfloat/conv/cl_I_to_double.cc: Likewise.
838 * src/float/dfloat/conv/cl_RA_to_double.cc: Likewise.
839 * src/float/dfloat/elem/cl_DF_from_I.cc: Likewise.
840 * src/float/dfloat/elem/cl_DF_from_RA.cc: Likewise.
841 * src/float/dfloat/elem/cl_DF_scale.cc: Likewise.
842 * src/float/dfloat/misc/cl_DF_digits.cc: Likewise.
843 * src/float/dfloat/misc/cl_DF_precision.cc: Likewise.
844 * src/float/elem/cl_F_scale.cc: Likewise.
845 * src/float/ffloat/conv/cl_I_to_float.cc: Likewise.
846 * src/float/ffloat/conv/cl_RA_to_float.cc: Likewise.
847 * src/float/ffloat/elem/cl_FF_from_I.cc: Likewise.
848 * src/float/ffloat/elem/cl_FF_from_RA.cc: Likewise.
849 * src/float/ffloat/elem/cl_FF_scale.cc: Likewise.
850 * src/float/ffloat/misc/cl_FF_digits.cc: Likewise.
851 * src/float/ffloat/misc/cl_FF_precision.cc: Likewise.
852 * src/float/input/cl_F_read.cc: Likewise.
853 * src/float/lfloat/algebraic/cl_LF_sqrt.cc: Likewise.
854 * src/float/lfloat/elem/cl_LF_1plus.cc: Likewise.
855 * src/float/lfloat/elem/cl_LF_I_div.cc: Likewise.
856 * src/float/lfloat/elem/cl_LF_I_mul.cc: Likewise.
857 * src/float/lfloat/elem/cl_LF_div.cc: Likewise.
858 * src/float/lfloat/elem/cl_LF_from_I.cc: Likewise.
859 * src/float/lfloat/elem/cl_LF_from_RA.cc: Likewise.
860 * src/float/lfloat/elem/cl_LF_fround.cc: Likewise.
861 * src/float/lfloat/elem/cl_LF_ftrunc.cc: Likewise.
862 * src/float/lfloat/elem/cl_LF_futrunc.cc: Likewise.
863 * src/float/lfloat/elem/cl_LF_scale.cc: Likewise.
864 * src/float/lfloat/elem/cl_LF_to_I.cc: Likewise.
865 * src/float/lfloat/misc/cl_LF_digits.cc: Likewise.
866 * src/float/lfloat/misc/cl_LF_idecode.cc: Likewise.
867 * src/float/lfloat/misc/cl_LF_leninc.cc: Likewise.
868 * src/float/lfloat/misc/cl_LF_lenincx.cc: Likewise.
869 * src/float/lfloat/misc/cl_LF_precision.cc: Likewise.
870 * src/float/lfloat/misc/cl_LF_shortenrel.cc: Likewise.
871 * src/float/lfloat/misc/cl_LF_shortenwith.cc: Likewise.
872 * src/float/misc/cl_F_digits.cc: Likewise.
873 * src/float/misc/cl_F_epsneg.cc: Likewise.
874 * src/float/misc/cl_F_epspos.cc: Likewise.
875 * src/float/misc/cl_F_leastneg.cc: Likewise.
876 * src/float/misc/cl_F_leastpos.cc: Likewise.
877 * src/float/misc/cl_F_mostneg.cc: Likewise.
878 * src/float/misc/cl_F_mostpos.cc: Likewise.
879 * src/float/misc/cl_F_precision.cc: Likewise.
880 * src/float/misc/cl_F_rational.cc: Likewise.
881 * src/float/misc/cl_F_shortenrel.cc: Likewise.
882 * src/float/output/cl_F_dprint.cc: Likewise.
883 * src/float/random/cl_F_random.cc: Likewise.
884 * src/float/sfloat/elem/cl_SF_from_I.cc: Likewise.
885 * src/float/sfloat/elem/cl_SF_from_RA.cc: Likewise.
886 * src/float/sfloat/elem/cl_SF_scale.cc: Likewise.
887 * src/float/sfloat/misc/cl_SF_digits.cc: Likewise.
888 * src/float/sfloat/misc/cl_SF_precision.cc: Likewise.
889 * src/float/transcendental/cl_F_atanhx.cc: Likewise.
890 * src/float/transcendental/cl_F_atanx.cc: Likewise.
891 * src/float/transcendental/cl_F_catalanconst_f.cc: Likewise.
892 * src/float/transcendental/cl_F_cos.cc: Likewise.
893 * src/float/transcendental/cl_F_cosh.cc: Likewise.
894 * src/float/transcendental/cl_F_coshsinh.cc: Likewise.
895 * src/float/transcendental/cl_F_cossin.cc: Likewise.
896 * src/float/transcendental/cl_F_eulerconst_f.cc: Likewise.
897 * src/float/transcendental/cl_F_exp1_f.cc: Likewise.
898 * src/float/transcendental/cl_F_expx.cc: Likewise.
899 * src/float/transcendental/cl_F_ln10_f.cc: Likewise.
900 * src/float/transcendental/cl_F_ln2_f.cc: Likewise.
901 * src/float/transcendental/cl_F_lnx.cc: Likewise.
902 * src/float/transcendental/cl_F_pi_f.cc: Likewise.
903 * src/float/transcendental/cl_F_sin.cc: Likewise.
904 * src/float/transcendental/cl_F_sinh.cc: Likewise.
905 * src/float/transcendental/cl_F_sinhx.cc: Likewise.
906 * src/float/transcendental/cl_F_sinx.cc: Likewise.
907 * src/float/transcendental/cl_F_tran.h: Likewise.
908 * src/float/transcendental/cl_F_zeta_int_f.cc: Likewise.
909 * src/float/transcendental/cl_LF_atan_recip.cc: Likewise.
910 * src/float/transcendental/cl_LF_atanh_recip.cc: Likewise.
911 * src/float/transcendental/cl_LF_catalanconst.cc: Likewise.
912 * src/float/transcendental/cl_LF_coshsinh_aux.cc: Likewise.
913 * src/float/transcendental/cl_LF_cossin_aux.cc: Likewise.
914 * src/float/transcendental/cl_LF_eulerconst.cc: Likewise.
915 * src/float/transcendental/cl_LF_exp1.cc: Likewise.
916 * src/float/transcendental/cl_LF_exp_aux.cc: Likewise.
917 * src/float/transcendental/cl_LF_pi.cc: Likewise.
918 * src/float/transcendental/cl_LF_ratseries.cc: Likewise.
919 * src/float/transcendental/cl_LF_ratseries_.cc: Likewise.
920 * src/float/transcendental/cl_LF_ratseries_a.cc: Likewise.
921 * src/float/transcendental/cl_LF_ratseries_ab.cc: Likewise.
922 * src/float/transcendental/cl_LF_ratseries_b.cc: Likewise.
923 * src/float/transcendental/cl_LF_ratseries_p.cc: Likewise.
924 * src/float/transcendental/cl_LF_ratseries_pa.cc: Likewise.
925 * src/float/transcendental/cl_LF_ratseries_pab.cc: Likewise.
926 * src/float/transcendental/cl_LF_ratseries_pb.cc: Likewise.
927 * src/float/transcendental/cl_LF_ratseries_pq.cc: Likewise.
928 * src/float/transcendental/cl_LF_ratseries_pqa.cc: Likewise.
929 * src/float/transcendental/cl_LF_ratseries_pqab.cc: Likewise.
930 * src/float/transcendental/cl_LF_ratseries_pqb.cc: Likewise.
931 * src/float/transcendental/cl_LF_ratseries_q.cc: Likewise.
932 * src/float/transcendental/cl_LF_ratseries_qa.cc: Likewise.
933 * src/float/transcendental/cl_LF_ratseries_qab.cc: Likewise.
934 * src/float/transcendental/cl_LF_ratseries_qb.cc: Likewise.
935 * src/float/transcendental/cl_LF_ratseries_stream_pq.cc: Likewise.
936 * src/float/transcendental/cl_LF_ratseries_stream_pqa.cc: Likewise.
937 * src/float/transcendental/cl_LF_ratseries_stream_pqab.cc: Likewise.
938 * src/float/transcendental/cl_LF_ratseries_stream_pqb.cc: Likewise.
939 * src/float/transcendental/cl_LF_ratsumseries_pqcd.cc: Likewise.
940 * src/float/transcendental/cl_LF_ratsumseries_pqcd_aux.cc: Likewise.
941 * src/float/transcendental/cl_LF_ratsumseries_pqd.cc: Likewise.
942 * src/float/transcendental/cl_LF_ratsumseries_pqd_aux.cc: Likewise.
943 * src/float/transcendental/cl_LF_tran.h: Likewise.
944 * src/float/transcendental/cl_LF_zeta3.cc: Likewise.
945 * src/float/transcendental/cl_LF_zeta_int.cc: Likewise.
946 * src/integer/algebraic/cl_I_rootp_I.cc: Likewise.
947 * src/integer/algebraic/cl_I_rootp_aux.cc: Likewise.
948 * src/integer/bitwise/cl_I_ash.cc: Likewise.
949 * src/integer/bitwise/cl_I_ash_I.cc: Likewise.
950 * src/integer/bitwise/cl_I_byte.h: Likewise.
951 * src/integer/bitwise/cl_I_fullbyte.cc: Likewise.
952 * src/integer/bitwise/cl_I_ilength.cc: Likewise.
953 * src/integer/bitwise/cl_I_ldb.cc: Likewise.
954 * src/integer/bitwise/cl_I_ldbtest.cc: Likewise.
955 * src/integer/bitwise/cl_I_ldbx.cc: Likewise.
956 * src/integer/bitwise/cl_I_ldbxtest.cc: Likewise.
957 * src/integer/bitwise/cl_I_logbitp.cc: Likewise.
958 * src/integer/bitwise/cl_I_logbitp_I.cc: Likewise.
959 * src/integer/bitwise/cl_I_logcount.cc: Likewise.
960 * src/integer/bitwise/cl_I_mkf.cc: Likewise.
961 * src/integer/bitwise/cl_I_mkfx.cc: Likewise.
962 * src/integer/cl_I.h: Likewise.
963 * src/integer/conv/cl_I_to_digits.cc: Likewise.
964 * src/integer/conv/cl_I_digits_need.cc: Likewise.
965 * src/integer/conv/cl_I_from_digits.cc: Likewise.
966 * src/integer/gcd/cl_I_gcd.cc: Likewise.
967 * src/integer/gcd/cl_I_xgcd.cc: Likewise.
968 * src/integer/misc/cl_I_eqhashcode.cc: Likewise.
969 * src/integer/misc/cl_I_ord2.cc: Likewise.
970 * src/integer/misc/cl_I_power2p.cc: Likewise.
971 * src/integer/output/cl_I_cached_power.h (cached_power_table): allow
973 * src/integer/output/cl_I_decstring.cc: Use uintC instead of uintL
975 * src/integer/output/cl_I_print.cc: Likewise.
976 * src/integer/output/cl_I_print_string.cc: Likewise.
977 * src/modinteger/cl_MI.cc: Likewise.
978 * src/modinteger/cl_MI_lshift.cc: Likewise.
979 * src/modinteger/cl_MI_montgom.h: Likewise.
980 * src/modinteger/cl_MI_pow2.h: Likewise.
981 * src/modinteger/cl_MI_pow2m1.h: Likewise.
982 * src/modinteger/cl_MI_pow2p1.h: Likewise.
983 * src/modinteger/cl_MI_rshift.cc: Likewise.
984 * src/modinteger/cl_MI_std.h: Likewise.
985 * src/numtheory/cl_IF_millerrabin.cc: Likewise.
986 * src/numtheory/cl_nt_isprobprime.cc: Likewise.
987 * src/numtheory/cl_nt_sqrtmodp.cc: Likewise.
988 * src/polynomial/elem/cl_UP_GF2.h: Likewise.
989 * src/real/conv/cl_F_from_R_f.cc: Likewise.
990 * src/real/format-output/cl_fmt_floatstring.cc: Likewise.
991 * src/real/input/cl_R_read.cc: Likewise.
992 * src/vector/cl_GV_I.cc: Likewise.
993 * src/vector/cl_GV_I_copy.cc: Likewise.
994 * src/vector/cl_GV_number.cc: Likewise.
995 * src/vector/cl_GV_number_copy.cc: Likewise.
996 * src/vector/cl_SV_copy.cc: Likewise.
997 * src/vector/cl_SV_number.cc: Likewise.
998 * src/vector/cl_SV_ringelt.cc: Likewise.
999 * tests/main.cc: Likewise.
1000 * tests/test_I_ilength.cc: Likewise.
1001 * tests/test_I_ord2.cc: Likewise.
1003 2006-04-19 Bruno Haible <bruno@clisp.org>
1005 Prepare for autoconf-2.60.
1006 * general.m4 (CL_CC_WORKS): Include <stdlib.h>, for exit() declaration.
1007 * longdouble.m4 (CL_LONGDOUBLE): Likewise.
1008 * longlong.m4 (CL_LONGLONG): Likewise.
1009 * times.m4 (CL_TIMES_CLOCK): Likewise.
1010 Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
1012 2005-12-04 Bruno Haible <bruno@clisp.org>
1014 * src/integer/conv/cl_I_to_digits.cc (I_to_digits_noshrink): Set
1015 erg->len at the end.
1017 2005-12-04 Bruno Haible <bruno@clisp.org>
1019 Extend the fixnum range from 32 bits to 61 bits on 64-bit platforms.
1020 * doc/cln.tex (gcd, jacobi): Take 'long' instead of 'int32' arguments.
1021 * include/cln/object.h (cl_value_shift): Define as 3, not 32, in the
1023 * include/cln/types.h (intVsize): New macro.
1024 (sintV, uintV): New types.
1025 * include/cln/integer.h (gcd): Take uintV arguments.
1026 * include/cln/numtheory.h (jacobi): Take sintV arguments.
1027 * src/complex/input/cl_N_read.cc (read_complex): Call FN_to_UV instead
1029 * src/complex/transcendental/cl_C_expt_C.cc: Likewise.
1030 * src/float/dfloat/elem/cl_DF_scale_I.cc: Use uintV instead of uintL
1031 * src/float/dfloat/elem/cl_DF_from_RA.cc: Don't assume values >= 2^53
1032 and < 2^55 are always bignums.
1034 * src/float/ffloat/conv/cl_RA_to_float.cc: Call FN_to_UV instead of
1036 * src/float/ffloat/elem/cl_FF_from_RA.cc: Likewise.
1037 * src/float/ffloat/elem/cl_FF_scale_I.cc: Call FN_to_V instead of
1039 * src/float/lfloat/elem/cl_LF_scale_I.cc: Likewise.
1040 * src/float/output/cl_F_dprint.cc: Likewise.
1041 * src/float/sfloat/elem/cl_SF_from_RA.cc: Call FN_to_UV instead of
1043 * src/float/sfloat/elem/cl_SF_scale_I.cc: Call FN_to_V instead of
1045 * src/integer/cl_I.h (FN_to_UV): Renamed from FN_to_UL, change return
1047 (FN_to_V): Renamed from FN_to_L, change return type.
1048 (FN_V_zerop): Renamed from FN_L_zerop.
1049 (FN_V_minusp): Renamed from FN_L_minusp.
1050 (cl_I_constructor_from_L2, cl_I_constructor_from_UL2): Define as an
1051 inline function on 64-bit platforms.
1052 (V_to_I, UV_to_I): New macros.
1053 (pFN_maxlength_digits_at): Return an uintV instead of an uint32.
1054 (set_pFN_maxlength_digits_at): Take an uintV instead of an uint32.
1055 * src/integer/algebraic/cl_I_sqrtp.cc: Call FN_to_UV instead of
1057 * src/integer/bitwise/cl_I_ash_I.cc: Call FN_to_V instead of FN_to_L.
1058 * src/integer/bitwise/cl_I_ilength.cc: Likewise.
1059 * src/integer/bitwise/cl_I_log_aux.cc: Likewise.
1060 * src/integer/bitwise/cl_I_logbitp_I.cc: Likewise.
1061 * src/integer/bitwise/cl_I_logcount.cc: Likewise.
1062 * src/integer/bitwise/cl_I_logtest.cc: Likewise.
1063 * src/integer/conv/cl_I_from_L2.cc: Don't produce code on 64-bit
1065 * src/integer/conv/cl_I_from_UL2.cc: Likewise.
1066 * src/integer/conv/cl_I_from_NDS.cc: Update.
1067 * src/integer/conv/cl_I_from_Q.cc: Remove cast to sint32.
1068 * src/integer/conv/cl_I_from_UQ.cc: Remove cast to uint32.
1069 * src/integer/conv/cl_I_to_L.cc: Check again fixnum that needs more
1071 * src/integer/conv/cl_I_to_Q.cc: Call FN_to_V instead of FN_to_L.
1072 * src/integer/conv/cl_I_to_UL.cc: Likewise.
1073 * src/integer/conv/cl_I_to_UQ.cc: Likewise.
1074 * src/integer/elem/cl_I_div.cc: Treat fixnums that need more than 32
1076 * src/integer/elem/cl_I_minus.cc: Call FN_to_V instead of FN_to_L.
1077 * src/integer/elem/cl_I_mul.cc: Likewise.
1078 * src/integer/elem/cl_I_plus.cc: Likewise.
1079 * src/integer/elem/cl_I_square.cc: Likewise.
1080 * src/integer/elem/cl_I_uminus.cc: Likewise.
1081 * src/integer/gcd/cl_I_gcd.cc: Likewise.
1082 * src/integer/gcd/cl_low_gcd.cc (gcd): Take uintV arguments.
1083 * src/integer/hash/cl_I_hashcode.cc: Call FN_to_V instead of FN_to_L.
1084 * src/integer/input/cl_I_read.cc (read_integer): Call FN_to_UV instead
1086 * src/integer/misc/cl_I_ord2.cc (ord2): Call ord2_64 on 64-bit
1088 * src/integer/misc/cl_I_power2p.cc: Call FN_to_UV instead of FN_to_UL.
1089 * src/integer/misc/combin/cl_I_doublefactorial.cc (doublefakul_table):
1090 Extend table for larger fixnums.
1091 (doublefactorial): Update.
1092 * src/integer/misc/combin/cl_I_factorial.cc (fakul_table): Extend table
1094 (factorial): Update.
1095 * src/modinteger/cl_MI_fix16.h: Call FN_to_UV instead of FN_to_UL.
1096 * src/modinteger/cl_MI_fix29.h: Likewise.
1097 * src/modinteger/cl_MI_fix32.h: Likewise.
1098 * src/modinteger/cl_MI_std.h: Likewise.
1099 * src/numtheory/cl_nt_cornacchia4.cc: Call FN_to_V instead of FN_to_L.
1100 * src/numtheory/cl_nt_jacobi.cc: Likewise.
1101 * src/numtheory/cl_nt_jacobi_low.cc (jacobi_aux): Take uintV arguments
1102 instead of uint32 arguments.
1103 (jacobi): Take sintV argument instead of a sint32 argument.
1104 * src/rational/input/cl_RA_read.cc: Call FN_to_UV instead of FN_to_UL.
1105 * src/real/input/cl_R_read.cc: Likewise.
1106 * src/vector/cl_GV_I.cc: Likewise.
1107 * tests/timefact.cc: Call FN_to_V instead of FN_to_L.
1109 2005-12-04 Bruno Haible <bruno@clisp.org>
1111 More complete 64-bit division macros.
1112 * src/base/cl_low.h (divu_6432_3232_w): Choose a different macro
1113 expansion on x86_64.
1114 (divu_6432_6432): New macro.
1115 (divu_6464_6464): Choose a different macro expansion for all CPUs
1116 except sparc64 and x86_64.
1117 (divu_12864_6464): Define NEED_VAR_divu_64_rest here.
1118 * src/base/low/cl_low_div.cc (divu_64_rest): Avoid defining it twice.
1119 (divu_6464_6464_): New function.
1121 2005-12-04 Bruno Haible <bruno@clisp.org>
1123 * src/base/cl_low.h (ord2_64): New macro.
1125 2005-12-02 Bruno Haible <bruno@clisp.org>
1127 * src/base/cl_low.h (mulu64) [x86_64]: Change asm restriction, since
1128 mulq doesn't accept immediate arguments.
1130 2005-11-26 Bruno Haible <bruno@clisp.org>
1132 * src/base/cl_low.h (GENERIC_INTEGERLENGTH32): New macro.
1133 (integerlength64): Define using integerlength32 if integerlength32
1134 is not defined generically.
1136 2005-11-26 Bruno Haible <bruno@clisp.org>
1138 * src/base/cl_low.h (mulu32) [SPARC64]: Remove rd instruction, since
1139 umul returns the complete 64-bit product in a register.
1140 (mulu32_w) [SPARC64]: Prefer umul over mulx instruction.
1141 (divu_6432_3232_w) [SPARC64]: Prefer umul/udiv over mulx/udivx
1144 2005-11-26 Bruno Haible <bruno@clisp.org>
1146 * src/base/cl_low.h (divu_3216_1616): Prepend underscore to local
1149 2005-11-26 Bruno Haible <bruno@clisp.org>
1151 * src/base/cl_low.h (ord2_32): Parenthesize macro argument.
1153 2005-12-17 Richard B. Kreckel <kreckel@ginac.de>
1155 * Created branch cln_1-1 for maintenance patches.
1156 This is the main branch, which will eventually become CLN 1.2.0.
1158 2005-12-15 Dmitry V. Kustov <kustov@telex221.ru>
1160 * src/base/random/cl_random_from.cc: Add support for OpenBSD.
1162 2005-11-23 Richard B. Kreckel <kreckel@ginac.de>
1164 * Version 1.1.11 released.
1166 2005-11-20 Richard B. Kreckel <kreckel@ginac.de>
1168 * src/integer/conv/cl_I_cached_power.h: New file.
1169 * src/integer/conv/cl_I_cached_power.cc: New file.
1170 Contains power_table and cached_power_table previously...
1171 * src/integer/conv/cl_I_to_digits.cc: ...here.
1172 * src/integer/conv/cl_I_from_digits.cc: Use cached powers.
1174 2005-11-02 Richard B. Kreckel <kreckel@ginac.de>
1176 * src/integer/conv/cl_I_from_digits.cc: Made input of all numbers in
1177 non-power-of-two base much faster.
1178 * tests/test_I_io.cc: New file...
1179 * tests/Makefile.in, tests/test_I.cc: ...used here.
1181 2005-10-22 Richard B. Kreckel <kreckel@ginac.de>
1183 * Version 1.1.10 released.
1185 2005-10-22 Richard B. Kreckel <kreckel@ginac.de>
1187 * src/Makefile.in: Accept CPPFLAGS from environment.
1188 * examples/Makefile.in: Likewise.
1189 * benchmarks/Makefile.in: Likewise.
1190 * tests/Makefile.in: Likewise.
1192 2005-08-30 Richard B. Kreckel <kreckel@ginac.de>
1194 * include/cln/modules.h (CL_OUTPUT_LABEL): Work around redundant
1195 duplication of basic blocks on m68k.
1197 2005-08-30 Richard B. Kreckel <kreckel@ginac.de>
1199 * include/cln/modules.h (CL_JUMP_TO): Fix mips* brokenness.
1201 2005-08-27 Bruno Haible <bruno@clisp.org>
1203 Split aclocal.m4 into individual files.
1204 * m4/alloca.m4, m4/as-underscore.m4, m4/c++-constructors.m4:
1205 * m4/fpu_control.m4, m4/general.m4, m4/gettimeofday.m4:
1206 * m4/longdouble.m4, m4/longlong.m4, m4/param.m4, m4/perror.m4:
1207 * m4/proto.m4, m4/rusage.m4, m4/times.m4:
1208 New files, extracted from autoconf/aclocal.m4.
1209 * autoconf/aclocal.m4: m4_include them.
1210 * Makefile.devel (AUTOCONF_MACROS): New variable.
1211 (configure): Depend on it.
1212 (CLISP_M4DIR): Remove variable.
1213 (autoconf/aclocal.m4): Remove rule.
1215 2005-08-27 Bruno Haible <bruno@clisp.org>
1217 * src/integer/bitwise/cl_I_ash_I.cc (ash): Avoid shifting a 32-bit
1218 zero value by more than 31 bits.
1220 2005-08-27 Bruno Haible <bruno@clisp.org>
1222 Make the long-float overflow check work on 64-bit platforms.
1223 * src/float/lfloat/cl_LF.h (LF_exp_mid, LF_exp_high): Define as
1224 'unsigned int', not 'unsigned long'.
1226 2005-08-27 Bruno Haible <bruno@clisp.org>
1228 * include/cln/modules.h (CL_OUTPUT_LABEL): Work around redundant
1229 duplication of basic blocks by g++ 4.0.
1230 See <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23345>.
1232 2005-08-27 Bruno Haible <bruno@clisp.org>
1234 Make it possible to cross-compile CLN.
1235 * m4/intparam.m4: New file.
1236 * m4/floatparam.m4: New file.
1237 * autoconf/aclocal.m4: Include both.
1238 (CL_MACHINE): Add an additional CROSS_MACRO parameter.
1239 * configure.ac (CL_MACHINE): When cross-compiling, use
1240 CL_INTPARAM_CROSS and CL_FLOATPARAM_CROSS.
1242 2005-08-27 Bruno Haible <bruno@clisp.org>
1244 Define HAVE_LONGLONG and HAVE_LONGDOUBLE when cross-compiling.
1245 * autoconf/aclocal.m4 (CL_LONGLONG, CL_LONGDOUBLE): When cross-
1246 compiling, use the test code from gnulib.
1248 2005-08-27 Bruno Haible <bruno@clisp.org>
1250 * autoconf/aclocal.m4 (CL_RUSAGE): Fix error when cross-compiling.
1252 2005-08-16 Richard B. Kreckel <kreckel@ginac.de>
1254 The patch of 2005-05-01 made it impossible to test the type of a cl_UP
1255 by comparing with &cl_class_univpoly_ring. We need an alternative:
1256 * include/cln/object.h (cl_class_flags_modint_ring): New #define...
1257 * src/polynomial/elem/cl_UP.cc (cl_class_univpoly_ring): ...used here.
1258 * src/polynomial/elem/cl_UP_GF2.h: Likewise.
1259 * src/polynomial/elem/cl_UP_MI.h: Likewise.
1260 * src/polynomial/elem/cl_UP_gen.h: Likewise.
1261 * src/polynomial/elem/cl_UP_number.h: Likewise.
1263 2005-08-15 Richard B. Kreckel <kreckel@ginac.de>
1265 * m4/cc.m4 (CL_AS_NOEXECSTACK): New macro...
1266 * configure.ac: ...used here for setting ASMFLAGS...
1267 * src/Makefile.in: ...which are used here.
1269 2005-08-02 Andreas Jochens <aj@andaco.de>
1271 * include/cln/config.h.in: Add support for PowerPC 64 CPU.
1272 * include/cln/modules.h: Likewise.
1273 * include/cln/object.h: Likewise.
1274 * include/cln/types.h: Likewise.
1276 2005-07-24 Richard B. Kreckel <kreckel@ginac.de>
1278 Make out of the box build on x86_64 system with complete 32 bit
1280 * include/cln/config.h.in: Don't #define __x86_64__ when
1281 __i386__ is defined.
1282 * src/base/digitseq/cl_asm_x86_64_.cc: New file.
1283 * doc/cln.tex: Revert workaround description introduced 2005-05-02.
1285 2005-06-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1287 * Makefile.in: Don't enter nonexisting directories.
1289 2005-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1291 Speed up the linking step
1292 * src/Makefile.in: Use -objectlist for linking libcln.la.
1294 2005-05-15 Richard B. Kreckel <kreckel@ginac.de>
1296 * autoconf/ltmain.sh: Upgrade to libtool-1.5.16.
1297 * m4/libtool.m4: Upgrade to libtool-1.5.16 (without Comeau patch).
1299 2005-05-02 Richard B. Kreckel <kreckel@ginac.de>
1301 * doc/cln.tex: Document what to do on a x86_64 machine with 32-bit
1304 2005-05-01 Richard B. Kreckel <kreckel@ginac.de>
1306 Fix crashes in find_univpoly_ring and related functions
1307 * include/cln/modinteger.h: Remove vptr from cl_heap_modint_ring;
1308 remove declaration of cl_class cl_class_modint_ring.
1309 * include/cln/univpoly.h: Remove vptr from cl_heap_univpoly_ring;
1310 remove declaration of cl_class_univpoly_ring.
1311 * include/cln/object.h: cl_class_flags_modint_ring: New #define...
1312 * src/modinteger/cl_MI.cc: ...used in cl_class_modint_ring.
1313 * src/modinteger/cl_MI_fix16.h: No vptr, but static dtor and type flag.
1314 * src/modinteger/cl_MI_fix29.h: Likewise.
1315 * src/modinteger/cl_MI_fix32.h: Likewise.
1316 * src/modinteger/cl_MI_int32.h: Likewise.
1317 * src/modinteger/cl_MI_montgom.h: Likewise.
1318 * src/modinteger/cl_MI_pow2: Likewise.
1319 * src/modinteger/cl_MI_pow2m1.h: Likewise.
1320 * src/modinteger/cl_MI_pow2p1.h: Likewise.
1321 * src/modinteger/cl_MI_std.h: Likewise.
1322 * src/polynomial/elem/cl_UP.cc (cl_make_univpoly_ring): Compare with
1323 cl_class_flags_modint_ring, not with cl_class_modint_ring.
1324 * src/polynomial/elem/cl_UP_GF2.h (cl_class_num_univpoly_ring): New.
1325 * src/polynomial/elem/cl_UP_MI.h (cl_class_modint_univpoly_ring): New.
1326 * src/polynomial/elem/cl_UP_gen.h (cl_class_gen_univpoly_ring): New.
1327 * src/polynomial/elem/cl_UP_number.h (cl_class_num_univpoly_ring): New.
1328 Reported by Ralf Goertz <R_Goertz@web.de>.
1330 2005-04-29 Richard B. Kreckel <kreckel@ginac.de>
1331 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1333 * m4/cc.m4: Emit a warning if g++ is used and optimization turned off.
1335 2005-04-24 Richard B. Kreckel <kreckel@ginac.de>
1337 Make GCC compiler flags default to -O
1338 * m4/cc.m4: New file...
1339 * configure.ac: ...used here.
1340 * autoconf/aclocal.m4: Regenerate.
1342 2005-04-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1344 * include/cln/string.h: Declare cl_string.
1346 2005-03-17 Richard B. Kreckel <kreckel@ginac.de>
1348 * autoconf/ltmain.sh: Upgrade to libtool-1.5.14.
1349 * m4/libtool.m4: Upgrade to libtool-1.5.14 with Comeau patch.
1350 * autoconf/aclocal.m4: Regenerate.
1352 2005-03-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1354 * src/Makefile.in: Use $CXX instead of $CC when linking.
1356 2005-02-27 Richard B. Kreckel <kreckel@ginac.de>
1358 * examples/perfnum.cc: update to presumed 42st Mersenne prime.
1360 2004-11-28 Richard B. Kreckel <kreckel@ginac.de>
1362 Disambiguate binary operators of CLN types with float/double
1363 * include/cln/dfloat.h: Add binary operator overloads for arguments of
1365 * include/cln/ffloat.h: Likewise, for arguments of type float.
1366 * include/cln/float.h: Likewise, both for arguments of types double and
1368 * include/cln/real.h: Likewise.
1369 Reported by Isidro Cachadiña Gutiérrez <icacha@unex.es>.
1371 2004-11-03 Richard B. Kreckel <kreckel@ginac.de>
1373 * Version 1.1.9 released.
1375 2004-10-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1377 * src/Makefile.in: Let config.status set LDFLAGS.
1379 2004-10-27 Peter Breitenlohner <peb@mppmu.mpg.de>
1381 * cln.pc.in: Fix typo.
1382 * Makefile.in (INSTALL_SCRIPT): Added, to be used for scripts like
1383 cln-config. Allows us to do special things to binaries, like
1384 installing them with install -s.
1385 * doc/Makefile.in: add/remove the cln.info from the installed
1386 $(infodir)/dir unless this is debian install-info (code copied from
1387 what GNU automake would produce).
1389 2004-10-26 Richard B. Kreckel <kreckel@ginac.de>
1391 * src/integer/input/cl_I_read_stream.cc (read_integer): Fix a bug
1392 that caused radix specifiers to not work when reading from a stream.
1393 * src/rational/input/cl_RA_read_stream.cc (read_rational): Likewise.
1394 * src/real/input/cl_R_read_stream.cc (read_real): Likewise.
1395 * src/float/input/cl_F_read_stream.cc (read_float): Likewise.
1396 * src/complex/input/cl_N_read_stream.cc (read_complex): Likewise.
1398 2004-10-25 Richard B. Kreckel <kreckel@ginac.de>
1400 * src/base/cl_low.h: Add mulu64 assembler macro for ia64.
1402 2004-10-24 Richard B. Kreckel <kreckel@ginac.de>
1404 * src/base/cl_low.h: Add mul and div macros for x86_64.
1406 2004-10-23 Richard B. Kreckel <kreckel@ginac.de>
1408 * src/integer/conv/cl_I_from_digits.cc (digits_to_I): Fix thinko in
1409 new code for base power of two.
1411 2004-10-22 Richard B. Kreckel <kreckel@ginac.de>
1413 * src/integer/conv/cl_I_to_digits (I_to_digits): Fix an elusive stack
1414 overwriting problem. That was the real cause for Debian bug#246319.
1415 * src/integer/output/cl_I_print.cc (print_integer): Revert workaround
1416 for the bug fixed above.
1418 2004-10-20 Richard B. Kreckel <kreckel@ginac.de>
1420 * include/cln/types.h: Use 64 bit digits on x86_64 CPU.
1422 2004-10-12 Richard B. Kreckel <kreckel@ginac.de>
1424 * src/integer/conv/cl_I_from_digits.cc (digits_to_I): Speedup when
1425 the base is a power of two.
1427 2004-10-05 Richard B. Kreckel <kreckel@ginac.de>
1429 * src/integer/conv/cl_I_to_digits.cc (I_to_digits): Fix bug in base 32.
1431 2004-09-27 Richard B. Kreckel <kreckel@ginac.de>
1433 Support for little-endian Mips, second shot
1434 * src/base/digitseq/cl_asm_mipsel_.cc: New file...
1435 * src/base/digitseq/cl_asm_cc: ...used here.
1436 * src/base/digitseq/cl_asm.h: Include cl_asm_mips.h for any endianness.
1437 * include/cln/object.h: Set alignment for mipsel explicitly.
1439 2004-09-05 Richard B. Kreckel <kreckel@ginac.de>
1441 Support for little-endian Mips
1442 * include/cln/config.h.in: Add __mipsel__.
1443 * include/cln/modules.h: For Mips, this is endianness-agnostic.
1444 * src/base/digitseq/cl_asm_.cc, src/base/digitseq/cl_asm.h:
1445 Mask out assembler for little-endian Mips.
1447 2004-08-30 Bruno Haible <bruno@clisp.org>
1449 * benchmarks/timebench2.sh: Multiply all repeat counts by 100.
1450 * benchmarks/timebench2.results: Add recent PowerPC G4 results.
1452 2004-08-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1454 * examples/e.cc: remove extra semicolon.
1456 2004-08-25 Bruno Haible <bruno@clisp.org>
1458 * autoconf/ltmain.sh: Upgrade to libtool-1.5.6.
1459 * m4/libtool.m4: New file, from libtool-1.5.6 with modifications:
1460 2004-08-22 Bruno Haible <bruno@clisp.org>
1461 * m4/libtool.m4: Add support for Comeau C++ on Linux.
1462 Reported by Prof. Roberto Bagnara <bagnara@cs.unipr.it>.
1463 * autoconf/aclocal.m4: Regenerate.
1465 2004-08-19 Bruno Haible <bruno@clisp.org>
1467 * include/cln/modules.h (CL_GLOBALIZE_JUMP_LABEL, CL_JUMP_TO): When
1468 converting a label to a string, use ASM_UNDERSCORE_PREFIX. Needed on
1470 Reported by Darren Bane <darren.bane@ul.ie>.
1472 2004-07-01 Richard B. Kreckel <kreckel@ginac.de>
1474 * Version 1.1.8 released.
1476 2004-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1478 * src/base/cl_macros.h: alloca(3) has size_t argument type.
1480 2004-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1482 * include/cln/floatformat.h: Do define a type here.
1484 2004-06-27 Richard B. Kreckel <kreckel@ginac.de>
1486 * include/cln/modules.h (CL_JUMP_TO): Fix AMD64 brokenness.
1488 2004-06-23 Bruno Haible <bruno@clisp.org>
1490 * configure.ac: Pretend ftime() is not available. Needed by
1493 2004-06-21 Ralf Stephan <ralf@ark.in-berlin.de>
1495 * doc/cln.tex: Document jacobi, isprobprime and nextprobprime.
1497 2004-06-18 Richard B. Kreckel <kreckel@ginac.de>
1499 * rational/transcendental/cl_RA_logp.cc: fix bug where base is
1500 reciprocal of an integer.
1501 Reported by Niklas Knutsson <nq@altern.org>.
1503 2004-06-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1505 * src/complex/ring/cl_C_ring.cc, src/integer/ring/cl_I_ring.cc,
1506 src/rational/ring/cl_RA_ring.cc, src/real/ring/cl_R_ring.cc:
1507 Make template specializations explicit.
1509 2004-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1511 * src/complex/input/cl_N_read.cc, src/float/input/cl_F_read.cc,
1512 src/integer/input/cl_I_read.cc, src/rational/input/cl_RA_read.cc,
1513 src/real/input/cl_R_read.cc: Remove unused labels.
1515 2004-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1517 * benchmarks/timebench1.cc, benchmarks/timebench2a.LiDIA.cc,
1518 benchmarks/timebench2a.cc, benchmarks/timebench2ap.cc,
1519 benchmarks/timebench2b.LiDIA.cc, benchmarks/timebench2b.cc,
1520 examples/atan_recip.cc, examples/atanh_recip.cc,
1521 examples/contfrac.cc, examples/e.cc, examples/legendre.cc,
1522 examples/lucaslehmer.cc, examples/pi.cc, include/cln/GV.h,
1523 include/cln/SV.h, include/cln/malloc.h, include/cln/modules.h,
1524 include/cln/object.h, include/cln/string.h, src/base/cl_abort.cc,
1525 src/base/cl_alloca.h, src/base/cl_malloc.cc,
1526 src/base/random/cl_random_from.cc,
1527 src/base/string/cl_spushstring_append.cc,
1528 src/base/string/cl_spushstring_push.cc,
1529 src/base/string/cl_st_debug.cc,
1530 src/base/string/input/cl_st_gettoken.cc,
1531 src/complex/input/cl_N_read.cc, src/float/input/cl_F_read.cc,
1532 src/float/output/cl_F_dprint.cc, src/integer/input/cl_I_read.cc,
1533 src/rational/input/cl_RA_read.cc,
1534 src/real/format-output/cl_fmt_integer.cc,
1535 src/real/format-output/cl_fmt_paddedstring.cc,
1536 src/real/input/cl_R_read.cc, src/timing/cl_t_current.cc,
1537 src/timing/cl_t_current2.cc, tests/exam.cc, tests/tests.cc,
1538 tests/timeLFRAmul.cc, tests/timeLFatan-compare.cc,
1539 tests/timeLFatan.cc, tests/timeLFatanh-compare.cc,
1540 tests/timeLFatanh.cc, tests/timeLFcos-compare.cc, tests/timeLFcos.cc,
1541 tests/timeLFcosh.cc, tests/timeLFexp-compare.cc, tests/timeLFexp.cc,
1542 tests/timeLFln-compare.cc, tests/timeLFln.cc,
1543 tests/timeLFsin-compare.cc, tests/timeLFsin.cc, tests/timeLFsinh.cc,
1544 tests/timeLFsqrt.cc, tests/timeMImisc5.cc, tests/timeMIpow2div.cc,
1545 tests/timeMIpow2recip.cc, tests/timeRALFdiv.cc, tests/timeRAtoLF.cc,
1546 tests/timeUPMImul.cc, tests/timecatalan.cc, tests/timediv.cc,
1547 tests/timediv2adic-compare.cc, tests/timediv2adic.cc,
1548 tests/timeeuler.cc, tests/timeexp1.cc, tests/timefact.cc,
1549 tests/timegcd.cc, tests/timemul-compare.cc, tests/timemul.cc,
1550 tests/timepi.cc, tests/timeprint-compare.cc, tests/timeprint.cc,
1551 tests/timerecip2adic-compare.cc, tests/timerecip2adic.cc,
1552 tests/timesqrt.cc, tests/timesqrtmodp.cc, tests/timesquare.cc,
1553 tests/timezeta3.cc: Change all C include headers to ISO style
1556 2004-06-10 Richard B. Kreckel <kreckel@ginac.de>
1558 * examples/perfnum.cc: update to presumed 41st Mersenne prime.
1560 2004-05-02 Richard B. Kreckel <kreckel@ginac.de>
1562 * Version 1.1.7 released.
1564 2004-05-02 Richard B. Kreckel <kreckel@ginac.de>
1566 * examples/pi.cc and examples/pi.1: New files.
1567 * examples/Makefile.in: Build the pi executable.
1569 2004-05-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1571 * src/Makefile.in: Fix for parallel build: wait for subdir objects to
1572 be finished before creating the library.
1574 2004-04-30 Richard B. Kreckel <kreckel@ginac.de>
1576 * src/integer/output/cl_I_print.cc (print_integer): workaround
1577 GCC compiler bug (cf. Debian bug#246319).
1579 2004-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1581 * m4/gmp.m4 (CL_GMP_CHECK): Do not lose LIBS setting with config.cache
1584 2004-03-08 Bruno Haible <bruno@clisp.org>
1586 * src/float/lfloat/elem/cl_LF_mul.cc (operator*): Fix the second
1587 underflow condition.
1588 * src/float/lfloat/algebraic/cl_LF_sqrt.cc (sqrt): Fix a bug with large
1589 uexp whereby SQRT of MOST-POSITIVE-LONG-FLOAT was less than 1.
1591 2004-03-04 Richard B. Kreckel <kreckel@ginac.de>
1593 * Makefile.in (install): Add ${srcdir} for cln.m4.
1594 * m4/gmp.m4: quote macro names.
1595 Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
1597 2004-01-01 Richard B. Kreckel <kreckel@ginac.de>
1599 * Version 1.1.6 released.
1601 2004-01-01 Richard B. Kreckel <kreckel@ginac.de>
1603 * include/cln/univpoly.h, include/cln/univpoly_complex.h,
1604 include/cln//univpoly_integer.h, include/cln/univpoly_modint.h,
1605 include/cln/univpoly_rational.h, include/cln/univpoly_real.h,
1606 src/polynomial/elem/cl_UP_GF2.h, src/polynomial/elem/cl_UP_MI.h,
1607 src/polynomial/elem/cl_UP_gen.h, src/polynomial/elem/cl_UP_no_ring.cc,
1608 src/polynomial/elem/cl_UP_number.h (ldegree): New function.
1609 * doc/cln.tex: Document `ldegree'.
1611 2003-12-29 Richard B. Kreckel <kreckel@ginac.de>
1613 Rework of autoconfiscation infrastructure
1614 * autoconf/config.{guess,sub}: Update to GNU version 2003-10-07.
1615 * autoconf/ltmain.sh: Update to GNU version 1.4.3.
1616 * autoconf/autoconf: Remove (from now on we assume autoconf is
1617 installed properly on the sytem).
1618 * autoconf/autoconf.m4: Likewise.
1619 * autoconf/autoconf.m4f: Likewise.
1620 * autoconf/acgeneral.m4: Likewise.
1621 * autoconf/acspecific.m4: Likewise.
1622 * autoconf/aclocal.m4: Regenerate.
1623 * autoconf/acinclude.m4: Remove (while moving the macros...)
1624 * m4/gmp.m4: New file (...to here).
1625 * Makefile.devel: Update to new scheme.
1626 * configure.ac: Likewise.
1627 * include/cln/GV_integer.h: Assume template specializations work.
1628 * include/cln/GV_modinteger.h: Likewise.
1629 * include/cln/config.h.in: Likewise, and drop HAVE_BOOL.
1630 * src/base/cl_base_config.h.in: Drop support for obsolete ftime(3).
1631 * src/base/random/cl_random_from.cc: Likewise.
1632 * src/timing/cl_base_config.h.in: Likewise.
1633 * src/timing/cl_t_current.cc: Likewise.
1635 2003-12-27 Richard B. Kreckel <kreckel@ginac.de>
1637 * src/polynomial/cl_UP_gen.h (gen_minus): Fix case where first
1639 * src/polynomial/cl_UP_MI.h (modint_minus): Likewise.
1640 * src/polynomial/cl_UP_number.h (num_minus): Likewise.
1641 Reported by Munagala Ramanath <amberarrow@yahoo.com>.
1643 2003-12-02 Richard B. Kreckel <kreckel@ginac.de>
1645 * examples/perfnum.cc: update to presumed 40th Mersenne prime.
1647 2003-11-20 Christian Bauer <cbauer@ginac.de>
1649 Added pkg-config support
1650 * cln.pc.in: New file.
1651 * Makefile.in: Take care of cln.pc.
1652 * configure.ac: Likewise.
1654 2003-08-06 Richard B. Kreckel <kreckel@ginac.de>
1656 * src/numtheory/cl_nt_sqrtmodp.cc: #undef _R.
1657 Reported by Andrew Rechnitzer <A.Rechnitzer@ms.unimelb.edu.au>.
1659 2003-08-01 Richard Kreckel <kreckel@ginac.de>
1661 More dependent base resolution issues
1662 * src/base/hash/cl_hash.h (cl_heap_hashtable<T>::iterator()):
1663 portable syntactic simplification.
1664 * src/base/hash/cl_hashset.h: Preceed inherited members with this->.
1665 * src/base/hash/cl_hash1.h: Likewise for member functions.
1666 * src/base/hash/cl_hash2.h: Likewise.
1667 * src/base/hash/cl_hashuniq.h: Likewise.
1668 * src/base/hash/cl_hashuniqweak.h: Likewise.
1669 * src/base/hash/cl_hash.h: Revert explicit static member function
1670 lookup since that was GCC's fault.
1671 * src/base/hash/cl_hash2weak.h: Likewise.
1672 * src/base/hash/cl_hashuniqweak.h: Likewise.
1674 2003-06-29 Richard Kreckel <kreckel@ginac.de>
1676 Dependent base resolution needed for GCC-3.4
1677 * include/cln/GV.h: Preceed inherited members with this->.
1678 * include/cln/SV.h: Likewise.
1679 * include/cln/object.h: Likewise.
1680 * src/base/hash/cl_hash1.h: Likewise.
1681 * src/base/hash/cl_hash1weak.h: Likewise.
1682 * src/base/hash/cl_hash2.h: Likewise.
1683 * src/base/hash/cl_hashuniq.h: Likewise.
1684 * src/base/hash/cl_hash.h: Make lookup of static member function
1686 * src/base/hash/cl_hash2weak.h: Likewise.
1687 * src/base/hash/cl_hashuniqweak.h: Likewise.
1688 * src/modinteger/cl_MI.cc: Make shell-comment a C-comment. Geez.
1690 2003-02-24 Bruno Haible <bruno@clisp.org>
1692 * src/base/random/cl_random_from.cc (random_state::random_state): Add
1693 support for MacOS X.
1694 * src/modinteger/cl_MI.cc: #undef _R.
1695 Reported by Erann Gat <gat@jpl.nasa.gov>.
1697 2002-08-03 Joerg Arndt <jj@suse.de>
1699 * include/cln/config.h.in: Add support for x86_64 CPU.
1700 * include/cln/modules.h: Likewise.
1701 * include/cln/types.h: Likewise.
1702 * include/cln/object.h: Likewise.
1704 2002-06-08 Richard Kreckel <kreckel@ginac.de>
1706 * src/base/digitseq/cl_asm.h: ensure intCsize==16 when including
1707 m68k Assembler routines.
1708 * src/base/digitseq/cl_asm_.cc: Likewise.
1710 2002-05-28 Richard Kreckel <kreckel@ginac.de>
1712 * Version 1.1.5 released.
1714 2002-05-27 Richard Kreckel <kreckel@ginac.de>
1716 * include/cln/modules.h (CL_CONCATENATE): New macro.
1718 2002-05-10 Richard Kreckel <kreckel@ginac.de>
1720 * doc/cln.tex (Building the library): Update recommendations for
1721 compiling on Tru64 using g++ 3.0 and 3.1.
1722 * README: Update homepage.
1724 2002-05-05 Bruno Haible <bruno@clisp.org>
1726 * doc/cln.tex (Building the library): Give some recommendations for
1729 Force link-time references despite optimizations done by g++ 2.95
1731 * include/cln/modules.h (CL_FORCE_LINK): New macro.
1732 * Use CL_FORCE_LINK.
1733 * include/cln/GV_integer.h (cl_GV_I_debug_dummy): Likewise.
1734 * include/cln/GV_number.h (cl_GV_number_debug_dummy): Likewise.
1735 * include/cln/SV_number.h (cl_SV_number_debug_dummy): Likewise.
1736 * include/cln/SV_ringelt.h (cl_SV_ringelt_debug_dummy): Likewise.
1737 * include/cln/dfloat.h (cl_DF_debug_dummy): Likewise.
1738 * include/cln/ffloat.h (cl_FF_classes_dummy, cl_FF_debug_dummy):
1740 * include/cln/integer.h (cl_I_classes_dummy, cl_I_debug_dummy):
1742 * include/cln/lfloat.h (cl_LF_debug_dummy): Likewise.
1743 * include/cln/modinteger.h (cl_MI_debug_dummy): Likewise.
1744 * include/cln/rational.h (cl_RA_debug_dummy): Likewise.
1745 * include/cln/real.h (cl_R_debug_dummy): Likewise.
1746 * include/cln/ring.h (cl_ring_debug_dummy): Likewise.
1747 * include/cln/sfloat.h (cl_SF_classes_dummy, cl_SF_classes_dummy):
1749 * include/cln/string.h (cl_string_debug_dummy): Likewise.
1750 * include/cln/univpoly.h (cl_UP_debug_dummy): Likewise.
1751 * src/float/base/cl_ieee.h (cl_ieee_dummy_NNN): Likewise.
1753 Avoid g++ 3.1 warnings.
1754 * src/base/cl_offsetof.h (offsetof): Redefine each time.
1755 * src/base/digitseq/cl_DS.h: Include "cl_offsetof.h" after <gmp.h>.
1757 Avoid g++ 3.1 warnings.
1758 * src/base/hash/cl_hash.h (struct cl_heap_hashtable): Use typename
1760 * src/base/hash/cl_hash1.h (struct cl_heap_hashtable_1): typedef
1761 htxentry as a shortcut.
1762 * src/base/hash/cl_hash2.h (struct cl_heap_hashtable_2): Likewise.
1763 * src/base/hash/cl_hashset.h (struct cl_heap_hashtable_set): Likewise.
1764 * src/base/hash/cl_hashuniq.h (struct cl_heap_hashtable_uniq):
1767 2002-03-15 Bruno Haible <bruno@clisp.org>
1769 * cln.tex: Document problem with GNU make 3.77.
1770 Reported by Michael Somos <somos@grail.cba.csuohio.edu>.
1772 2002-02-16 Richard Kreckel <kreckel@ginac.de>
1774 * cln.m4: quote macro name.
1775 Pointed out by Roberto Bagnara.
1777 2002-01-20 Richard Kreckel <kreckel@ginac.de>
1779 * autoconf/config.{guess,sub}: Update to GNU version 2002-01-02.
1780 (the old one was broken on Linux/Mips.)
1782 2002-01-04 Richard Kreckel <kreckel@ginac.de>
1784 * autoconf/autoconf.m4f: get brutal in order to adhere to FHS.
1785 * Version 1.1.4 released.
1787 2002-01-03 Richard Kreckel <kreckel@ginac.de>
1789 * autoconf/acinclude.m4: revamp MPN-matcher.
1790 * autoconf/aclocal.m4: upgrade to autoconf-2.52 infrastructure,
1791 sync with CLisp from CVS.
1792 * autoconf/autoconf: Likewise.
1793 * autoconf/autoconf.m4f: Likewise (new file).
1794 * configure.ac: Likewise (new file, replaces configure.in).
1795 * configure.in: Likewise (deleted, replaced by configure.ac).
1796 * autoconf/config.{guess,sub}: Update to GNU version 2001-12-13.
1797 * src/Makefile.in: made VPATH safe for autoconf-2.52.
1798 * include/cln/config.h.in: Add __s390__.
1800 2001-12-31 Richard Kreckel <kreckel@ginac.de>
1802 * src/base/digitseq/cl_DS.h: <gmp.h> is not included extern "C"
1803 any more since GMP4 has some C++ support in it.
1805 2001-12-14 Richard Kreckel <kreckel@ginac.de>
1807 * include/cln/modules.h, include/cln/object.h: add support for
1809 * src/numtheory/cl_nt_sqrtmodp.cc: workaround for GCC2.x compiler-bug
1810 on s390, provided by Gerhard Tonn.
1812 2001-11-05 Richard Kreckel <kreckel@ginac.de>
1814 * autoconf/ltmain.sh: Upgrade to libtool-1.4.2.
1815 * autoconf/config.{guess,sub}: Update to GNU version 2001-09-07.
1816 * Version 1.1.3 released.
1818 2001-11-04 Bruno Haible <haible@clisp.cons.org>
1820 Interoperability with gcc-3.0 -fuse-cxa-atexit.
1821 * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add test whether
1822 global destructors actually exist.
1823 * include/cln/modules.h (CL_PROVIDE, CL_PROVIDE_END, CL_PROVIDE_END):
1824 Don't hack the global destructors if there is no global destructors
1827 2001-11-03 Richard Kreckel <kreckel@ginac.de>
1829 * src/float/transcendental/cl_F_sinx.cc (sinx_naive): For small
1830 values of x, return square(x) instead of x.
1831 * src/float/transcendental/cl_F_sinhx.cc (sinhx_naive): Likewise.
1833 2001-07-25 Richard Kreckel <kreckel@ginac.de>
1835 * Version 1.1.2 released.
1837 2001-07-24 Richard Kreckel <kreckel@ginac.de>
1839 * src/base/hash/cl_hash.h: declare _cl_hashtable_iterator<htentry> a
1840 friend of cl_heap_hashtable<htentry>.
1842 2001-07-22 Richard Kreckel <kreckel@ginac.de>
1844 * src/float/base/cl_ieee.cc: try to do magic to the FPU only if
1845 _FPU_IEEE is really defined.
1846 * include/cln/modules.h: change assembler labels from `label' to
1847 `label:' on hppa, needed by Linux (see comment).
1848 * autoconf/acinclude.m4: new file (for storing CLN-specific macros).
1849 * Makefile.devel: adjusted.
1850 * autoconf/aclocal.m4: regenerate.
1851 * src/base/low/cl_low_mul.cc: moved POD variables that are declared
1852 extern "C" elsewhere out of the namespace.
1853 * src/base/low/cl_low_div.cc: Likewise.
1855 2001-06-08 Bruno Haible <haible@clisp.cons.org>
1857 * autoconf/config.{guess,sub}: Update to GNU version 2001-05-11.
1858 * autoconf/aclocal.m4: Upgrade to libtool-1.4.
1859 * autoconf/ltmain.sh: Likewise.
1860 * autoconf/ltconfig: Remove file.
1861 * autoconf/install-sh: New file.
1862 * configure.in: Add AC_CONFIG_AUX_DIR call.
1864 2001-06-05 Richard Kreckel <kreckel@ginac.de>
1866 * tests/tests.cc: resolve namespace ambiguity about strcmp().
1868 2001-05-31 Richard Kreckel <kreckel@ginac.de>
1870 * Version 1.1.1 released.
1872 2001-05-28 Richard Kreckel <kreckel@ginac.de>
1874 * cln/cln.tex: documented problems with shared library on Sparc
1875 using gcc older than 2.95.3.
1876 * configure.in: Fixed typos in versioning docu.
1878 2001-05-25 Bruno Haible <haible@clisp.cons.org>
1880 * src/base/digitseq/cl_asm_arm_.cc: Use #0x instead of #& to designate
1881 hexadecimal constants.
1883 2001-05-25 Richard Kreckel <kreckel@ginac.de>
1885 * autoconf/floatparam.c (double_wordorder_bigendian_p): new symbol.
1886 * src/float/dfloat/cl_DF.h: Check for double_wordorder_bigendian_p.
1887 * Removed LiDIA interface since that is now outdated (namespace cln)
1888 and maintained elsewhere.
1889 * Adjusted dates and final touches for 1.1.1.
1891 2001-05-19 Richard Kreckel <kreckel@ginac.de>
1893 * INSTALL: Update toolchain info: no egcs, some more platforms.
1894 * doc/cln.tex: Likewise.
1896 2001-05-18 Richard Kreckel <kreckel@ginac.de>
1898 * src/base/cl_low.h: prepended variables declared inside macros
1899 with underscore. Fixes equal_hashcode() on various platforms.
1901 2001-04-25 Richard Kreckel <kreckel@ginac.de>
1903 * src/base/cl_low.h: Added several checks if NO_ASM is defined, so
1904 this definition becomes actually useful. This is needed for
1905 compilation on Arm until somebody fixes the assembler files for Arm.
1906 * src/base/digitseq/cl_asm.h: Likewise.
1907 * src/base/digitseq/cl_asm_.cc: Likewise.
1908 * */Makefile.in: Added `override' in front of `CPPFLAGS +=' so
1909 one can say `make CPPFLAGS=-DFOOBAR'.
1911 2001-03-26 Arvid Norberg <c99ang@cs.umu.se>
1913 * src/base/random/cl_random_from.cc: ported to beos.
1915 2001-03-05 Richard Kreckel <kreckel@ginac.de>
1917 * include/cln/modules.h (CL_JUMP_TO): Fix IA64 brokenness.
1919 2001-01-28 Richard Kreckel <kreckel@ginac.de>
1921 * include/cln/number.h (cl_as_N): Remove bogus comment.
1923 2001-01-22 Richard Kreckel <kreckel@ginac.de>
1925 * configure.in: Make build in separate builddir possible (again).
1927 2001-01-22 Richard Kreckel <kreckel@ginac.de>
1929 * include/cln/*.h: Change signatures of all classes' methods
1930 cln::cl_foo::operator new(size_t, cl_foo*) to
1931 cln::cl_foo::operator new(size_t, void*) so one can declare
1932 std::vector<cln::cl_foo>, std::list<cln::cl_foo> etc. for
1933 certain STL implementations (like libstdc++-v3).
1935 2000-12-14 Richard Kreckel <kreckel@ginac.de>
1937 * Version 1.1 released.
1939 2000-12-13 Richard Kreckel <kreckel@ginac.de>
1941 * */*: cl_istream -> std::istream, cl_ostream -> std::ostream.
1943 2000-12-05 Richard Kreckel <kreckel@ginac.de>
1945 * Makefile.in, src/Makefile.in, doc/Makefile.in: Use mkdir -p.
1946 * include/cln/version.h.in, src/base/verion.cc: New files.
1947 * configure.in: Generate include/cln/version.h.
1948 * cln.m4: Rewrote it. Check result of cln-config without compiling.
1949 Do cross-check library version and header version information.
1951 2000-12-02 Christian Bauer <cbauer@ginac.de>
1953 * Makefile.in, src/Makefile.in, doc/Makefile.in: Added $DESTDIR.
1954 * cln.m4, cln.spec.in: some minor fixes with respect to RPM package
1957 2000-11-24 Richard Kreckel <kreckel@ginac.de>
1959 * */*: Removed problematic stdin, stdout and stderr definitions.
1960 Use std::cin, std::cout, std::cerr instead (obsoletes 2000-10-29).
1962 2000-11-20 Bruno Haible
1964 * cln-config.1: change title.
1966 2000-11-18 Richard Kreckel <kreckel@ginac.de>
1969 * doc/cln.tex: Document package tools cln-config and cln.m4.
1970 * Makefile.in: Care about cln.m4.
1972 2000-11-17 Richard Kreckel <kreckel@ginac.de>
1974 * cln-config.1: added manpage, as required by a couple of distros.
1975 * Makefile.in, doc/Makefile.in: target install depends on installdirs.
1977 2000-11-16 Richard Kreckel <kreckel@ginac.de>
1979 * autoconf/aclocal.m4 (CL_GMP_SET_UINTD): New macro...
1980 * configure.in: ...used here.
1981 * include/cln/config.h.in: Put in macros defined by CL_GMP_SET_UINTD...
1982 * include/cln/types.h: ...used here.
1983 * autoconf/acgeneral.m4, autoconf/aclocal.m4: Adhere to FHS.
1985 2000-11-13 Richard Kreckel <kreckel@ginac.de>
1987 * src/base/digitseq/cl_asm.h: Test if (intDsize==32) for MIPS and HPPA,
1988 in order to guard against an accidented configuration.
1989 * src/integer/conv/cl_I_to_digits.cc (table): member b_hoch_k of
1990 struct power_table_entry initialized as ULL instead of as UL, if
1991 intDsize==64 (caused misprinting on MIPS w/ GMP).
1992 * src/base/cl_macros.h (minus_bitm, bitc): implemented ULL, if
1994 * src/integer/bitwise/cl_I_mkfx.cc (mkf_extract): Likewise.
1995 * src/integer/conv/cl_I_from_L.cc (cl_I_from_L): Added trival
1996 generation of Bignum for intDsize==64 and a notreached-check at end.
1997 * autoconf/config.guess, autoconf/config.sub: updated from FSF.
1998 * include/cln/config.h.in: Prepared support for IA64.
1999 * include/cln/types.h: Likewise.
2000 * include/cln/object.h: Likewise.
2001 * include/cln/modules.h: Likewise.
2002 * src/base/cl_macros.h (nonreturning_function): Likewise (NUE's
2003 compiler claims __GNUC_MINOR__==9).
2005 2000-11-03 Richard Kreckel <kreckel@ginac.de>
2007 * src/base/cl_macros.h (bit, minus_bit): changed criterion for ULL from
2008 HAVE_DD to HAVE_FAST_LONGLONG.
2009 * src/base/cl_macros.h (bitm): implemented ULL, if HAVE_FAST_LONGLONG.
2010 * src/base/cl_low.h: actually no need to include "cln/types.h" here.
2011 * src/base/cl_low.h (logcount_64): always ULL, independent of HAVE_DD.
2012 * src/base/random/cl_UL_random.cc (random32): a is always ULL.
2014 2000-11-01 Richard Kreckel <kreckel@ginac.de>
2016 * include/cln/object.h (cl_combine): define additional signatures, if
2017 HAVE_LONGLONG is defined, in order to keep the compiler happy.
2018 * src/base/cl_macros.h: include "cln/types.h", since we need HAVE_DD...
2019 * src/base/cl_macros.h (bit): ...for this macro...
2020 * src/base/cl_macros.h (minus_bit): ...and this one.
2021 * src/base/cl_low.h: include "cln/types.h", since we need HAVE_DD...
2022 * src/base/cl_low.h (logcount_64): ...for this macro.
2023 * src/base/random/cl_UL_random.cc (random32): if HAVE_DD a is an ULL.
2024 * src/integer/gcd/cl_I_gcd_aux2.cc (floorDD): fixed algorithmic bug.
2025 that turned up when intDsize==32 and cl_word_size==64.
2026 * src/float/dfloat/elem/cl_DF_div.cc (operator/): fixed a missing cast
2027 to uint64 that turned up when intDsize==32 and cl_word_size==64.
2029 2000-10-29 Richard Kreckel <kreckel@ginac.de>
2031 * src/real/input/cl_R_read.cc, src/complex/input/cl_N_read.cc:
2032 #undef stderr, if it's defined so cln::stderr isn't confused.
2033 * src/base/input/cl_read_globals.cc: stdin should not be extern.
2035 2000-09-05 Richard Kreckel <kreckel@ginac.de>
2037 * include/cln/number.h (As): Fix it in namespace by suffixing `_As'
2038 to the appropiate method instead of prefixing `as_'.
2039 * src/complex/misc/cl_N_as.cc (cl_N_As): Likewise.
2040 * src/real/misc/cl_R_as.cc (cl_R_As): Likewise.
2041 * src/rational/misc/cl_RA_as.cc (cl_RA_As): Likewise.
2042 * src/integer/misc/cl_I_as.cc (cl_I_As): Likewise.
2043 * src/float/misc/cl_F_as.cc (cl_F_As): Likewise.
2044 * src/float/sfloat/misc/cl_SF_as.cc (cl_SF_As): Likewise.
2045 * src/float/lfloat/misc/cl_LF_as.cc (cl_LF_As): Likewise.
2046 * src/float/ffloat/misc/cl_FF_as.cc (cl_FF_As): Likewise.
2047 * src/float/dfloat/misc/cl_DF_as.cc (cl_DF_As): Likewise.
2049 2000-09-05 Richard Kreckel <kreckel@ginac.de>
2051 * src/complex/transcendental/cl_C_expt_C.cc (expt): fix logic for
2054 2000-08-30 Richard Kreckel <kreckel@ginac.de>
2056 * include/cln/number.h, cl_number::_as_cl_private_thing(): removed.
2057 Rearranged for a clearer distinction between macros and remaining
2058 identifiers, so Cint can parse it smoothly.
2060 2000-08-29 Richard Kreckel <kreckel@ginac.de>
2062 * include/cln/number.h, the(const cl_number& x): New template
2065 2000-08-29 Richard Kreckel <kreckel@ginac.de>
2067 * */*: Pushed CLN into a namespace `cln'. While doing so, the
2068 following identifiers got their poor-man's namespace (i.e. the
2069 prefix `cl_') stripped off:
2070 cl_catalanconst() -> catalanconst()
2071 cl_compare() -> compare()
2072 cl_cos_sin() -> cos_sin()
2073 cl_cos_sin_t -> cos_sin_t
2074 cl_cosh_sinh() -> cosh_sinh()
2075 cl_cosh_sinh_t -> cosh_sinh_t
2076 cl_decoded_dfloat -> decoded_dfloat
2077 cl_decoded_ffloat -> decoded_ffloat
2078 cl_decoded_float -> decoded_float
2079 cl_decoded_lfloat -> decoded_lfloat
2080 cl_decoded_sfloat -> decoded_sfloat
2081 cl_default_float_format -> default_float_format
2082 cl_default_print_flags -> default_print_flags
2083 cl_default_random_state -> default_random_state
2084 cl_double_approx() -> double_approx()
2085 cl_equal() -> equal()
2086 cl_equal_hashcode() -> equal_hashcode()
2087 cl_eulerconst() -> eulerconst()
2088 cl_find_modint_ring() -> find_modint_ring()
2089 cl_find_univpoly_ring() -> find_univ_poly_ring()
2090 cl_float_approx() -> float_approx
2091 cl_float_format() -> float_format()
2092 cl_float_format_t -> float_format_t
2093 cl_free_hook() -> free_hook()
2094 cl_hermite() -> hermite()
2095 cl_laguerre() -> laguerre()
2096 cl_legendre() -> legandre()
2097 cl_malloc_hook() -> malloc_hook()
2099 cl_tschebychev() -> tschebychev()
2101 NB: For functions these changes includes all signatures.
2102 * include/*: moved to include/cln/*, stripped `cl_' off filenames.
2103 * cln-config.in: new file.
2105 2000-08-26 Bruno Haible <haible@clisp.cons.org>
2107 * autoconf/acgeneral.m4 (AC_OUTPUT): Use braces in exec_prefix default
2110 2000-08-18 Bruno Haible <haible@clisp.cons.org>
2112 * include/cl_univpoly_modint.h: Fix typo.
2114 2000-07-13 Bruno Haible <haible@clisp.cons.org>
2116 * src/float/input/cl_F_read_stream.cc (number_char_p): Accept '_',
2117 used as precision marker for floats.
2118 Reported by Keith Briggs (in 1998) and Thomas Roessler.
2119 * src/integer/input/cl_I_read_stream.cc (number_char_p): Likewise.
2120 * src/rational/input/cl_RA_read_stream.cc (number_char_p): Likewise.
2121 * src/real/input/cl_R_read_stream.cc (number_char_p): Likewise.
2122 * src/complex/input/cl_N_read_stream.cc (number_char_p): Likewise.
2124 2000-06-22 Bruno Haible <haible@clisp.cons.org>
2126 * include/cl_object.h: Rename cl_word_size to cl_pointer_size.
2127 * include/cl_types.h (HAVE_FAST_LONGLONG): Also define on Irix6
2129 (cl_word_size): New macro.
2130 * src/float/sfloat/cl_SF.h: Use cl_pointer_size instead of
2133 2000-05-31 Bruno Haible <haible@clisp.cons.org>
2135 * tests/exam_I_floor.cc (integer_floor_tests): Add one more entry.
2136 From a sample that fails with gcc-2.95.2 on Sparc.
2137 * tests/exam_I_gcd.cc (integer_gcd_tests): Likewise.
2139 2000-05-30 Richard Kreckel <kreckel@ginac.de>
2141 * configure.in, autoconf/aclocal.m4 (CL_GMP_H_VERSION, CL_GMP_CHECK):
2143 * configure.in, include/cl_config.h.in (CL_VERSION, CL_VERSION_MINOR,
2144 CL_VERSION_PATCHLEVEL): New definitions.
2145 * autoconf/config.guess, autoconf/config.sub, autoconf/ltconfig,
2146 autoconf/ltmain.sh: updated from FSF (libtool 1.3.5, etc).
2147 * src/Makefile.in, configure.in: release-variables renamed from
2149 * configure.in: default to build both shared and static library
2150 (i.e. default to the most common behaviour).
2152 2000-05-29 Richard Kreckel <kreckel@ginac.de>
2154 * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Added missing changequote
2155 environment around the patch of 2000-05-23.
2157 2000-05-29 Bruno Haible <haible@clisp.cons.org>
2159 * autoconf/aclocal.m4 (CL_PROG_INSTALL): Fix typo.
2160 Reported by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>.
2162 2000-05-27 Richard Kreckel <kreckel@ginac.de>
2164 * src/float/lfloat/algebraic/cl_LF_sqrt.cc,
2165 src/base/digitseq/cl_DS_sqrt.cc: Readjusted break-even points.
2167 2000-05-24 Richard Kreckel <kreckel@ginac.de>
2169 * autoconf/config.*: Updated to new version from FSF
2170 (the new libtool wants this).
2171 * src/Makefile.in: added $(LDFLAGS) to link step.
2172 * src/base/digitseq/cl_2DS_div.cc, cl_2DS_recip.cc: Readjusted
2175 2000-05-23 Bruno Haible <haible@clisp.cons.org>
2177 * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Determine host_cpu,
2178 host_vendor, host_os correctly if $host has more than two hyphens.
2180 2000-05-19 Richard Kreckel <kreckel@ginac.de>
2182 * src/base/digitseq/cl_DS_mul.cc: Rearranged break-even points to
2183 better match present-day CPUs whenever GMP3 is used.
2184 * src/base/digitseq/cl_DS_div.cc: dto.
2185 * src/TUNING: Added comment about order of tuning.
2186 * configure, configure.in: Safer GMP3-detection.
2187 * INSTALL.generic: Clarified behaviour of --with-gmp.
2188 * autoconf/config.guess: updated from Clisp-2000-03-06 sources.
2190 2000-05-04 Richard Kreckel <kreckel@ginac.de>
2192 * gmp/: removed completely. From now on we are going to link
2193 externally against libgmp3.0 or above!
2194 * configure, configure.in, Makefile.in, */Makeflags: removed support
2195 of internal gmp 2.0.2, like $GMP_INCLUDES, which should be done by
2196 setting $CPPFLAGS instead.
2197 * Makefile.in: Added libtool inter-library dependency for -lgmp and
2198 conforming interface versioning (-version-info).
2199 * autoconf/ltconfig, autoconf/ltmain.sh: Updated to newer versions
2202 2000-02-22 Bruno Haible <haible@clisp.cons.org>
2204 * src/base/digitseq/cl_asm_mips_.cc: Starting at argument 5 the
2205 parameter passing was changed for the MIPS n32 ABI.
2207 2000-01-24 Richard Kreckel <kreckel@ginac.de>
2209 * gmp/*: Replaced the complete mpn sources with the ones from
2210 Debian since they are maintained while the ones from FSF
2211 aren't and there were problems on some architectures, PowerPC
2212 in particular. See the file gmp/README.CLN. This way the
2213 hard links in this directory have vanished, they were causing
2214 trouble for people working in AFS. This became necessary for
2215 Debian, because there it woudn't compile on PPC.
2217 2000-01-13 Richard Kreckel <kreckel@ginac.de>
2219 * Version 1.0.3 released.
2221 2000-01-13 Richard Kreckel <kreckel@ginac.de>
2223 * src/base/cl_macros.h (nonreturning_function): For egcs and newer
2224 use __attribute__ ((__noreturn__)) instead of the __volatile__
2226 (nonreturning): Remove macro.
2227 * include/*: Minor fixes to stop -ansi -pedantic from complaining.
2228 * include/cl_integer.h: (doublefactorial): New declaration.
2229 * src/integer/misc/combin/cl_I_doublefactorial.cc: New file.
2231 1999-12-18 Bruno Haible <haible@clisp.cons.org>
2233 * autoconf/acgeneral.m4 (AC_ARG_PROGRAM): Create conftestsed using
2235 * autoconf/ltconfig: Improve support for recent FreeBSD 3.
2236 * include/cl_GV.h (cl_GV_vectorops): Change return type from 'T' to
2237 'const T', to match definition in src/vector/cl_GV_number.cc.
2238 Reported by Duncan Simpson <dps@io.stargate.co.uk>.
2239 * gmp/mpn/Makefile.in (.S.lo): Use 'if', not '&&', because '&&' may
2240 yield return code 1.
2242 1999-09-07 Bruno Haible <haible@clisp.cons.org>
2244 * Version 1.0.2 released.
2246 1999-09-06 Bruno Haible <haible@clisp.cons.org>
2248 * src/rational/cl_RA.h (integerp, ratiop): Instead of returning a
2249 boolean expression, write alternatives ending with either
2250 "return cl_true;" or "return cl_false;". This way, g++ does a
2251 better job inlining it.
2252 * src/float/cl_F.h (longfloatp): Likewise.
2253 * src/real/cl_R.h (rationalp, integerp, floatp): Likewise.
2254 * src/complex/cl_C.h (realp, complexp): Likewise.
2256 1999-09-05 Bruno Haible <haible@clisp.cons.org>
2258 * include/cl_integer.h (cl_equal_hashcode): New declaration.
2259 * include/cl_rational.h (cl_equal_hashcode): New declaration.
2260 * include/cl_sfloat.h (cl_equal_hashcode): New declaration.
2261 * include/cl_ffloat.h (cl_equal_hashcode): New declaration.
2262 * include/cl_dfloat.h (cl_equal_hashcode): New declaration.
2263 * include/cl_lfloat.h (cl_equal_hashcode): New declaration.
2264 * include/cl_float.h (cl_equal_hashcode): New declaration.
2265 * include/cl_real.h (cl_equal_hashcode): New declaration.
2266 * include/cl_complex.h (cl_equal_hashcode): New declaration.
2267 * src/base/cl_N.h (equal_hashcode_low, equal_hashcode_one): New macros.
2268 * src/integer/misc/cl_I_eqhashcode.cc: New file.
2269 * src/rational/misc/cl_RA_eqhashcode.cc: New file.
2270 * src/float/sfloat/misc/cl_SF_eqhashcode.cc: New file.
2271 * src/float/ffloat/misc/cl_FF_eqhashcode.cc: New file.
2272 * src/float/dfloat/misc/cl_DF_eqhashcode.cc: New file.
2273 * src/float/lfloat/misc/cl_LF_eqhashcode.cc: New file.
2274 * src/float/misc/cl_F_eqhashcode.cc: New file.
2275 * src/real/misc/cl_R_eqhashcode.cc: New file.
2276 * src/complex/misc/cl_C_eqhashcode.cc: New file.
2277 * doc/cln.tex: Document `cl_equal_hashcode'.
2279 1999-09-05 Bruno Haible <haible@clisp.cons.org>
2281 * include/cl_ring.h (cl_number_ring_ops): Add `contains' member.
2282 (cl_number_ring): New class.
2283 (cl_specialized_number_ring<T>): Inherit from cl_number_ring.
2284 (instanceof): New function.
2285 * src/integer/ring/cl_I_ring.cc (cl_I_p): New function.
2286 * src/integer/misc/cl_I_as.cc (cl_I_p): Add comment.
2287 * src/rational/ring/cl_RA_ring.cc (cl_RA_p): New function.
2288 * src/rational/misc/cl_RA_as.cc (cl_RA_p): Add comment.
2289 * src/real/ring/cl_R_ring.cc (cl_R_p): New function.
2290 * src/real/misc/cl_R_as.cc (cl_R_p): Add comment.
2291 * src/complex/ring/cl_C_ring.cc (cl_N_p): New function.
2292 * src/complex/misc/cl_N_as.cc (cl_N_p): Add comment.
2293 * doc/cln.tex: Document `instanceof'.
2295 1999-09-05 Bruno Haible <haible@clisp.cons.org>
2297 * include/cl_rational.h (numerator, denominator): New declarations.
2298 * src/rational/elem/cl_RA_numerator.cc: New file.
2299 * src/rational/elem/cl_RA_denominator.cc: New file.
2300 * include/cl_integer.h (numerator, denominator): New inline functions.
2301 * doc/cln.tex: Document `numerator' and `denominator'.
2303 1999-09-05 Bruno Haible <haible@clisp.cons.org>
2305 * src/rational/algebraic/cl_RA_rootp.cc (rootp): Fix endless loop
2306 in the integer case.
2307 * src/rational/algebraic/cl_RA_rootp_I.cc (rootp): Likewise.
2309 1999-09-05 Bruno Haible <haible@clisp.cons.org>
2311 * include/cl_config.h.in: Support for sparc64 CPU.
2312 * include/cl_modules.h: Likewise.
2313 * include/cl_types.h: Likewise.
2314 * include/cl_object.h: Likewise.
2315 * include/cl_GV.h: Likewise.
2316 * src/Makefile.in: Likewise.
2317 * src/base/cl_alloca.h: Likewise.
2318 * src/base/cl_macros.h: Likewise.
2319 * src/base/cl_sysdep.h: Likewise.
2320 * src/base/cl_low.h: Likewise.
2321 * src/base/digitseq/cl_asm.h: Likewise.
2322 * src/base/digitseq/cl_asm_.cc: Likewise.
2323 * src/base/digitseq/cl_asm_sparc64.h: New file.
2324 * src/base/digitseq/cl_asm_sparc64_.cc: New file.
2325 * src/modinteger/cl_MI_int.h: Support for sparc64 CPU.
2326 * src/polynomial/elem/cl_UP_no_ring.cc: Likewise.
2327 * src/polynomial/elem/cl_UP_GF2.h: Likewise.
2328 * src/polynomial/elem/cl_asm_GF2.cc: Likewise.
2330 1999-09-04 Bruno Haible <haible@clisp.cons.org>
2332 * src/base/digitseq/cl_asm_sparc_.cc (orc2_loop_up, orc2_loop_down):
2333 Use the `orn' instruction.
2335 1999-08-14 Bruno Haible <haible@clisp.cons.org>
2337 Assume all platforms have <stdlib.h> and clock_t.
2338 * configure.in: Don't call CL_STDLIB_H and CL_CLOCK_T.
2339 * src/base/cl_base_config.h.in (CLOCK_T): Remove definition.
2340 * src/base/random/cl_random_from.cc: Use clock_t instead of CLOCK_T.
2341 * src/timing/cl_t_config.h.in (CLOCK_T): Remove definition.
2342 * src/timing/cl_t_current2.cc: Use clock_t instead of CLOCK_T.
2344 1999-07-18 Bruno Haible <haible@clisp.cons.org>
2346 * gmp/config.guess: Link to autoconf/config.guess.
2347 gmp/config.sub: Link to autoconf/config.sub.
2348 Needed for Win32 platforms.
2350 1999-07-17 Bruno Haible <haible@clisp.cons.org>
2352 * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Distinguish "sparc" and
2353 "sparc64" according to the C compiler, not the uname result.
2355 1999-06-17 Bruno Haible <haible@clisp.cons.org>
2357 * src/base/digitseq/cl_asm_sparc_.cc (compare_loop_up): Fix
2358 COUNTER_LOOPS version, fortunately not used yet.
2360 * include/cl_modules.h: Prepare for gcc version 3.
2362 1999-06-12 Bruno Haible <haible@clisp.cons.org>
2364 * src/rational/elem/cl_RA_plus.cc, src/rational/elem/cl_RA_minus.cc:
2365 Change the last call from I_I_to_RT to I_I_to_RA.
2367 1999-06-09 Bruno Haible <haible@clisp.cons.org>
2369 * Version 1.0.1 released.
2371 1999-06-09 Bruno Haible <haible@clisp.cons.org>
2373 * src/integer/cl_I.h (pFN_maxlength_digits_at): Define also when
2376 1999-06-08 Bruno Haible <haible@clisp.cons.org>
2378 * autoconf/intparam.c (printf_underscored): Change argument type to
2380 * include/cl_modules.h (CL_OUTPUT_LABEL, CL_JUMP_TO): New macros.
2381 (CL_PROVIDE, CL_PROVIDE_END): Use them.
2382 * include/cl_string.h (cl_heap_string::operator new): Return 1, not 0.
2383 * include/cl_GV.h (cl_GV_inner<T>::operator new): Likewise.
2384 * src/base/ring/cl_no_ring.cc (dummy_canonhom, dummy_expt_pos): Don't
2385 cast a cl_I to void here. Works around a bug in g++-2.95.
2386 * src/complex/misc/cl_C_class.cc: Include "cl_C.h".
2387 * src/polynomial/elem/cl_UP_no_ring.cc (dummy_canonhom,
2388 dummy_expt_pos): Don't cast a cl_I to void here. Works around a bug
2390 * src/polynomial/elem/cl_asm_sparc_GF2.cc (DECLARE_FUNCTION): New
2392 * src/rational/misc/cl_RA_class.cc: Include "cl_RA.h".
2393 * src/vector/cl_GV_I.cc (cl_heap_GV_I_general::operator new,
2394 DEFINE_cl_heap_GV_I_bits): Return 1, not 0.
2395 * src/vector/cl_GV_number.cc (cl_heap_GV_number_general::operator new):
2398 1999-06-01 Bruno Haible <haible@clisp.cons.org>
2400 * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Canonicalize alpha
2403 1999-05-29 Bruno Haible <haible@clisp.cons.org>
2405 * src/base/digitseq/cl_asm_i386_.cc (DECLARE_FUNCTION): Treat
2406 OpenBSD like NetBSD.
2407 * src/base/digitseq/cl_asm_sparc_.cc (DECLARE_FUNCTION): Likewise.
2408 * src/base/digitseq/cl_asm_m68k_.cc (DECLARE_FUNCTION): Treat
2409 OpenBSD like NetBSD, and Linux/ELF like SVR4.
2411 1999-05-16 Bruno Haible <haible@clisp.cons.org>
2413 * src/base/cl_low.h (integerlength32) [__rs6000__]: Use old assembler
2414 syntax on AIX systems and new assembler syntax on non-AIX systems.
2416 1999-05-01 Bruno Haible <haible@clisp.cons.org>
2418 * autoconf/config.guess, autoconf/config.sub: Upgrade to newest
2419 version from GNU CVS.
2421 1999-04-24 Bruno Haible <haible@clisp.cons.org>
2423 * src/integer/bitwise/cl_I_logand.cc (logand): Optimize the case when
2424 either operand is a positive fixnum, O(1) instead of O(N).
2425 * src/integer/bitwise/cl_I_lognand.cc (lognand): Likewise.
2426 * src/integer/bitwise/cl_I_logandc2.cc (logandc2): Likewise for the
2429 1999-04-14 Bruno Haible <haible@clisp.cons.org>
2431 * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add check whether
2432 ctor/dtor needs to be exported.
2433 * include/cl_config.h.in (CL_NEED_GLOBALIZE_CTORDTOR): New macro.
2434 * include/cl_modules.h (CL_GLOBALIZE_JUMP_LABEL): Renamed from
2436 (CL_GLOBALIZE_LABEL): New macro.
2437 (CL_GLOBALIZE_CTORDTOR_LABEL): Renamed from CL_GLOBALIZE_ASM_LABEL.
2438 (CL_PROVIDE): Update.
2440 1999-04-12 Bruno Haible <haible@clisp.cons.org>
2442 * src/Makefile.in ($(ASMFILES_S)): On HPPA, ignore preprocessing
2443 errors ("unterminated string or character constant").
2444 ($(ASMFILES_LO)): On HPPA, try with various settings of
2445 COMPILER_PATH, in order to try /usr/ccs/bin/as and /bin/as.
2447 1999-04-11 Bruno Haible <haible@clisp.cons.org>
2449 * INSTALL: Mention gmp problems on MIPS.
2450 * doc/cln.tex: Likewise.
2452 1999-03-24 Mumit Khan <khan@xraylith.wisc.edu>
2454 * src/Makefile.in (SUBDIRS): Filter out CVS and RCS directories from
2456 * include/cl_modules.h (CL_GLOBALIZE_LABEL): Define for Win32.
2457 (CL_GLOBALIZE_ASM_LABEL): New macro.
2458 (CL_PROVIDE): Use it.
2459 * src/base/random/cl_random_from.cc: Handle WIN32.
2460 * src/timing/cl_t_current.cc: Likewise.
2462 1999-03-15 Bruno Haible <haible@clisp.cons.org>
2464 * autoconf/intparam.c (main7): Use %lX instead of %X for a `long'.
2465 (main8): Adapt for C++.
2467 1999-03-09 Bruno Haible <haible@clisp.cons.org>
2469 * INSTALL: Mention egcs-1.1 problems on Sparc.
2470 * doc/cln.tex: Likewise.
2472 1999-03-08 Bruno Haible <haible@clisp.cons.org>
2474 * autoconf/aclocal.m4 (CL_FPU_CONTROL): Fix the "checking for"
2477 1999-02-25 Bruno Haible <haible@clisp.cons.org>
2479 * autoconf/aclocal.m4: In test programs, declare `int main()', not
2482 * lidia-interface/src/interfaces/integers/cln/bigint.c
2483 (bigint_to_string): Fix for negative arguments.
2485 * src/base/cl_low.h: Check for `__sparc__', not `SPARC'.
2486 * src/base/cl_alloca.h: Likewise.
2488 * src/base/cl_low.h: Eliminate CLISP style "# " comments.
2489 * src/base/digitseq/cl_asm_arm_.cc,
2490 src/base/digitseq/cl_asm_mips_.cc,
2491 src/float/dfloat/elem/cl_DF_mul.cc: Likewise.
2493 * src/modinteger/cl_MI_pow2.h,
2494 src/modinteger/cl_MI_pow2m1.h,
2495 src/modinteger/cl_MI_pow2p1.h: Workaround g++-2.7.2 inlining bug.
2497 1999-01-18 Bruno Haible <haible@clisp.cons.org>
2499 * autoconf/acgeneral.m4,
2500 autoconf/acspecific.m4: Upgrade to autoconf-2.13.
2501 * autoconf/config.guess, autoconf/config.sub: Likewise.
2502 * autoconf/aclocal.m4 (CL_ALLOCA): Test for _MSC_VER and alloca being
2503 a macro. Use ${ac_objext}.
2504 * src/base/cl_macros.h (alloca): Put _MSC_VER test before the others,
2505 conforming with CL_ALLOCA.
2507 1999-01-12 Bruno Haible <haible@clisp.cons.org>
2509 * Version 1.0 released.