/[cln]/ChangeLog
ViewVC logotype

Contents of /ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.204 - (hide annotations)
Wed Jan 23 12:07:02 2008 UTC (5 years, 4 months ago) by haible
Branch: MAIN
Changes since 1.203: +7 -0 lines
Allow 64-bit builds on MacOS X 10.5.

1 haible 1.204 2007-01-23 Bruno Haible <bruno@clisp.org>
2    
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>.
7    
8 haible 1.203 2007-01-20 Bruno Haible <bruno@clisp.org>
9    
10     Avoid some gcc warnings.
11     * autoconf/floatparam.c (flipped_double): Use a union instead of a
12     type-punning cast.
13     * include/cln/number.h (union ffloatjanus, union dfloatjanus): Remove
14     declarations.
15     (cl_float_to_FF_pointer, cl_double_to_DF_pointer): Change argument
16     type.
17     (CL_DEFINE_FLOAT_CONSTRUCTOR, CL_DEFINE_DOUBLE_CONSTRUCTOR): Update.
18     * src/float/ffloat/cl_FF.h (cl_float_to_FF_pointer): Change argument
19     type.
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
24     type.
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
31     possibly unused.
32     * src/float/transcendental/cl_LF_zeta_int.cc (compute_zeta_cvz2):
33     Remove unused local variable.
34    
35 kreckel 1.201 2007-01-19 Richard B. Kreckel <kreckel@ginac.de>
36    
37     * Version 1.2.0 released.
38    
39 kreckel 1.202 2007-01-19 Richard B. Kreckel <kreckel@ginac.de>
40    
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.
44    
45 kreckel 1.199 2007-01-18 Alexei Sheplyakov <varg@theor.jinr.ru>
46    
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 kreckel 1.200 * src/base/string/cl_st_make0.h: New file.
53 kreckel 1.199 * 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.
173    
174 haible 1.198 2008-01-15 Bruno Haible <bruno@clisp.org>
175    
176     * doc/cln.texi: Renamed from doc/cln.tex. Add @node lines and @menu
177     lists.
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>.
183    
184 kreckel 1.196 2008-01-11 Richard B. Kreckel <kreckel@ginac.de>
185    
186 kreckel 1.197 * include/cln/float.h (cos_sin_t, cosh_sinh_t): Add default ctor.
187    
188     2008-01-11 Richard B. Kreckel <kreckel@ginac.de>
189    
190 kreckel 1.196 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
196     parameter.
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.
217    
218 kreckel 1.195 2008-01-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
219     Richard B. Kreckel <kreckel@ginac.de>
220    
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
227     configure.
228     * include/cln/modules.h (CL_PROVIDE, CL_REQUIRE): Use
229     CL_GLOBAL_CONSTRUCTOR_SUFFIX_PIC, CL_GLOBAL_CONSTRUCTOR_SUFFIX_NOPIC.
230    
231 kreckel 1.194 2007-12-19 Richard B. Kreckel <kreckel@ginac.de>
232    
233     * m4/general.m4 (CL_CANONICAL_HOST_CPU): Force host_cpu=rs6000 for
234     powerpc64 if userland is 32 bit.
235    
236 kreckel 1.192 2007-12-18 Richard B. Kreckel <kreckel@ginac.de>
237    
238 kreckel 1.193 * autoconf/ltmain.sh: Update to libtool-1.5.24.
239     * autoconf/config.guess: Likewise.
240     * autoconf/config.sub: Likewise.
241     * m4/libtool.m4: Likewise.
242    
243     2007-12-18 Richard B. Kreckel <kreckel@ginac.de>
244    
245 kreckel 1.192 * 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.
249    
250 kreckel 1.190 2007-12-17 Richard B. Kreckel <kreckel@ginac.de>
251    
252 kreckel 1.191 Silly workaround for silly bug in gmp.h:
253     * m4/gmp.m4 (CL_GMP_SET_UINTD): Swap #include <gmp.h> and <stdio.h>.
254    
255     2007-12-17 Richard B. Kreckel <kreckel@ginac.de>
256    
257 kreckel 1.190 * src/polynomial/elem/cl_UP_GF2.h (gf2_mul_table): define for sparc64.
258    
259 kreckel 1.189 2007-12-04 Richard B. Kreckel <kreckel@ginac.de>
260    
261     * include/cln/types.h ([su]intE): 64-bit exponents for MIPS and RS6000.
262    
263 kreckel 1.188 2007-12-03 Richard B. Kreckel <kreckel@ginac.de>
264    
265     * src/float/lfloat/cl_LF.h (cl_heap_lfloat): Change len type to uintC.
266    
267 kreckel 1.187 2007-11-28 Richard B. Kreckel <kreckel@ginac.de>
268    
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
273     <skimo@kotnet.org>.
274    
275 kreckel 1.186 2007-11-03 Richard B. Kreckel <kreckel@ginac.de>
276    
277     * src/base/digitseq/cl_asm_i386_.cc (compare_loop_up,
278     compare_loop_down): Fix empty ranges.
279    
280 kreckel 1.185 2007-10-12 Richard B. Kreckel <kreckel@ginac.de>
281    
282     Fix compilation on CYGWIN:
283     * src/float/transcendental/cl_LF_zeta_int.cc: Avoid leading underscores
284     in variable names.
285     * src/float/transcendental/cl_LF_eulerconst.cc: Likewise.
286     Reported by Chris Bouchard <cbouchrd@uiuc.edu>.
287    
288 kreckel 1.184 2007-10-10 Richard B. Kreckel <kreckel@ginac.de>
289    
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>.
293    
294 kreckel 1.183 2007-10-02 Richard B. Kreckel <kreckel@ginac.de>
295    
296     On popular demand (Debian bug #286266, Ubuntu bug #128851):
297     * examples/pi.cc: Output no more than requested number of digits.
298    
299 kreckel 1.182 2007-10-01 Richard B. Kreckel <kreckel@ginac.de>
300    
301     * autoconf/config.guess, autoconf/config.sub: updated from automake-1.9.
302    
303 kreckel 1.181 2007-09-19 Richard B. Kreckel <kreckel@ginac.de>
304    
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.
308    
309 kreckel 1.180 2007-09-18 Richard B. Kreckel <kreckel@ginac.de>
310    
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>.
313    
314 kreckel 1.179 2007-09-16 Richard B. Kreckel <kreckel@ginac.de>
315    
316     * */*: Convert encoding from ISO 8859-1 to UTF-8.
317    
318 kreckel 1.178 2007-09-13 Richard B. Kreckel <kreckel@ginac.de>
319    
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.
354    
355 kreckel 1.177 2007-09-07 Richard B. Kreckel <kreckel@ginac.de>
356    
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
361     file.
362     * src/float/transcendental/cl_LF_eulerconst.cc: Compute series
363     coefficients on demand, using a series stream object.
364    
365 kreckel 1.176 2007-08-02 Richard B. Kreckel <kreckel@ginac.de>
366    
367     * src/base/digitseq/cl_DS_div.cc (cl_recip_suitable): uintC arguments.
368    
369 kreckel 1.175 2007-08-01 Richard B. Kreckel <kreckel@ginac.de>
370    
371     * */*: Remove cl_boolean, cl_true, and cl_false in favor of built-in
372     C++ bool, true, and false.
373    
374 kreckel 1.174 2007-07-28 Richard B. Kreckel <kreckel@ginac.de>
375    
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
382     types.
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.
585    
586 kreckel 1.173 2007-06-20 Richard B. Kreckel <kreckel@ginac.de>
587    
588     * cln.spec.in (Source0): Package is bzip2-compressed.
589     Reported by Markus Grabner <grabner@icg.tugraz.at>.
590    
591 kreckel 1.172 2007-05-31 Richard B. Kreckel <kreckel@ginac.de>
592    
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.
605    
606 kreckel 1.171 2007-04-09 Richard B. Kreckel <kreckel@ginac.de>
607    
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.
616    
617 kreckel 1.170 2007-04-02 Alexei Sheplyakov <varg@theor.jinr.ru>
618    
619     Debian Bug#412103:
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.
624     * cln.m4: Remove.
625     * configure.ac: Don't output cln-config and cln-config.1.
626    
627 haible 1.169 2006-12-24 Bruno Haible <bruno@clisp.org>
628    
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.
632    
633 haible 1.168 2006-12-19 Bruno Haible <bruno@clisp.org>
634    
635     * autoconf/intparam.c (main): Use 'return', not exit().
636     * autoconf/floatparam.c (main): Likewise.
637     Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
638    
639 kreckel 1.167 2006-12-11 Richard B. Kreckel <kreckel@ginac.de>
640    
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
704     exponent operations.
705     * examples/pi.cc: Support more than 646456614 decimal digits.
706    
707 kreckel 1.166 2006-11-02 Richard B. Kreckel <kreckel@ginac.de>
708    
709     * src/base/digitseq/cl_DS.h: #undef DS, needed for i386-Solaris.
710    
711 kreckel 1.165 2006-10-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
712    
713     * tests/Makefile.in (VPATH): Fix syntax error.
714    
715 kreckel 1.164 2006-09-14 Richard B. Kreckel <kreckel@ginac.de>
716    
717     * examples/perfnum.cc: update to presumed 44th Mersenne prime.
718    
719 kreckel 1.163 2006-08-15 Richard B. Kreckel <kreckel@ginac.de>
720    
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.
729    
730 kreckel 1.162 2006-08-06 Richard B. Kreckel <kreckel@ginac.de>
731    
732     * configure.ac: Re-enable shared lib on non-MinGW platforms, sigh.
733    
734 kreckel 1.161 2006-08-04 Sheplyakov Alexei <varg@theor.jinr.ru>
735    
736     * configure.ac: Disable shared lib on MinGW.
737    
738 kreckel 1.160 2006-08-03 Sheplyakov Alexei <varg@theor.jinr.ru>
739    
740     * m4/param.m4: Add support for MinGW.
741     * src/base/random/cl_random_from.cc: Fix for last patch.
742    
743 kreckel 1.159 2006-07-23 Sheplyakov Alexei <varg@theor.jinr.ru>
744    
745     * src/base/random/cl_random_from.cc: Add support for MinGW.
746    
747 kreckel 1.158 2006-06-13 Richard B. Kreckel <kreckel@ginac.de>
748    
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.
753    
754 kreckel 1.157 2006-06-09 Richard B. Kreckel <kreckel@ginac.de>
755    
756     * src/base/digitseq/cl_DS.h (struct DS): Change len type to uintC.
757    
758 kreckel 1.156 2006-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
759    
760     * m4/gettimeofday.m4 (CL_GETTIMEOFDAY): Fix M4 quoting.
761    
762 haible 1.155 2006-05-20 Bruno Haible <bruno@clisp.org>
763    
764     * src/base/random/cl_random_from.cc: Treat FreeBSD, NetBSD like other
765     Unix platforms.
766    
767 kreckel 1.154 2006-05-07 Richard B. Kreckel <kreckel@ginac.de>
768    
769     * include/cln/modules.h (CL_JUMP_TO): Fix for Intel Mac.
770    
771 haible 1.153 2006-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
772    
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.
777    
778 kreckel 1.152 2006-04-25 Bruno Haible <bruno@clisp.org>
779     Richard B. Kreckel <kreckel@ginac.de>
780    
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
813     appropriate.
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
972     for 40 elements.
973     * src/integer/output/cl_I_decstring.cc: Use uintC instead of uintL
974     where appropriate.
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.
1002    
1003 haible 1.151 2006-04-19 Bruno Haible <bruno@clisp.org>
1004    
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>.
1011    
1012 kreckel 1.150 2005-12-04 Bruno Haible <bruno@clisp.org>
1013    
1014     * src/integer/conv/cl_I_to_digits.cc (I_to_digits_noshrink): Set
1015     erg->len at the end.
1016    
1017     2005-12-04 Bruno Haible <bruno@clisp.org>
1018    
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
1022     64-bit case.
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
1028     of FN_to_UL.
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.
1033     where appropriate.
1034     * src/float/ffloat/conv/cl_RA_to_float.cc: Call FN_to_UV instead of
1035     FN_to_UL.
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
1038     FN_to_L.
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
1042     FN_to_UL.
1043     * src/float/sfloat/elem/cl_SF_scale_I.cc: Call FN_to_V instead of
1044     FN_to_L.
1045     * src/integer/cl_I.h (FN_to_UV): Renamed from FN_to_UL, change return
1046     type.
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
1056     FN_to_UL.
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
1064     platforms.
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
1070     than 32 bits.
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
1075     bits like bignums.
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
1085     of FN_to_UL.
1086     * src/integer/misc/cl_I_ord2.cc (ord2): Call ord2_64 on 64-bit
1087     platforms.
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
1093     for larger fixnums.
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.
1108    
1109     2005-12-04 Bruno Haible <bruno@clisp.org>
1110    
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.
1120    
1121     2005-12-04 Bruno Haible <bruno@clisp.org>
1122    
1123     * src/base/cl_low.h (ord2_64): New macro.
1124    
1125     2005-12-02 Bruno Haible <bruno@clisp.org>
1126    
1127     * src/base/cl_low.h (mulu64) [x86_64]: Change asm restriction, since
1128     mulq doesn't accept immediate arguments.
1129    
1130     2005-11-26 Bruno Haible <bruno@clisp.org>
1131    
1132     * src/base/cl_low.h (GENERIC_INTEGERLENGTH32): New macro.
1133     (integerlength64): Define using integerlength32 if integerlength32
1134     is not defined generically.
1135    
1136     2005-11-26 Bruno Haible <bruno@clisp.org>
1137    
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
1142     instructions.
1143    
1144     2005-11-26 Bruno Haible <bruno@clisp.org>
1145    
1146     * src/base/cl_low.h (divu_3216_1616): Prepend underscore to local
1147     variables.
1148    
1149     2005-11-26 Bruno Haible <bruno@clisp.org>
1150    
1151     * src/base/cl_low.h (ord2_32): Parenthesize macro argument.
1152    
1153 kreckel 1.149 2005-12-17 Richard B. Kreckel <kreckel@ginac.de>
1154    
1155     * Created branch cln_1-1 for maintenance patches.
1156     This is the main branch, which will eventually become CLN 1.2.0.
1157    
1158 kreckel 1.148 2005-12-15 Dmitry V. Kustov <kustov@telex221.ru>
1159    
1160     * src/base/random/cl_random_from.cc: Add support for OpenBSD.
1161    
1162 kreckel 1.147 2005-11-23 Richard B. Kreckel <kreckel@ginac.de>
1163 kreckel 1.146
1164     * Version 1.1.11 released.
1165    
1166 kreckel 1.145 2005-11-20 Richard B. Kreckel <kreckel@ginac.de>
1167    
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.
1173    
1174 kreckel 1.144 2005-11-02 Richard B. Kreckel <kreckel@ginac.de>
1175    
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.
1180    
1181     2005-10-22 Richard B. Kreckel <kreckel@ginac.de>
1182 kreckel 1.143
1183     * Version 1.1.10 released.
1184    
1185 kreckel 1.142 2005-10-22 Richard B. Kreckel <kreckel@ginac.de>
1186    
1187     * src/Makefile.in: Accept CPPFLAGS from environment.
1188     * examples/Makefile.in: Likewise.
1189     * benchmarks/Makefile.in: Likewise.
1190     * tests/Makefile.in: Likewise.
1191    
1192 kreckel 1.138 2005-08-30 Richard B. Kreckel <kreckel@ginac.de>
1193    
1194 kreckel 1.139 * include/cln/modules.h (CL_OUTPUT_LABEL): Work around redundant
1195     duplication of basic blocks on m68k.
1196    
1197     2005-08-30 Richard B. Kreckel <kreckel@ginac.de>
1198    
1199 kreckel 1.138 * include/cln/modules.h (CL_JUMP_TO): Fix mips* brokenness.
1200    
1201 haible 1.132 2005-08-27 Bruno Haible <bruno@clisp.org>
1202    
1203 haible 1.140 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.
1214    
1215     2005-08-27 Bruno Haible <bruno@clisp.org>
1216    
1217 haible 1.137 * src/integer/bitwise/cl_I_ash_I.cc (ash): Avoid shifting a 32-bit
1218     zero value by more than 31 bits.
1219    
1220     2005-08-27 Bruno Haible <bruno@clisp.org>
1221    
1222 haible 1.136 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'.
1225    
1226     2005-08-27 Bruno Haible <bruno@clisp.org>
1227    
1228 haible 1.141 * include/cln/modules.h (CL_OUTPUT_LABEL): Work around redundant
1229     duplication of basic blocks by g++ 4.0.
1230 haible 1.135 See <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23345>.
1231    
1232     2005-08-27 Bruno Haible <bruno@clisp.org>
1233    
1234 haible 1.134 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.
1241    
1242     2005-08-27 Bruno Haible <bruno@clisp.org>
1243    
1244 haible 1.133 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.
1247    
1248     2005-08-27 Bruno Haible <bruno@clisp.org>
1249    
1250 haible 1.132 * autoconf/aclocal.m4 (CL_RUSAGE): Fix error when cross-compiling.
1251    
1252 kreckel 1.131 2005-08-16 Richard B. Kreckel <kreckel@ginac.de>
1253    
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.
1262    
1263 kreckel 1.130 2005-08-15 Richard B. Kreckel <kreckel@ginac.de>
1264    
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.
1268    
1269 kreckel 1.129 2005-08-02 Andreas Jochens <aj@andaco.de>
1270    
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.
1275    
1276     2005-07-24 Richard B. Kreckel <kreckel@ginac.de>
1277 kreckel 1.128
1278     Make out of the box build on x86_64 system with complete 32 bit
1279     userland possible
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.
1284    
1285 haible 1.127 2005-06-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1286    
1287     * Makefile.in: Don't enter nonexisting directories.
1288    
1289 kreckel 1.126 2005-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1290    
1291     Speed up the linking step
1292     * src/Makefile.in: Use -objectlist for linking libcln.la.
1293    
1294 kreckel 1.125 2005-05-15 Richard B. Kreckel <kreckel@ginac.de>
1295    
1296     * autoconf/ltmain.sh: Upgrade to libtool-1.5.16.
1297     * m4/libtool.m4: Upgrade to libtool-1.5.16 (without Comeau patch).
1298    
1299 kreckel 1.124 2005-05-02 Richard B. Kreckel <kreckel@ginac.de>
1300    
1301     * doc/cln.tex: Document what to do on a x86_64 machine with 32-bit
1302     userland.
1303    
1304 kreckel 1.123 2005-05-01 Richard B. Kreckel <kreckel@ginac.de>
1305    
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>.
1329    
1330 kreckel 1.122 2005-04-29 Richard B. Kreckel <kreckel@ginac.de>
1331     Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1332    
1333     * m4/cc.m4: Emit a warning if g++ is used and optimization turned off.
1334    
1335 kreckel 1.121 2005-04-24 Richard B. Kreckel <kreckel@ginac.de>
1336    
1337     Make GCC compiler flags default to -O
1338     * m4/cc.m4: New file...
1339     * configure.ac: ...used here.
1340     * autoconf/aclocal.m4: Regenerate.
1341    
1342 kreckel 1.120 2005-04-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1343    
1344     * include/cln/string.h: Declare cl_string.
1345    
1346 kreckel 1.119 2005-03-17 Richard B. Kreckel <kreckel@ginac.de>
1347    
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.
1351    
1352 kreckel 1.118 2005-03-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1353    
1354     * src/Makefile.in: Use $CXX instead of $CC when linking.
1355    
1356 kreckel 1.117 2005-02-27 Richard B. Kreckel <kreckel@ginac.de>
1357    
1358     * examples/perfnum.cc: update to presumed 42st Mersenne prime.
1359    
1360 kreckel 1.116 2004-11-28 Richard B. Kreckel <kreckel@ginac.de>
1361    
1362     Disambiguate binary operators of CLN types with float/double
1363     * include/cln/dfloat.h: Add binary operator overloads for arguments of
1364     type double.
1365     * include/cln/ffloat.h: Likewise, for arguments of type float.
1366     * include/cln/float.h: Likewise, both for arguments of types double and
1367     float.
1368     * include/cln/real.h: Likewise.
1369 kreckel 1.120 Reported by Isidro Cachadiña Gutiérrez <icacha@unex.es>.
1370 kreckel 1.116
1371 kreckel 1.115 2004-11-03 Richard B. Kreckel <kreckel@ginac.de>
1372    
1373     * Version 1.1.9 released.
1374    
1375 kreckel 1.114 2004-10-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1376    
1377     * src/Makefile.in: Let config.status set LDFLAGS.
1378    
1379 kreckel 1.113 2004-10-27 Peter Breitenlohner <peb@mppmu.mpg.de>
1380    
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).
1388    
1389 kreckel 1.112 2004-10-26 Richard B. Kreckel <kreckel@ginac.de>
1390    
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.
1397    
1398 kreckel 1.111 2004-10-25 Richard B. Kreckel <kreckel@ginac.de>
1399    
1400     * src/base/cl_low.h: Add mulu64 assembler macro for ia64.
1401    
1402 kreckel 1.110 2004-10-24 Richard B. Kreckel <kreckel@ginac.de>
1403    
1404     * src/base/cl_low.h: Add mul and div macros for x86_64.
1405    
1406 kreckel 1.109 2004-10-23 Richard B. Kreckel <kreckel@ginac.de>
1407    
1408     * src/integer/conv/cl_I_from_digits.cc (digits_to_I): Fix thinko in
1409     new code for base power of two.
1410    
1411 kreckel 1.108 2004-10-22 Richard B. Kreckel <kreckel@ginac.de>
1412    
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.
1417    
1418 kreckel 1.107 2004-10-20 Richard B. Kreckel <kreckel@ginac.de>
1419    
1420     * include/cln/types.h: Use 64 bit digits on x86_64 CPU.
1421    
1422 kreckel 1.106 2004-10-12 Richard B. Kreckel <kreckel@ginac.de>
1423    
1424     * src/integer/conv/cl_I_from_digits.cc (digits_to_I): Speedup when
1425     the base is a power of two.
1426    
1427 kreckel 1.105 2004-10-05 Richard B. Kreckel <kreckel@ginac.de>
1428    
1429     * src/integer/conv/cl_I_to_digits.cc (I_to_digits): Fix bug in base 32.
1430    
1431 kreckel 1.104 2004-09-27 Richard B. Kreckel <kreckel@ginac.de>
1432    
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.
1438    
1439 kreckel 1.103 2004-09-05 Richard B. Kreckel <kreckel@ginac.de>
1440    
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.
1446    
1447 haible 1.102 2004-08-30 Bruno Haible <bruno@clisp.org>
1448    
1449     * benchmarks/timebench2.sh: Multiply all repeat counts by 100.
1450     * benchmarks/timebench2.results: Add recent PowerPC G4 results.
1451    
1452 kreckel 1.100 2004-08-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1453    
1454 haible 1.102 * examples/e.cc: remove extra semicolon.
1455 kreckel 1.100
1456 haible 1.98 2004-08-25 Bruno Haible <bruno@clisp.org>
1457    
1458     * autoconf/ltmain.sh: Upgrade to libtool-1.5.6.
1459     * m4/libtool.m4: New file, from libtool-1.5.6 with modifications:
1460 kreckel 1.101 2004-08-22 Bruno Haible <bruno@clisp.org>
1461 kreckel 1.150 * m4/libtool.m4: Add support for Comeau C++ on Linux.
1462     Reported by Prof. Roberto Bagnara <bagnara@cs.unipr.it>.
1463 haible 1.99 * autoconf/aclocal.m4: Regenerate.
1464 haible 1.98
1465 haible 1.97 2004-08-19 Bruno Haible <bruno@clisp.org>
1466    
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
1469     MacOS X.
1470     Reported by Darren Bane <darren.bane@ul.ie>.
1471    
1472 kreckel 1.96 2004-07-01 Richard B. Kreckel <kreckel@ginac.de>
1473    
1474     * Version 1.1.8 released.
1475    
1476 kreckel 1.95 2004-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1477 kreckel 1.93
1478 kreckel 1.94 * src/base/cl_macros.h: alloca(3) has size_t argument type.
1479    
1480 kreckel 1.95 2004-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1481 kreckel 1.94
1482 kreckel 1.93 * include/cln/floatformat.h: Do define a type here.
1483    
1484 kreckel 1.92 2004-06-27 Richard B. Kreckel <kreckel@ginac.de>
1485    
1486     * include/cln/modules.h (CL_JUMP_TO): Fix AMD64 brokenness.
1487    
1488 haible 1.87 2004-06-23 Bruno Haible <bruno@clisp.org>
1489    
1490     * configure.ac: Pretend ftime() is not available. Needed by
1491     CL_TIMES_CLOCK.
1492    
1493 kreckel 1.91 2004-06-21 Ralf Stephan <ralf@ark.in-berlin.de>
1494    
1495     * doc/cln.tex: Document jacobi, isprobprime and nextprobprime.
1496    
1497 kreckel 1.86 2004-06-18 Richard B. Kreckel <kreckel@ginac.de>
1498    
1499     * rational/transcendental/cl_RA_logp.cc: fix bug where base is
1500     reciprocal of an integer.
1501 kreckel 1.91 Reported by Niklas Knutsson <nq@altern.org>.
1502 kreckel 1.86
1503 kreckel 1.89 2004-06-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1504    
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.
1508    
1509 kreckel 1.88 2004-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1510    
1511 kreckel 1.90 * 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.
1514    
1515     2004-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1516    
1517 kreckel 1.88 * 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
1554     within C++ code.
1555    
1556 kreckel 1.85 2004-06-10 Richard B. Kreckel <kreckel@ginac.de>
1557    
1558     * examples/perfnum.cc: update to presumed 41st Mersenne prime.
1559    
1560 kreckel 1.83 2004-05-02 Richard B. Kreckel <kreckel@ginac.de>
1561    
1562 kreckel 1.84 * Version 1.1.7 released.
1563    
1564     2004-05-02 Richard B. Kreckel <kreckel@ginac.de>
1565    
1566 kreckel 1.83 * examples/pi.cc and examples/pi.1: New files.
1567     * examples/Makefile.in: Build the pi executable.
1568    
1569 kreckel 1.82 2004-05-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1570    
1571     * src/Makefile.in: Fix for parallel build: wait for subdir objects to
1572     be finished before creating the library.
1573    
1574 kreckel 1.81 2004-04-30 Richard B. Kreckel <kreckel@ginac.de>
1575    
1576     * src/integer/output/cl_I_print.cc (print_integer): workaround
1577     GCC compiler bug (cf. Debian bug#246319).
1578    
1579 kreckel 1.80 2004-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1580    
1581     * m4/gmp.m4 (CL_GMP_CHECK): Do not lose LIBS setting with config.cache
1582     enabled.
1583    
1584 haible 1.78 2004-03-08 Bruno Haible <bruno@clisp.org>
1585    
1586     * src/float/lfloat/elem/cl_LF_mul.cc (operator*): Fix the second
1587     underflow condition.
1588 haible 1.79 * 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.
1590 haible 1.78
1591 kreckel 1.77 2004-03-04 Richard B. Kreckel <kreckel@ginac.de>
1592    
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>.
1596    
1597 kreckel 1.75 2004-01-01 Richard B. Kreckel <kreckel@ginac.de>
1598    
1599 kreckel 1.76 * Version 1.1.6 released.
1600    
1601     2004-01-01 Richard B. Kreckel <kreckel@ginac.de>
1602    
1603 kreckel 1.75 * 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'.
1610    
1611 kreckel 1.74 2003-12-29 Richard B. Kreckel <kreckel@ginac.de>
1612    
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.
1634    
1635 kreckel 1.73 2003-12-27 Richard B. Kreckel <kreckel@ginac.de>
1636    
1637     * src/polynomial/cl_UP_gen.h (gen_minus): Fix case where first
1638     argument is zero.
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>.
1642    
1643 kreckel 1.72 2003-12-02 Richard B. Kreckel <kreckel@ginac.de>
1644    
1645     * examples/perfnum.cc: update to presumed 40th Mersenne prime.
1646    
1647 kreckel 1.75 2003-11-20 Christian Bauer <cbauer@ginac.de>
1648    
1649     Added pkg-config support
1650     * cln.pc.in: New file.
1651     * Makefile.in: Take care of cln.pc.
1652     * configure.ac: Likewise.
1653    
1654     2003-08-06 Richard B. Kreckel <kreckel@ginac.de>
1655 kreckel 1.71
1656     * src/numtheory/cl_nt_sqrtmodp.cc: #undef _R.
1657     Reported by Andrew Rechnitzer <A.Rechnitzer@ms.unimelb.edu.au>.
1658    
1659 kreckel 1.70 2003-08-01 Richard Kreckel <kreckel@ginac.de>
1660    
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.
1673    
1674 kreckel 1.69 2003-06-29 Richard Kreckel <kreckel@ginac.de>
1675    
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
1685     explicit.
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.
1689    
1690 haible 1.68 2003-02-24 Bruno Haible <bruno@clisp.org>
1691 haible 1.67
1692     * src/base/random/cl_random_from.cc (random_state::random_state): Add
1693     support for MacOS X.
1694 haible 1.68 * src/modinteger/cl_MI.cc: #undef _R.
1695 haible 1.67 Reported by Erann Gat <gat@jpl.nasa.gov>.
1696    
1697 haible 1.66 2002-08-03 Joerg Arndt <jj@suse.de>
1698    
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.
1703    
1704 kreckel 1.65 2002-06-08 Richard Kreckel <kreckel@ginac.de>
1705    
1706     * src/base/digitseq/cl_asm.h: ensure intCsize==16 when including
1707     m68k Assembler routines.
1708     * src/base/digitseq/cl_asm_.cc: Likewise.
1709    
1710 kreckel 1.64 2002-05-28 Richard Kreckel <kreckel@ginac.de>
1711    
1712     * Version 1.1.5 released.
1713    
1714 kreckel 1.63 2002-05-27 Richard Kreckel <kreckel@ginac.de>
1715    
1716     * include/cln/modules.h (CL_CONCATENATE): New macro.
1717    
1718 kreckel 1.62 2002-05-10 Richard Kreckel <kreckel@ginac.de>
1719    
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.
1723    
1724 haible 1.58 2002-05-05 Bruno Haible <bruno@clisp.org>
1725    
1726 haible 1.61 * doc/cln.tex (Building the library): Give some recommendations for
1727     g++ 3.0 and 3.1.
1728    
1729 haible 1.60 Force link-time references despite optimizations done by g++ 2.95
1730     and newer.
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):
1739     Likewise.
1740     * include/cln/integer.h (cl_I_classes_dummy, cl_I_debug_dummy):
1741     Likewise.
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):
1748     Likewise.
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.
1752    
1753 haible 1.58 Avoid g++ 3.1 warnings.
1754 haible 1.59 * src/base/cl_offsetof.h (offsetof): Redefine each time.
1755     * src/base/digitseq/cl_DS.h: Include "cl_offsetof.h" after <gmp.h>.
1756    
1757     Avoid g++ 3.1 warnings.
1758 haible 1.58 * src/base/hash/cl_hash.h (struct cl_heap_hashtable): Use typename
1759     where needed.
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):
1765     Likewise.
1766    
1767 haible 1.57 2002-03-15 Bruno Haible <bruno@clisp.org>
1768    
1769     * cln.tex: Document problem with GNU make 3.77.
1770     Reported by Michael Somos <somos@grail.cba.csuohio.edu>.
1771    
1772 kreckel 1.56 2002-02-16 Richard Kreckel <kreckel@ginac.de>
1773    
1774 kreckel 1.150 * cln.m4: quote macro name.
1775     Pointed out by Roberto Bagnara.
1776 kreckel 1.56
1777 kreckel 1.55 2002-01-20 Richard Kreckel <kreckel@ginac.de>
1778    
1779 kreckel 1.150 * autoconf/config.{guess,sub}: Update to GNU version 2002-01-02.
1780     (the old one was broken on Linux/Mips.)
1781 kreckel 1.55
1782 kreckel 1.54 2002-01-04 Richard Kreckel <kreckel@ginac.de>
1783    
1784 kreckel 1.150 * autoconf/autoconf.m4f: get brutal in order to adhere to FHS.
1785     * Version 1.1.4 released.
1786 kreckel 1.54
1787 kreckel 1.53 2002-01-03 Richard Kreckel <kreckel@ginac.de>
1788    
1789 kreckel 1.150 * 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__.
1799 kreckel 1.53
1800 kreckel 1.52 2001-12-31 Richard Kreckel <kreckel@ginac.de>
1801    
1802 kreckel 1.150 * src/base/digitseq/cl_DS.h: <gmp.h> is not included extern "C"
1803     any more since GMP4 has some C++ support in it.
1804 kreckel 1.52
1805 kreckel 1.51 2001-12-14 Richard Kreckel <kreckel@ginac.de>
1806    
1807 kreckel 1.150 * include/cln/modules.h, include/cln/object.h: add support for
1808     s390.
1809     * src/numtheory/cl_nt_sqrtmodp.cc: workaround for GCC2.x compiler-bug
1810     on s390, provided by Gerhard Tonn.
1811 kreckel 1.51
1812 kreckel 1.50 2001-11-05 Richard Kreckel <kreckel@ginac.de>
1813    
1814 kreckel 1.150 * 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.
1817 kreckel 1.50
1818 haible 1.49 2001-11-04 Bruno Haible <haible@clisp.cons.org>
1819    
1820 kreckel 1.150 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
1825     function.
1826 haible 1.49
1827 kreckel 1.47 2001-11-03 Richard Kreckel <kreckel@ginac.de>
1828    
1829 kreckel 1.150 * 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.
1832 kreckel 1.47
1833     2001-07-25 Richard Kreckel <kreckel@ginac.de>
1834 kreckel 1.46
1835 kreckel 1.150 * Version 1.1.2 released.
1836 kreckel 1.46
1837 kreckel 1.47 2001-07-24 Richard Kreckel <kreckel@ginac.de>
1838 kreckel 1.45
1839 kreckel 1.150 * src/base/hash/cl_hash.h: declare _cl_hashtable_iterator<htentry> a
1840     friend of cl_heap_hashtable<htentry>.
1841 kreckel 1.45
1842 kreckel 1.47 2001-07-22 Richard Kreckel <kreckel@ginac.de>
1843 kreckel 1.44
1844 kreckel 1.150 * 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.
1854 kreckel 1.44
1855 kreckel 1.47 2001-06-08 Bruno Haible <haible@clisp.cons.org>
1856 haible 1.43
1857 kreckel 1.150 * 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.
1863 haible 1.43
1864 kreckel 1.47 2001-06-05 Richard Kreckel <kreckel@ginac.de>
1865 kreckel 1.42
1866 kreckel 1.150 * tests/tests.cc: resolve namespace ambiguity about strcmp().
1867 kreckel 1.42
1868 kreckel 1.47 2001-05-31 Richard Kreckel <kreckel@ginac.de>
1869 kreckel 1.41
1870 kreckel 1.150 * Version 1.1.1 released.
1871 kreckel 1.41
1872 kreckel 1.40 2001-05-28 Richard Kreckel <kreckel@ginac.de>
1873    
1874 kreckel 1.150 * 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.
1877 kreckel 1.40
1878 haible 1.39 2001-05-25 Bruno Haible <haible@clisp.cons.org>
1879    
1880 kreckel 1.150 * src/base/digitseq/cl_asm_arm_.cc: Use #0x instead of #& to designate
1881     hexadecimal constants.
1882 haible 1.39
1883 kreckel 1.38 2001-05-25 Richard Kreckel <kreckel@ginac.de>
1884    
1885 kreckel 1.150 * 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.
1890 kreckel 1.38
1891 kreckel 1.37 2001-05-19 Richard Kreckel <kreckel@ginac.de>
1892    
1893 kreckel 1.150 * INSTALL: Update toolchain info: no egcs, some more platforms.
1894     * doc/cln.tex: Likewise.
1895 kreckel 1.37
1896 kreckel 1.36 2001-05-18 Richard Kreckel <kreckel@ginac.de>
1897    
1898 kreckel 1.150 * src/base/cl_low.h: prepended variables declared inside macros
1899     with underscore. Fixes equal_hashcode() on various platforms.
1900 kreckel 1.36
1901 kreckel 1.35 2001-04-25 Richard Kreckel <kreckel@ginac.de>
1902    
1903 kreckel 1.150 * 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'.
1910 kreckel 1.35
1911 kreckel 1.34 2001-03-26 Arvid Norberg <c99ang@cs.umu.se>
1912    
1913 kreckel 1.150 * src/base/random/cl_random_from.cc: ported to beos.
1914 kreckel 1.34
1915 kreckel 1.33 2001-03-05 Richard Kreckel <kreckel@ginac.de>
1916    
1917 kreckel 1.150 * include/cln/modules.h (CL_JUMP_TO): Fix IA64 brokenness.
1918 kreckel 1.33
1919 kreckel 1.32 2001-01-28 Richard Kreckel <kreckel@ginac.de>
1920    
1921 kreckel 1.150 * include/cln/number.h (cl_as_N): Remove bogus comment.
1922 kreckel 1.32
1923 kreckel 1.31 2001-01-22 Richard Kreckel <kreckel@ginac.de>
1924    
1925 kreckel 1.150 * configure.in: Make build in separate builddir possible (again).
1926 kreckel 1.31
1927     2001-01-22 Richard Kreckel <kreckel@ginac.de>
1928    
1929 kreckel 1.150 * 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).
1934 kreckel 1.31
1935 kreckel 1.30 2000-12-14 Richard Kreckel <kreckel@ginac.de>
1936    
1937 kreckel 1.150 * Version 1.1 released.
1938 kreckel 1.30
1939     2000-12-13 Richard Kreckel <kreckel@ginac.de>
1940    
1941 kreckel 1.150 * */*: cl_istream -> std::istream, cl_ostream -> std::ostream.
1942 kreckel 1.30
1943 kreckel 1.29 2000-12-05 Richard Kreckel <kreckel@ginac.de>
1944    
1945 kreckel 1.150 * 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.
1950 kreckel 1.29
1951     2000-12-02 Christian Bauer <cbauer@ginac.de>
1952    
1953 kreckel 1.150 * Makefile.in, src/Makefile.in, doc/Makefile.in: Added $DESTDIR.
1954     * cln.m4, cln.spec.in: some minor fixes with respect to RPM package
1955     building.
1956 kreckel 1.29
1957 kreckel 1.28 2000-11-24 Richard Kreckel <kreckel@ginac.de>
1958    
1959 kreckel 1.150 * */*: Removed problematic stdin, stdout and stderr definitions.
1960     Use std::cin, std::cout, std::cerr instead (obsoletes 2000-10-29).
1961 kreckel 1.28
1962 haible 1.27 2000-11-20 Bruno Haible
1963    
1964 kreckel 1.150 * cln-config.1: change title.
1965 haible 1.27
1966 kreckel 1.26 2000-11-18 Richard Kreckel <kreckel@ginac.de>
1967    
1968 kreckel 1.150 * cln.m4: New file.
1969     * doc/cln.tex: Document package tools cln-config and cln.m4.
1970     * Makefile.in: Care about cln.m4.
1971 kreckel 1.26
1972 kreckel 1.25 2000-11-17 Richard Kreckel <kreckel@ginac.de>
1973    
1974 kreckel 1.150 * cln-config.1: added manpage, as required by a couple of distros.
1975     * Makefile.in, doc/Makefile.in: target install depends on installdirs.
1976 kreckel 1.25
1977 kreckel 1.24 2000-11-16 Richard Kreckel <kreckel@ginac.de>
1978    
1979 kreckel 1.150 * 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.
1984 kreckel 1.24
1985 kreckel 1.23 2000-11-13 Richard Kreckel <kreckel@ginac.de>
1986    
1987 kreckel 1.150 * 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
1993     HAVE_FAST_LONGLONG.
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).
2004 kreckel 1.23
2005     2000-11-03 Richard Kreckel <kreckel@ginac.de>
2006    
2007 kreckel 1.150 * 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.
2013 kreckel 1.23
2014 kreckel 1.22 2000-11-01 Richard Kreckel <kreckel@ginac.de>
2015    
2016 kreckel 1.150 * 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.
2028 kreckel 1.22
2029 kreckel 1.21 2000-10-29 Richard Kreckel <kreckel@ginac.de>
2030    
2031 kreckel 1.150 * 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.
2034 kreckel 1.21
2035 kreckel 1.19 2000-09-05 Richard Kreckel <kreckel@ginac.de>
2036    
2037 kreckel 1.150 * 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.
2048 kreckel 1.20
2049     2000-09-05 Richard Kreckel <kreckel@ginac.de>
2050    
2051 kreckel 1.150 * src/complex/transcendental/cl_C_expt_C.cc (expt): fix logic for
2052     the 0^y cases.
2053 kreckel 1.19
2054 kreckel 1.18 2000-08-30 Richard Kreckel <kreckel@ginac.de>
2055    
2056 kreckel 1.150 * 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.
2059 kreckel 1.18
2060 kreckel 1.17 2000-08-29 Richard Kreckel <kreckel@ginac.de>
2061    
2062 kreckel 1.150 * include/cln/number.h, the(const cl_number& x): New template
2063     function.
2064 kreckel 1.17
2065 kreckel 1.18 2000-08-29 Richard Kreckel <kreckel@ginac.de>
2066    
2067 kreckel 1.150 * */*: 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()
2098     cl_pi() -> pi()
2099     cl_tschebychev() -> tschebychev()
2100     cl_zeta() -> zeta()
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.
2104 kreckel 1.18
2105 haible 1.16 2000-08-26 Bruno Haible <haible@clisp.cons.org>
2106    
2107 kreckel 1.150 * autoconf/acgeneral.m4 (AC_OUTPUT): Use braces in exec_prefix default
2108     value, not parens.
2109 haible 1.16
2110 haible 1.15 2000-08-18 Bruno Haible <haible@clisp.cons.org>
2111    
2112 kreckel 1.150 * include/cl_univpoly_modint.h: Fix typo.
2113 haible 1.15
2114 haible 1.14 2000-07-13 Bruno Haible <haible@clisp.cons.org>
2115    
2116 kreckel 1.150 * 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.
2123 haible 1.14
2124 haible 1.13 2000-06-22 Bruno Haible <haible@clisp.cons.org>
2125    
2126 kreckel 1.150 * include/cl_object.h: Rename cl_word_size to cl_pointer_size.
2127     * include/cl_types.h (HAVE_FAST_LONGLONG): Also define on Irix6
2128     with N32 ABI.
2129     (cl_word_size): New macro.
2130     * src/float/sfloat/cl_SF.h: Use cl_pointer_size instead of
2131     cl_word_size.
2132 haible 1.13
2133 haible 1.11 2000-05-31 Bruno Haible <haible@clisp.cons.org>
2134    
2135 kreckel 1.150 * 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.
2138 haible 1.11
2139 kreckel 1.10 2000-05-30 Richard Kreckel <kreckel@ginac.de>
2140    
2141 kreckel 1.150 * configure.in, autoconf/aclocal.m4 (CL_GMP_H_VERSION, CL_GMP_CHECK):
2142     New macros.
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
2148     CLN_* to CL_*.
2149     * configure.in: default to build both shared and static library
2150     (i.e. default to the most common behaviour).
2151 kreckel 1.10
2152 kreckel 1.9 2000-05-29 Richard Kreckel <kreckel@ginac.de>
2153    
2154 kreckel 1.150 * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Added missing changequote
2155     environment around the patch of 2000-05-23.
2156 kreckel 1.9
2157 haible 1.8 2000-05-29 Bruno Haible <haible@clisp.cons.org>
2158    
2159 kreckel 1.150 * autoconf/aclocal.m4 (CL_PROG_INSTALL): Fix typo.
2160     Reported by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>.
2161 haible 1.8
2162 kreckel 1.7 2000-05-27 Richard Kreckel <kreckel@ginac.de>
2163    
2164 kreckel 1.150 * src/float/lfloat/algebraic/cl_LF_sqrt.cc,
2165     src/base/digitseq/cl_DS_sqrt.cc: Readjusted break-even points.
2166 kreckel 1.7
2167 kreckel 1.6 2000-05-24 Richard Kreckel <kreckel@ginac.de>
2168    
2169 kreckel 1.150 * 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
2173     break-even points.
2174 kreckel 1.6
2175 haible 1.5 2000-05-23 Bruno Haible <haible@clisp.cons.org>
2176    
2177 kreckel 1.150 * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Determine host_cpu,
2178     host_vendor, host_os correctly if $host has more than two hyphens.
2179 haible 1.5
2180 kreckel 1.4 2000-05-19 Richard Kreckel <kreckel@ginac.de>
2181    
2182 kreckel 1.150 * 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.
2189 kreckel 1.4
2190     2000-05-04 Richard Kreckel <kreckel@ginac.de>
2191    
2192 kreckel 1.150 * 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
2200     from libtool 1.3.4.
2201 kreckel 1.4
2202 kreckel 1.3 2000-02-22 Bruno Haible <haible@clisp.cons.org>
2203    
2204 kreckel 1.150 * src/base/digitseq/cl_asm_mips_.cc: Starting at argument 5 the
2205     parameter passing was changed for the MIPS n32 ABI.
2206 kreckel 1.3
2207 kreckel 1.2 2000-01-24 Richard Kreckel <kreckel@ginac.de>
2208    
2209 kreckel 1.150 * 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.
2216 kreckel 1.2
2217 kreckel 1.1 2000-01-13 Richard Kreckel <kreckel@ginac.de>
2218    
2219 kreckel 1.150 * Version 1.0.3 released.
2220 kreckel 1.1
2221     2000-01-13 Richard Kreckel <kreckel@ginac.de>
2222    
2223 kreckel 1.150 * src/base/cl_macros.h (nonreturning_function): For egcs and newer
2224     use __attribute__ ((__noreturn__)) instead of the __volatile__
2225     storage class.
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.
2230 kreckel 1.1
2231     1999-12-18 Bruno Haible <haible@clisp.cons.org>
2232    
2233 kreckel 1.150 * autoconf/acgeneral.m4 (AC_ARG_PROGRAM): Create conftestsed using
2234     "cat", not "echo".
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.
2241 kreckel 1.1
2242     1999-09-07 Bruno Haible <haible@clisp.cons.org>
2243    
2244 kreckel 1.150 * Version 1.0.2 released.
2245 kreckel 1.1
2246     1999-09-06 Bruno Haible <haible@clisp.cons.org>
2247    
2248 kreckel 1.150 * 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.
2255 kreckel 1.1
2256     1999-09-05 Bruno Haible <haible@clisp.cons.org>
2257    
2258 kreckel 1.150 * 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'.
2278 kreckel 1.1
2279     1999-09-05 Bruno Haible <haible@clisp.cons.org>
2280    
2281 kreckel 1.150 * 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'.
2294 kreckel 1.1
2295     1999-09-05 Bruno Haible <haible@clisp.cons.org>
2296    
2297 kreckel 1.150 * 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'.
2302 kreckel 1.1
2303     1999-09-05 Bruno Haible <haible@clisp.cons.org>
2304    
2305 kreckel 1.150 * 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.
2308 kreckel 1.1
2309     1999-09-05 Bruno Haible <haible@clisp.cons.org>
2310    
2311 kreckel 1.150 * 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.
2329 kreckel 1.1
2330     1999-09-04 Bruno Haible <haible@clisp.cons.org>
2331    
2332 kreckel 1.150 * src/base/digitseq/cl_asm_sparc_.cc (orc2_loop_up, orc2_loop_down):
2333     Use the `orn' instruction.
2334 kreckel 1.1
2335     1999-08-14 Bruno Haible <haible@clisp.cons.org>
2336    
2337 kreckel 1.150 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.
2343 kreckel 1.1
2344     1999-07-18 Bruno Haible <haible@clisp.cons.org>
2345    
2346 kreckel 1.150 * gmp/config.guess: Link to autoconf/config.guess.
2347     gmp/config.sub: Link to autoconf/config.sub.
2348     Needed for Win32 platforms.
2349 kreckel 1.1
2350     1999-07-17 Bruno Haible <haible@clisp.cons.org>
2351    
2352 kreckel 1.150 * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Distinguish "sparc" and
2353     "sparc64" according to the C compiler, not the uname result.
2354 kreckel 1.1
2355     1999-06-17 Bruno Haible <haible@clisp.cons.org>
2356    
2357 kreckel 1.150 * src/base/digitseq/cl_asm_sparc_.cc (compare_loop_up): Fix
2358     COUNTER_LOOPS version, fortunately not used yet.
2359 kreckel 1.1
2360 kreckel 1.150 * include/cl_modules.h: Prepare for gcc version 3.
2361 kreckel 1.1
2362     1999-06-12 Bruno Haible <haible@clisp.cons.org>
2363    
2364 kreckel 1.150 * 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.
2366 kreckel 1.1
2367     1999-06-09 Bruno Haible <haible@clisp.cons.org>
2368    
2369 kreckel 1.150 * Version 1.0.1 released.
2370 kreckel 1.1
2371     1999-06-09 Bruno Haible <haible@clisp.cons.org>
2372    
2373 kreckel 1.150 * src/integer/cl_I.h (pFN_maxlength_digits_at): Define also when
2374     intDsize==64.
2375 kreckel 1.1
2376     1999-06-08 Bruno Haible <haible@clisp.cons.org>
2377    
2378 kreckel 1.150 * autoconf/intparam.c (printf_underscored): Change argument type to
2379     `const char*'.
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
2389     in g++-2.95.
2390     * src/polynomial/elem/cl_asm_sparc_GF2.cc (DECLARE_FUNCTION): New
2391     macro.
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):
2396     Likewise.
2397 kreckel 1.1
2398     1999-06-01 Bruno Haible <haible@clisp.cons.org>
2399    
2400 kreckel 1.150 * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Canonicalize alpha
2401     variants to alpha.
2402 kreckel 1.1
2403     1999-05-29 Bruno Haible <haible@clisp.cons.org>
2404    
2405 kreckel 1.150 * 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.
2410 kreckel 1.1
2411     1999-05-16 Bruno Haible <haible@clisp.cons.org>
2412    
2413 kreckel 1.150 * src/base/cl_low.h (integerlength32) [__rs6000__]: Use old assembler
2414     syntax on AIX systems and new assembler syntax on non-AIX systems.
2415 kreckel 1.1
2416     1999-05-01 Bruno Haible <haible@clisp.cons.org>
2417    
2418 kreckel 1.150 * autoconf/config.guess, autoconf/config.sub: Upgrade to newest
2419     version from GNU CVS.
2420 kreckel 1.1
2421     1999-04-24 Bruno Haible <haible@clisp.cons.org>
2422    
2423 kreckel 1.150 * 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
2427     first operand.
2428 kreckel 1.1
2429     1999-04-14 Bruno Haible <haible@clisp.cons.org>
2430    
2431 kreckel 1.150 * 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
2435     CL_GLOBALIZE_LABEL.
2436     (CL_GLOBALIZE_LABEL): New macro.
2437     (CL_GLOBALIZE_CTORDTOR_LABEL): Renamed from CL_GLOBALIZE_ASM_LABEL.
2438     (CL_PROVIDE): Update.
2439 kreckel 1.1
2440     1999-04-12 Bruno Haible <haible@clisp.cons.org>
2441    
2442 kreckel 1.150 * 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.
2446 kreckel 1.1
2447     1999-04-11 Bruno Haible <haible@clisp.cons.org>
2448    
2449 kreckel 1.150 * INSTALL: Mention gmp problems on MIPS.
2450     * doc/cln.tex: Likewise.
2451 kreckel 1.1
2452     1999-03-24 Mumit Khan <khan@xraylith.wisc.edu>
2453    
2454 kreckel 1.150 * src/Makefile.in (SUBDIRS): Filter out CVS and RCS directories from
2455     the source tree.
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.
2461 kreckel 1.1
2462     1999-03-15 Bruno Haible <haible@clisp.cons.org>
2463    
2464 kreckel 1.150 * autoconf/intparam.c (main7): Use %lX instead of %X for a `long'.
2465     (main8): Adapt for C++.
2466 kreckel 1.1
2467     1999-03-09 Bruno Haible <haible@clisp.cons.org>
2468    
2469 kreckel 1.150 * INSTALL: Mention egcs-1.1 problems on Sparc.
2470     * doc/cln.tex: Likewise.
2471 kreckel 1.1
2472     1999-03-08 Bruno Haible <haible@clisp.cons.org>
2473    
2474 kreckel 1.150 * autoconf/aclocal.m4 (CL_FPU_CONTROL): Fix the "checking for"
2475     messages.
2476 kreckel 1.1
2477     1999-02-25 Bruno Haible <haible@clisp.cons.org>
2478    
2479 kreckel 1.150 * autoconf/aclocal.m4: In test programs, declare `int main()', not
2480     `main()'.
2481 kreckel 1.1
2482 kreckel 1.150 * lidia-interface/src/interfaces/integers/cln/bigint.c
2483     (bigint_to_string): Fix for negative arguments.
2484 kreckel 1.1
2485 kreckel 1.150 * src/base/cl_low.h: Check for `__sparc__', not `SPARC'.
2486     * src/base/cl_alloca.h: Likewise.
2487 kreckel 1.1
2488 kreckel 1.150 * 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.
2492    
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.
2496 kreckel 1.1
2497     1999-01-18 Bruno Haible <haible@clisp.cons.org>
2498    
2499 kreckel 1.150 * 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.
2506 kreckel 1.1
2507     1999-01-12 Bruno Haible <haible@clisp.cons.org>
2508    
2509 kreckel 1.150 * Version 1.0 released.
2510 kreckel 1.1

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