1 2006-08-06 Richard B. Kreckel <kreckel@ginac.de>
3 * configure.ac: Re-enable shared lib on non-MinGW platforms, sigh.
5 2006-08-06 Richard B. Kreckel <kreckel@ginac.de>
7 * Apply patch for autoconf-2.60:
8 2006-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9 * Makefile.in (datarootdir): New variable.
10 * src/Makefile.in (datarootdir): New variable.
11 * doc/Makefile.in (datarootdir): New variable.
13 2006-08-04 Sheplyakov Alexei <varg@theor.jinr.ru>
15 * configure.ac: Disable shared lib on MinGW.
17 2006-08-03 Sheplyakov Alexei <varg@theor.jinr.ru>
19 * m4/param.m4: Add support for MinGW.
20 * src/base/random/cl_random_from.cc: Fix for last patch.
22 2006-07-23 Sheplyakov Alexei <varg@theor.jinr.ru>
24 * src/base/random/cl_random_from.cc: Add support for MinGW.
26 2006-06-14 Richard B. Kreckel <kreckel@ginac.de>
28 * src/float/output/cl_F_dprint.cc (decode_float_decimal): Fix rare
29 assertion for quite large numbers (cl_LF binary exponent >~ 4.8E8).
31 2006-05-20 Bruno Haible <bruno@clisp.org>
33 * src/base/random/cl_random_from.cc: Treat FreeBSD, NetBSD like other
36 2006-05-07 Richard B. Kreckel <kreckel@ginac.de>
38 * include/cln/modules.h (CL_JUMP_TO): Fix for Intel Mac.
40 2006-04-22 Richard B. Kreckel <kreckel@ginac.de>
42 * Apply patch for x86_64 from mainline:
43 2005-12-02 Bruno Haible <bruno@clisp.org>
44 * src/base/cl_low.h (mulu64) [x86_64]: Change asm restriction,
45 since mulq doesn't accept immediate arguments.
47 2005-12-17 Richard B. Kreckel <kreckel@ginac.de>
49 * Branched cln_1-1. This is the maintenance branch. It is for
50 low-impact patches. The main branch will eventually become CLN 1.2.0.
52 2005-12-15 Dmitry V. Kustov <kustov@telex221.ru>
54 * src/base/random/cl_random_from.cc: Add support for OpenBSD.
56 2005-11-23 Richard B. Kreckel <kreckel@ginac.de>
58 * Version 1.1.11 released.
60 2005-11-20 Richard B. Kreckel <kreckel@ginac.de>
62 * src/integer/conv/cl_I_cached_power.h: New file.
63 * src/integer/conv/cl_I_cached_power.cc: New file.
64 Contains power_table and cached_power_table previously...
65 * src/integer/conv/cl_I_to_digits.cc: ...here.
66 * src/integer/conv/cl_I_from_digits.cc: Use cached powers.
68 2005-11-02 Richard B. Kreckel <kreckel@ginac.de>
70 * src/integer/conv/cl_I_from_digits.cc: Made input of all numbers in
71 non-power-of-two base much faster.
72 * tests/test_I_io.cc: New file...
73 * tests/Makefile.in, tests/test_I.cc: ...used here.
75 2005-10-22 Richard B. Kreckel <kreckel@ginac.de>
77 * Version 1.1.10 released.
79 2005-10-22 Richard B. Kreckel <kreckel@ginac.de>
81 * src/Makefile.in: Accept CPPFLAGS from environment.
82 * examples/Makefile.in: Likewise.
83 * benchmarks/Makefile.in: Likewise.
84 * tests/Makefile.in: Likewise.
86 2005-08-30 Richard B. Kreckel <kreckel@ginac.de>
88 * include/cln/modules.h (CL_OUTPUT_LABEL): Work around redundant
89 duplication of basic blocks on m68k.
91 2005-08-30 Richard B. Kreckel <kreckel@ginac.de>
93 * include/cln/modules.h (CL_JUMP_TO): Fix mips* brokenness.
95 2005-08-27 Bruno Haible <bruno@clisp.org>
97 Split aclocal.m4 into individual files.
98 * m4/alloca.m4, m4/as-underscore.m4, m4/c++-constructors.m4:
99 * m4/fpu_control.m4, m4/general.m4, m4/gettimeofday.m4:
100 * m4/longdouble.m4, m4/longlong.m4, m4/param.m4, m4/perror.m4:
101 * m4/proto.m4, m4/rusage.m4, m4/times.m4:
102 New files, extracted from autoconf/aclocal.m4.
103 * autoconf/aclocal.m4: m4_include them.
104 * Makefile.devel (AUTOCONF_MACROS): New variable.
105 (configure): Depend on it.
106 (CLISP_M4DIR): Remove variable.
107 (autoconf/aclocal.m4): Remove rule.
109 2005-08-27 Bruno Haible <bruno@clisp.org>
111 * src/integer/bitwise/cl_I_ash_I.cc (ash): Avoid shifting a 32-bit
112 zero value by more than 31 bits.
114 2005-08-27 Bruno Haible <bruno@clisp.org>
116 Make the long-float overflow check work on 64-bit platforms.
117 * src/float/lfloat/cl_LF.h (LF_exp_mid, LF_exp_high): Define as
118 'unsigned int', not 'unsigned long'.
120 2005-08-27 Bruno Haible <bruno@clisp.org>
122 * include/cln/modules.h (CL_OUTPUT_LABEL): Work around redundant
123 duplication of basic blocks by g++ 4.0.
124 See <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23345>.
126 2005-08-27 Bruno Haible <bruno@clisp.org>
128 Make it possible to cross-compile CLN.
129 * m4/intparam.m4: New file.
130 * m4/floatparam.m4: New file.
131 * autoconf/aclocal.m4: Include both.
132 (CL_MACHINE): Add an additional CROSS_MACRO parameter.
133 * configure.ac (CL_MACHINE): When cross-compiling, use
134 CL_INTPARAM_CROSS and CL_FLOATPARAM_CROSS.
136 2005-08-27 Bruno Haible <bruno@clisp.org>
138 Define HAVE_LONGLONG and HAVE_LONGDOUBLE when cross-compiling.
139 * autoconf/aclocal.m4 (CL_LONGLONG, CL_LONGDOUBLE): When cross-
140 compiling, use the test code from gnulib.
142 2005-08-27 Bruno Haible <bruno@clisp.org>
144 * autoconf/aclocal.m4 (CL_RUSAGE): Fix error when cross-compiling.
146 2005-08-16 Richard B. Kreckel <kreckel@ginac.de>
148 The patch of 2005-05-01 made it impossible to test the type of a cl_UP
149 by comparing with &cl_class_univpoly_ring. We need an alternative:
150 * include/cln/object.h (cl_class_flags_modint_ring): New #define...
151 * src/polynomial/elem/cl_UP.cc (cl_class_univpoly_ring): ...used here.
152 * src/polynomial/elem/cl_UP_GF2.h: Likewise.
153 * src/polynomial/elem/cl_UP_MI.h: Likewise.
154 * src/polynomial/elem/cl_UP_gen.h: Likewise.
155 * src/polynomial/elem/cl_UP_number.h: Likewise.
157 2005-08-15 Richard B. Kreckel <kreckel@ginac.de>
159 * m4/cc.m4 (CL_AS_NOEXECSTACK): New macro...
160 * configure.ac: ...used here for setting ASMFLAGS...
161 * src/Makefile.in: ...which are used here.
163 2005-08-02 Andreas Jochens <aj@andaco.de>
165 * include/cln/config.h.in: Add support for PowerPC 64 CPU.
166 * include/cln/modules.h: Likewise.
167 * include/cln/object.h: Likewise.
168 * include/cln/types.h: Likewise.
170 2005-07-24 Richard B. Kreckel <kreckel@ginac.de>
172 Make out of the box build on x86_64 system with complete 32 bit
174 * include/cln/config.h.in: Don't #define __x86_64__ when
176 * src/base/digitseq/cl_asm_x86_64_.cc: New file.
177 * doc/cln.tex: Revert workaround description introduced 2005-05-02.
179 2005-06-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
181 * Makefile.in: Don't enter nonexisting directories.
183 2005-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
185 Speed up the linking step
186 * src/Makefile.in: Use -objectlist for linking libcln.la.
188 2005-05-15 Richard B. Kreckel <kreckel@ginac.de>
190 * autoconf/ltmain.sh: Upgrade to libtool-1.5.16.
191 * m4/libtool.m4: Upgrade to libtool-1.5.16 (without Comeau patch).
193 2005-05-02 Richard B. Kreckel <kreckel@ginac.de>
195 * doc/cln.tex: Document what to do on a x86_64 machine with 32-bit
198 2005-05-01 Richard B. Kreckel <kreckel@ginac.de>
200 Fix crashes in find_univpoly_ring and related functions
201 * include/cln/modinteger.h: Remove vptr from cl_heap_modint_ring;
202 remove declaration of cl_class cl_class_modint_ring.
203 * include/cln/univpoly.h: Remove vptr from cl_heap_univpoly_ring;
204 remove declaration of cl_class_univpoly_ring.
205 * include/cln/object.h: cl_class_flags_modint_ring: New #define...
206 * src/modinteger/cl_MI.cc: ...used in cl_class_modint_ring.
207 * src/modinteger/cl_MI_fix16.h: No vptr, but static dtor and type flag.
208 * src/modinteger/cl_MI_fix29.h: Likewise.
209 * src/modinteger/cl_MI_fix32.h: Likewise.
210 * src/modinteger/cl_MI_int32.h: Likewise.
211 * src/modinteger/cl_MI_montgom.h: Likewise.
212 * src/modinteger/cl_MI_pow2: Likewise.
213 * src/modinteger/cl_MI_pow2m1.h: Likewise.
214 * src/modinteger/cl_MI_pow2p1.h: Likewise.
215 * src/modinteger/cl_MI_std.h: Likewise.
216 * src/polynomial/elem/cl_UP.cc (cl_make_univpoly_ring): Compare with
217 cl_class_flags_modint_ring, not with cl_class_modint_ring.
218 * src/polynomial/elem/cl_UP_GF2.h (cl_class_num_univpoly_ring): New.
219 * src/polynomial/elem/cl_UP_MI.h (cl_class_modint_univpoly_ring): New.
220 * src/polynomial/elem/cl_UP_gen.h (cl_class_gen_univpoly_ring): New.
221 * src/polynomial/elem/cl_UP_number.h (cl_class_num_univpoly_ring): New.
222 Reported by Ralf Goertz <R_Goertz@web.de>.
224 2005-04-29 Richard B. Kreckel <kreckel@ginac.de>
225 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
227 * m4/cc.m4: Emit a warning if g++ is used and optimization turned off.
229 2005-04-24 Richard B. Kreckel <kreckel@ginac.de>
231 Make GCC compiler flags default to -O
232 * m4/cc.m4: New file...
233 * configure.ac: ...used here.
234 * autoconf/aclocal.m4: Regenerate.
236 2005-04-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
238 * include/cln/string.h: Declare cl_string.
240 2005-03-17 Richard B. Kreckel <kreckel@ginac.de>
242 * autoconf/ltmain.sh: Upgrade to libtool-1.5.14.
243 * m4/libtool.m4: Upgrade to libtool-1.5.14 with Comeau patch.
244 * autoconf/aclocal.m4: Regenerate.
246 2005-03-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
248 * src/Makefile.in: Use $CXX instead of $CC when linking.
250 2005-02-27 Richard B. Kreckel <kreckel@ginac.de>
252 * examples/perfnum.cc: update to presumed 42st Mersenne prime.
254 2004-11-28 Richard B. Kreckel <kreckel@ginac.de>
256 Disambiguate binary operators of CLN types with float/double
257 * include/cln/dfloat.h: Add binary operator overloads for arguments of
259 * include/cln/ffloat.h: Likewise, for arguments of type float.
260 * include/cln/float.h: Likewise, both for arguments of types double and
262 * include/cln/real.h: Likewise.
263 Reported by Isidro Cachadiña Gutiérrez <icacha@unex.es>.
265 2004-11-03 Richard B. Kreckel <kreckel@ginac.de>
267 * Version 1.1.9 released.
269 2004-10-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
271 * src/Makefile.in: Let config.status set LDFLAGS.
273 2004-10-27 Peter Breitenlohner <peb@mppmu.mpg.de>
275 * cln.pc.in: Fix typo.
276 * Makefile.in (INSTALL_SCRIPT): Added, to be used for scripts like
277 cln-config. Allows us to do special things to binaries, like
278 installing them with install -s.
279 * doc/Makefile.in: add/remove the cln.info from the installed
280 $(infodir)/dir unless this is debian install-info (code copied from
281 what GNU automake would produce).
283 2004-10-26 Richard B. Kreckel <kreckel@ginac.de>
285 * src/integer/input/cl_I_read_stream.cc (read_integer): Fix a bug
286 that caused radix specifiers to not work when reading from a stream.
287 * src/rational/input/cl_RA_read_stream.cc (read_rational): Likewise.
288 * src/real/input/cl_R_read_stream.cc (read_real): Likewise.
289 * src/float/input/cl_F_read_stream.cc (read_float): Likewise.
290 * src/complex/input/cl_N_read_stream.cc (read_complex): Likewise.
292 2004-10-25 Richard B. Kreckel <kreckel@ginac.de>
294 * src/base/cl_low.h: Add mulu64 assembler macro for ia64.
296 2004-10-24 Richard B. Kreckel <kreckel@ginac.de>
298 * src/base/cl_low.h: Add mul and div macros for x86_64.
300 2004-10-23 Richard B. Kreckel <kreckel@ginac.de>
302 * src/integer/conv/cl_I_from_digits.cc (digits_to_I): Fix thinko in
303 new code for base power of two.
305 2004-10-22 Richard B. Kreckel <kreckel@ginac.de>
307 * src/integer/conv/cl_I_to_digits (I_to_digits): Fix an elusive stack
308 overwriting problem. That was the real cause for Debian bug#246319.
309 * src/integer/output/cl_I_print.cc (print_integer): Revert workaround
310 for the bug fixed above.
312 2004-10-20 Richard B. Kreckel <kreckel@ginac.de>
314 * include/cln/types.h: Use 64 bit digits on x86_64 CPU.
316 2004-10-12 Richard B. Kreckel <kreckel@ginac.de>
318 * src/integer/conv/cl_I_from_digits.cc (digits_to_I): Speedup when
319 the base is a power of two.
321 2004-10-05 Richard B. Kreckel <kreckel@ginac.de>
323 * src/integer/conv/cl_I_to_digits.cc (I_to_digits): Fix bug in base 32.
325 2004-09-27 Richard B. Kreckel <kreckel@ginac.de>
327 Support for little-endian Mips, second shot
328 * src/base/digitseq/cl_asm_mipsel_.cc: New file...
329 * src/base/digitseq/cl_asm_cc: ...used here.
330 * src/base/digitseq/cl_asm.h: Include cl_asm_mips.h for any endianness.
331 * include/cln/object.h: Set alignment for mipsel explicitly.
333 2004-09-05 Richard B. Kreckel <kreckel@ginac.de>
335 Support for little-endian Mips
336 * include/cln/config.h.in: Add __mipsel__.
337 * include/cln/modules.h: For Mips, this is endianness-agnostic.
338 * src/base/digitseq/cl_asm_.cc, src/base/digitseq/cl_asm.h:
339 Mask out assembler for little-endian Mips.
341 2004-08-30 Bruno Haible <bruno@clisp.org>
343 * benchmarks/timebench2.sh: Multiply all repeat counts by 100.
344 * benchmarks/timebench2.results: Add recent PowerPC G4 results.
346 2004-08-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
348 * examples/e.cc: remove extra semicolon.
350 2004-08-25 Bruno Haible <bruno@clisp.org>
352 * autoconf/ltmain.sh: Upgrade to libtool-1.5.6.
353 * m4/libtool.m4: New file, from libtool-1.5.6 with modifications:
354 2004-08-22 Bruno Haible <bruno@clisp.org>
355 * m4/libtool.m4: Add support for Comeau C++ on Linux.
356 Reported by Prof. Roberto Bagnara <bagnara@cs.unipr.it>.
357 * autoconf/aclocal.m4: Regenerate.
359 2004-08-19 Bruno Haible <bruno@clisp.org>
361 * include/cln/modules.h (CL_GLOBALIZE_JUMP_LABEL, CL_JUMP_TO): When
362 converting a label to a string, use ASM_UNDERSCORE_PREFIX. Needed on
364 Reported by Darren Bane <darren.bane@ul.ie>.
366 2004-07-01 Richard B. Kreckel <kreckel@ginac.de>
368 * Version 1.1.8 released.
370 2004-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
372 * src/base/cl_macros.h: alloca(3) has size_t argument type.
374 2004-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
376 * include/cln/floatformat.h: Do define a type here.
378 2004-06-27 Richard B. Kreckel <kreckel@ginac.de>
380 * include/cln/modules.h (CL_JUMP_TO): Fix AMD64 brokenness.
382 2004-06-23 Bruno Haible <bruno@clisp.org>
384 * configure.ac: Pretend ftime() is not available. Needed by
387 2004-06-21 Ralf Stephan <ralf@ark.in-berlin.de>
389 * doc/cln.tex: Document jacobi, isprobprime and nextprobprime.
391 2004-06-18 Richard B. Kreckel <kreckel@ginac.de>
393 * rational/transcendental/cl_RA_logp.cc: fix bug where base is
394 reciprocal of an integer.
395 Reported by Niklas Knutsson <nq@altern.org>.
397 2004-06-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
399 * src/complex/ring/cl_C_ring.cc, src/integer/ring/cl_I_ring.cc,
400 src/rational/ring/cl_RA_ring.cc, src/real/ring/cl_R_ring.cc:
401 Make template specializations explicit.
403 2004-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
405 * src/complex/input/cl_N_read.cc, src/float/input/cl_F_read.cc,
406 src/integer/input/cl_I_read.cc, src/rational/input/cl_RA_read.cc,
407 src/real/input/cl_R_read.cc: Remove unused labels.
409 2004-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
411 * benchmarks/timebench1.cc, benchmarks/timebench2a.LiDIA.cc,
412 benchmarks/timebench2a.cc, benchmarks/timebench2ap.cc,
413 benchmarks/timebench2b.LiDIA.cc, benchmarks/timebench2b.cc,
414 examples/atan_recip.cc, examples/atanh_recip.cc,
415 examples/contfrac.cc, examples/e.cc, examples/legendre.cc,
416 examples/lucaslehmer.cc, examples/pi.cc, include/cln/GV.h,
417 include/cln/SV.h, include/cln/malloc.h, include/cln/modules.h,
418 include/cln/object.h, include/cln/string.h, src/base/cl_abort.cc,
419 src/base/cl_alloca.h, src/base/cl_malloc.cc,
420 src/base/random/cl_random_from.cc,
421 src/base/string/cl_spushstring_append.cc,
422 src/base/string/cl_spushstring_push.cc,
423 src/base/string/cl_st_debug.cc,
424 src/base/string/input/cl_st_gettoken.cc,
425 src/complex/input/cl_N_read.cc, src/float/input/cl_F_read.cc,
426 src/float/output/cl_F_dprint.cc, src/integer/input/cl_I_read.cc,
427 src/rational/input/cl_RA_read.cc,
428 src/real/format-output/cl_fmt_integer.cc,
429 src/real/format-output/cl_fmt_paddedstring.cc,
430 src/real/input/cl_R_read.cc, src/timing/cl_t_current.cc,
431 src/timing/cl_t_current2.cc, tests/exam.cc, tests/tests.cc,
432 tests/timeLFRAmul.cc, tests/timeLFatan-compare.cc,
433 tests/timeLFatan.cc, tests/timeLFatanh-compare.cc,
434 tests/timeLFatanh.cc, tests/timeLFcos-compare.cc, tests/timeLFcos.cc,
435 tests/timeLFcosh.cc, tests/timeLFexp-compare.cc, tests/timeLFexp.cc,
436 tests/timeLFln-compare.cc, tests/timeLFln.cc,
437 tests/timeLFsin-compare.cc, tests/timeLFsin.cc, tests/timeLFsinh.cc,
438 tests/timeLFsqrt.cc, tests/timeMImisc5.cc, tests/timeMIpow2div.cc,
439 tests/timeMIpow2recip.cc, tests/timeRALFdiv.cc, tests/timeRAtoLF.cc,
440 tests/timeUPMImul.cc, tests/timecatalan.cc, tests/timediv.cc,
441 tests/timediv2adic-compare.cc, tests/timediv2adic.cc,
442 tests/timeeuler.cc, tests/timeexp1.cc, tests/timefact.cc,
443 tests/timegcd.cc, tests/timemul-compare.cc, tests/timemul.cc,
444 tests/timepi.cc, tests/timeprint-compare.cc, tests/timeprint.cc,
445 tests/timerecip2adic-compare.cc, tests/timerecip2adic.cc,
446 tests/timesqrt.cc, tests/timesqrtmodp.cc, tests/timesquare.cc,
447 tests/timezeta3.cc: Change all C include headers to ISO style
450 2004-06-10 Richard B. Kreckel <kreckel@ginac.de>
452 * examples/perfnum.cc: update to presumed 41st Mersenne prime.
454 2004-05-02 Richard B. Kreckel <kreckel@ginac.de>
456 * Version 1.1.7 released.
458 2004-05-02 Richard B. Kreckel <kreckel@ginac.de>
460 * examples/pi.cc and examples/pi.1: New files.
461 * examples/Makefile.in: Build the pi executable.
463 2004-05-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
465 * src/Makefile.in: Fix for parallel build: wait for subdir objects to
466 be finished before creating the library.
468 2004-04-30 Richard B. Kreckel <kreckel@ginac.de>
470 * src/integer/output/cl_I_print.cc (print_integer): workaround
471 GCC compiler bug (cf. Debian bug#246319).
473 2004-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
475 * m4/gmp.m4 (CL_GMP_CHECK): Do not lose LIBS setting with config.cache
478 2004-03-08 Bruno Haible <bruno@clisp.org>
480 * src/float/lfloat/elem/cl_LF_mul.cc (operator*): Fix the second
482 * src/float/lfloat/algebraic/cl_LF_sqrt.cc (sqrt): Fix a bug with large
483 uexp whereby SQRT of MOST-POSITIVE-LONG-FLOAT was less than 1.
485 2004-03-04 Richard B. Kreckel <kreckel@ginac.de>
487 * Makefile.in (install): Add ${srcdir} for cln.m4.
488 * m4/gmp.m4: quote macro names.
489 Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
491 2004-01-01 Richard B. Kreckel <kreckel@ginac.de>
493 * Version 1.1.6 released.
495 2004-01-01 Richard B. Kreckel <kreckel@ginac.de>
497 * include/cln/univpoly.h, include/cln/univpoly_complex.h,
498 include/cln//univpoly_integer.h, include/cln/univpoly_modint.h,
499 include/cln/univpoly_rational.h, include/cln/univpoly_real.h,
500 src/polynomial/elem/cl_UP_GF2.h, src/polynomial/elem/cl_UP_MI.h,
501 src/polynomial/elem/cl_UP_gen.h, src/polynomial/elem/cl_UP_no_ring.cc,
502 src/polynomial/elem/cl_UP_number.h (ldegree): New function.
503 * doc/cln.tex: Document `ldegree'.
505 2003-12-29 Richard B. Kreckel <kreckel@ginac.de>
507 Rework of autoconfiscation infrastructure
508 * autoconf/config.{guess,sub}: Update to GNU version 2003-10-07.
509 * autoconf/ltmain.sh: Update to GNU version 1.4.3.
510 * autoconf/autoconf: Remove (from now on we assume autoconf is
511 installed properly on the sytem).
512 * autoconf/autoconf.m4: Likewise.
513 * autoconf/autoconf.m4f: Likewise.
514 * autoconf/acgeneral.m4: Likewise.
515 * autoconf/acspecific.m4: Likewise.
516 * autoconf/aclocal.m4: Regenerate.
517 * autoconf/acinclude.m4: Remove (while moving the macros...)
518 * m4/gmp.m4: New file (...to here).
519 * Makefile.devel: Update to new scheme.
520 * configure.ac: Likewise.
521 * include/cln/GV_integer.h: Assume template specializations work.
522 * include/cln/GV_modinteger.h: Likewise.
523 * include/cln/config.h.in: Likewise, and drop HAVE_BOOL.
524 * src/base/cl_base_config.h.in: Drop support for obsolete ftime(3).
525 * src/base/random/cl_random_from.cc: Likewise.
526 * src/timing/cl_base_config.h.in: Likewise.
527 * src/timing/cl_t_current.cc: Likewise.
529 2003-12-27 Richard B. Kreckel <kreckel@ginac.de>
531 * src/polynomial/cl_UP_gen.h (gen_minus): Fix case where first
533 * src/polynomial/cl_UP_MI.h (modint_minus): Likewise.
534 * src/polynomial/cl_UP_number.h (num_minus): Likewise.
535 Reported by Munagala Ramanath <amberarrow@yahoo.com>.
537 2003-12-02 Richard B. Kreckel <kreckel@ginac.de>
539 * examples/perfnum.cc: update to presumed 40th Mersenne prime.
541 2003-11-20 Christian Bauer <cbauer@ginac.de>
543 Added pkg-config support
544 * cln.pc.in: New file.
545 * Makefile.in: Take care of cln.pc.
546 * configure.ac: Likewise.
548 2003-08-06 Richard B. Kreckel <kreckel@ginac.de>
550 * src/numtheory/cl_nt_sqrtmodp.cc: #undef _R.
551 Reported by Andrew Rechnitzer <A.Rechnitzer@ms.unimelb.edu.au>.
553 2003-08-01 Richard Kreckel <kreckel@ginac.de>
555 More dependent base resolution issues
556 * src/base/hash/cl_hash.h (cl_heap_hashtable<T>::iterator()):
557 portable syntactic simplification.
558 * src/base/hash/cl_hashset.h: Preceed inherited members with this->.
559 * src/base/hash/cl_hash1.h: Likewise for member functions.
560 * src/base/hash/cl_hash2.h: Likewise.
561 * src/base/hash/cl_hashuniq.h: Likewise.
562 * src/base/hash/cl_hashuniqweak.h: Likewise.
563 * src/base/hash/cl_hash.h: Revert explicit static member function
564 lookup since that was GCC's fault.
565 * src/base/hash/cl_hash2weak.h: Likewise.
566 * src/base/hash/cl_hashuniqweak.h: Likewise.
568 2003-06-29 Richard Kreckel <kreckel@ginac.de>
570 Dependent base resolution needed for GCC-3.4
571 * include/cln/GV.h: Preceed inherited members with this->.
572 * include/cln/SV.h: Likewise.
573 * include/cln/object.h: Likewise.
574 * src/base/hash/cl_hash1.h: Likewise.
575 * src/base/hash/cl_hash1weak.h: Likewise.
576 * src/base/hash/cl_hash2.h: Likewise.
577 * src/base/hash/cl_hashuniq.h: Likewise.
578 * src/base/hash/cl_hash.h: Make lookup of static member function
580 * src/base/hash/cl_hash2weak.h: Likewise.
581 * src/base/hash/cl_hashuniqweak.h: Likewise.
582 * src/modinteger/cl_MI.cc: Make shell-comment a C-comment. Geez.
584 2003-02-24 Bruno Haible <bruno@clisp.org>
586 * src/base/random/cl_random_from.cc (random_state::random_state): Add
588 * src/modinteger/cl_MI.cc: #undef _R.
589 Reported by Erann Gat <gat@jpl.nasa.gov>.
591 2002-08-03 Joerg Arndt <jj@suse.de>
593 * include/cln/config.h.in: Add support for x86_64 CPU.
594 * include/cln/modules.h: Likewise.
595 * include/cln/types.h: Likewise.
596 * include/cln/object.h: Likewise.
598 2002-06-08 Richard Kreckel <kreckel@ginac.de>
600 * src/base/digitseq/cl_asm.h: ensure intCsize==16 when including
601 m68k Assembler routines.
602 * src/base/digitseq/cl_asm_.cc: Likewise.
604 2002-05-28 Richard Kreckel <kreckel@ginac.de>
606 * Version 1.1.5 released.
608 2002-05-27 Richard Kreckel <kreckel@ginac.de>
610 * include/cln/modules.h (CL_CONCATENATE): New macro.
612 2002-05-10 Richard Kreckel <kreckel@ginac.de>
614 * doc/cln.tex (Building the library): Update recommendations for
615 compiling on Tru64 using g++ 3.0 and 3.1.
616 * README: Update homepage.
618 2002-05-05 Bruno Haible <bruno@clisp.org>
620 * doc/cln.tex (Building the library): Give some recommendations for
623 Force link-time references despite optimizations done by g++ 2.95
625 * include/cln/modules.h (CL_FORCE_LINK): New macro.
627 * include/cln/GV_integer.h (cl_GV_I_debug_dummy): Likewise.
628 * include/cln/GV_number.h (cl_GV_number_debug_dummy): Likewise.
629 * include/cln/SV_number.h (cl_SV_number_debug_dummy): Likewise.
630 * include/cln/SV_ringelt.h (cl_SV_ringelt_debug_dummy): Likewise.
631 * include/cln/dfloat.h (cl_DF_debug_dummy): Likewise.
632 * include/cln/ffloat.h (cl_FF_classes_dummy, cl_FF_debug_dummy):
634 * include/cln/integer.h (cl_I_classes_dummy, cl_I_debug_dummy):
636 * include/cln/lfloat.h (cl_LF_debug_dummy): Likewise.
637 * include/cln/modinteger.h (cl_MI_debug_dummy): Likewise.
638 * include/cln/rational.h (cl_RA_debug_dummy): Likewise.
639 * include/cln/real.h (cl_R_debug_dummy): Likewise.
640 * include/cln/ring.h (cl_ring_debug_dummy): Likewise.
641 * include/cln/sfloat.h (cl_SF_classes_dummy, cl_SF_classes_dummy):
643 * include/cln/string.h (cl_string_debug_dummy): Likewise.
644 * include/cln/univpoly.h (cl_UP_debug_dummy): Likewise.
645 * src/float/base/cl_ieee.h (cl_ieee_dummy_NNN): Likewise.
647 Avoid g++ 3.1 warnings.
648 * src/base/cl_offsetof.h (offsetof): Redefine each time.
649 * src/base/digitseq/cl_DS.h: Include "cl_offsetof.h" after <gmp.h>.
651 Avoid g++ 3.1 warnings.
652 * src/base/hash/cl_hash.h (struct cl_heap_hashtable): Use typename
654 * src/base/hash/cl_hash1.h (struct cl_heap_hashtable_1): typedef
655 htxentry as a shortcut.
656 * src/base/hash/cl_hash2.h (struct cl_heap_hashtable_2): Likewise.
657 * src/base/hash/cl_hashset.h (struct cl_heap_hashtable_set): Likewise.
658 * src/base/hash/cl_hashuniq.h (struct cl_heap_hashtable_uniq):
661 2002-03-15 Bruno Haible <bruno@clisp.org>
663 * cln.tex: Document problem with GNU make 3.77.
664 Reported by Michael Somos <somos@grail.cba.csuohio.edu>.
666 2002-02-16 Richard Kreckel <kreckel@ginac.de>
668 * cln.m4: quote macro name.
669 Pointed out by Roberto Bagnara.
671 2002-01-20 Richard Kreckel <kreckel@ginac.de>
673 * autoconf/config.{guess,sub}: Update to GNU version 2002-01-02.
674 (the old one was broken on Linux/Mips.)
676 2002-01-04 Richard Kreckel <kreckel@ginac.de>
678 * autoconf/autoconf.m4f: get brutal in order to adhere to FHS.
679 * Version 1.1.4 released.
681 2002-01-03 Richard Kreckel <kreckel@ginac.de>
683 * autoconf/acinclude.m4: revamp MPN-matcher.
684 * autoconf/aclocal.m4: upgrade to autoconf-2.52 infrastructure,
685 sync with CLisp from CVS.
686 * autoconf/autoconf: Likewise.
687 * autoconf/autoconf.m4f: Likewise (new file).
688 * configure.ac: Likewise (new file, replaces configure.in).
689 * configure.in: Likewise (deleted, replaced by configure.ac).
690 * autoconf/config.{guess,sub}: Update to GNU version 2001-12-13.
691 * src/Makefile.in: made VPATH safe for autoconf-2.52.
692 * include/cln/config.h.in: Add __s390__.
694 2001-12-31 Richard Kreckel <kreckel@ginac.de>
696 * src/base/digitseq/cl_DS.h: <gmp.h> is not included extern "C"
697 any more since GMP4 has some C++ support in it.
699 2001-12-14 Richard Kreckel <kreckel@ginac.de>
701 * include/cln/modules.h, include/cln/object.h: add support for
703 * src/numtheory/cl_nt_sqrtmodp.cc: workaround for GCC2.x compiler-bug
704 on s390, provided by Gerhard Tonn.
706 2001-11-05 Richard Kreckel <kreckel@ginac.de>
708 * autoconf/ltmain.sh: Upgrade to libtool-1.4.2.
709 * autoconf/config.{guess,sub}: Update to GNU version 2001-09-07.
710 * Version 1.1.3 released.
712 2001-11-04 Bruno Haible <haible@clisp.cons.org>
714 Interoperability with gcc-3.0 -fuse-cxa-atexit.
715 * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add test whether
716 global destructors actually exist.
717 * include/cln/modules.h (CL_PROVIDE, CL_PROVIDE_END, CL_PROVIDE_END):
718 Don't hack the global destructors if there is no global destructors
721 2001-11-03 Richard Kreckel <kreckel@ginac.de>
723 * src/float/transcendental/cl_F_sinx.cc (sinx_naive): For small
724 values of x, return square(x) instead of x.
725 * src/float/transcendental/cl_F_sinhx.cc (sinhx_naive): Likewise.
727 2001-07-25 Richard Kreckel <kreckel@ginac.de>
729 * Version 1.1.2 released.
731 2001-07-24 Richard Kreckel <kreckel@ginac.de>
733 * src/base/hash/cl_hash.h: declare _cl_hashtable_iterator<htentry> a
734 friend of cl_heap_hashtable<htentry>.
736 2001-07-22 Richard Kreckel <kreckel@ginac.de>
738 * src/float/base/cl_ieee.cc: try to do magic to the FPU only if
739 _FPU_IEEE is really defined.
740 * include/cln/modules.h: change assembler labels from `label' to
741 `label:' on hppa, needed by Linux (see comment).
742 * autoconf/acinclude.m4: new file (for storing CLN-specific macros).
743 * Makefile.devel: adjusted.
744 * autoconf/aclocal.m4: regenerate.
745 * src/base/low/cl_low_mul.cc: moved POD variables that are declared
746 extern "C" elsewhere out of the namespace.
747 * src/base/low/cl_low_div.cc: Likewise.
749 2001-06-08 Bruno Haible <haible@clisp.cons.org>
751 * autoconf/config.{guess,sub}: Update to GNU version 2001-05-11.
752 * autoconf/aclocal.m4: Upgrade to libtool-1.4.
753 * autoconf/ltmain.sh: Likewise.
754 * autoconf/ltconfig: Remove file.
755 * autoconf/install-sh: New file.
756 * configure.in: Add AC_CONFIG_AUX_DIR call.
758 2001-06-05 Richard Kreckel <kreckel@ginac.de>
760 * tests/tests.cc: resolve namespace ambiguity about strcmp().
762 2001-05-31 Richard Kreckel <kreckel@ginac.de>
764 * Version 1.1.1 released.
766 2001-05-28 Richard Kreckel <kreckel@ginac.de>
768 * cln/cln.tex: documented problems with shared library on Sparc
769 using gcc older than 2.95.3.
770 * configure.in: Fixed typos in versioning docu.
772 2001-05-25 Bruno Haible <haible@clisp.cons.org>
774 * src/base/digitseq/cl_asm_arm_.cc: Use #0x instead of #& to designate
775 hexadecimal constants.
777 2001-05-25 Richard Kreckel <kreckel@ginac.de>
779 * autoconf/floatparam.c (double_wordorder_bigendian_p): new symbol.
780 * src/float/dfloat/cl_DF.h: Check for double_wordorder_bigendian_p.
781 * Removed LiDIA interface since that is now outdated (namespace cln)
782 and maintained elsewhere.
783 * Adjusted dates and final touches for 1.1.1.
785 2001-05-19 Richard Kreckel <kreckel@ginac.de>
787 * INSTALL: Update toolchain info: no egcs, some more platforms.
788 * doc/cln.tex: Likewise.
790 2001-05-18 Richard Kreckel <kreckel@ginac.de>
792 * src/base/cl_low.h: prepended variables declared inside macros
793 with underscore. Fixes equal_hashcode() on various platforms.
795 2001-04-25 Richard Kreckel <kreckel@ginac.de>
797 * src/base/cl_low.h: Added several checks if NO_ASM is defined, so
798 this definition becomes actually useful. This is needed for
799 compilation on Arm until somebody fixes the assembler files for Arm.
800 * src/base/digitseq/cl_asm.h: Likewise.
801 * src/base/digitseq/cl_asm_.cc: Likewise.
802 * */Makefile.in: Added `override' in front of `CPPFLAGS +=' so
803 one can say `make CPPFLAGS=-DFOOBAR'.
805 2001-03-26 Arvid Norberg <c99ang@cs.umu.se>
807 * src/base/random/cl_random_from.cc: ported to beos.
809 2001-03-05 Richard Kreckel <kreckel@ginac.de>
811 * include/cln/modules.h (CL_JUMP_TO): Fix IA64 brokenness.
813 2001-01-28 Richard Kreckel <kreckel@ginac.de>
815 * include/cln/number.h (cl_as_N): Remove bogus comment.
817 2001-01-22 Richard Kreckel <kreckel@ginac.de>
819 * configure.in: Make build in separate builddir possible (again).
821 2001-01-22 Richard Kreckel <kreckel@ginac.de>
823 * include/cln/*.h: Change signatures of all classes' methods
824 cln::cl_foo::operator new(size_t, cl_foo*) to
825 cln::cl_foo::operator new(size_t, void*) so one can declare
826 std::vector<cln::cl_foo>, std::list<cln::cl_foo> etc. for
827 certain STL implementations (like libstdc++-v3).
829 2000-12-14 Richard Kreckel <kreckel@ginac.de>
831 * Version 1.1 released.
833 2000-12-13 Richard Kreckel <kreckel@ginac.de>
835 * */*: cl_istream -> std::istream, cl_ostream -> std::ostream.
837 2000-12-05 Richard Kreckel <kreckel@ginac.de>
839 * Makefile.in, src/Makefile.in, doc/Makefile.in: Use mkdir -p.
840 * include/cln/version.h.in, src/base/verion.cc: New files.
841 * configure.in: Generate include/cln/version.h.
842 * cln.m4: Rewrote it. Check result of cln-config without compiling.
843 Do cross-check library version and header version information.
845 2000-12-02 Christian Bauer <cbauer@ginac.de>
847 * Makefile.in, src/Makefile.in, doc/Makefile.in: Added $DESTDIR.
848 * cln.m4, cln.spec.in: some minor fixes with respect to RPM package
851 2000-11-24 Richard Kreckel <kreckel@ginac.de>
853 * */*: Removed problematic stdin, stdout and stderr definitions.
854 Use std::cin, std::cout, std::cerr instead (obsoletes 2000-10-29).
856 2000-11-20 Bruno Haible
858 * cln-config.1: change title.
860 2000-11-18 Richard Kreckel <kreckel@ginac.de>
863 * doc/cln.tex: Document package tools cln-config and cln.m4.
864 * Makefile.in: Care about cln.m4.
866 2000-11-17 Richard Kreckel <kreckel@ginac.de>
868 * cln-config.1: added manpage, as required by a couple of distros.
869 * Makefile.in, doc/Makefile.in: target install depends on installdirs.
871 2000-11-16 Richard Kreckel <kreckel@ginac.de>
873 * autoconf/aclocal.m4 (CL_GMP_SET_UINTD): New macro...
874 * configure.in: ...used here.
875 * include/cln/config.h.in: Put in macros defined by CL_GMP_SET_UINTD...
876 * include/cln/types.h: ...used here.
877 * autoconf/acgeneral.m4, autoconf/aclocal.m4: Adhere to FHS.
879 2000-11-13 Richard Kreckel <kreckel@ginac.de>
881 * src/base/digitseq/cl_asm.h: Test if (intDsize==32) for MIPS and HPPA,
882 in order to guard against an accidented configuration.
883 * src/integer/conv/cl_I_to_digits.cc (table): member b_hoch_k of
884 struct power_table_entry initialized as ULL instead of as UL, if
885 intDsize==64 (caused misprinting on MIPS w/ GMP).
886 * src/base/cl_macros.h (minus_bitm, bitc): implemented ULL, if
888 * src/integer/bitwise/cl_I_mkfx.cc (mkf_extract): Likewise.
889 * src/integer/conv/cl_I_from_L.cc (cl_I_from_L): Added trival
890 generation of Bignum for intDsize==64 and a notreached-check at end.
891 * autoconf/config.guess, autoconf/config.sub: updated from FSF.
892 * include/cln/config.h.in: Prepared support for IA64.
893 * include/cln/types.h: Likewise.
894 * include/cln/object.h: Likewise.
895 * include/cln/modules.h: Likewise.
896 * src/base/cl_macros.h (nonreturning_function): Likewise (NUE's
897 compiler claims __GNUC_MINOR__==9).
899 2000-11-03 Richard Kreckel <kreckel@ginac.de>
901 * src/base/cl_macros.h (bit, minus_bit): changed criterion for ULL from
902 HAVE_DD to HAVE_FAST_LONGLONG.
903 * src/base/cl_macros.h (bitm): implemented ULL, if HAVE_FAST_LONGLONG.
904 * src/base/cl_low.h: actually no need to include "cln/types.h" here.
905 * src/base/cl_low.h (logcount_64): always ULL, independent of HAVE_DD.
906 * src/base/random/cl_UL_random.cc (random32): a is always ULL.
908 2000-11-01 Richard Kreckel <kreckel@ginac.de>
910 * include/cln/object.h (cl_combine): define additional signatures, if
911 HAVE_LONGLONG is defined, in order to keep the compiler happy.
912 * src/base/cl_macros.h: include "cln/types.h", since we need HAVE_DD...
913 * src/base/cl_macros.h (bit): ...for this macro...
914 * src/base/cl_macros.h (minus_bit): ...and this one.
915 * src/base/cl_low.h: include "cln/types.h", since we need HAVE_DD...
916 * src/base/cl_low.h (logcount_64): ...for this macro.
917 * src/base/random/cl_UL_random.cc (random32): if HAVE_DD a is an ULL.
918 * src/integer/gcd/cl_I_gcd_aux2.cc (floorDD): fixed algorithmic bug.
919 that turned up when intDsize==32 and cl_word_size==64.
920 * src/float/dfloat/elem/cl_DF_div.cc (operator/): fixed a missing cast
921 to uint64 that turned up when intDsize==32 and cl_word_size==64.
923 2000-10-29 Richard Kreckel <kreckel@ginac.de>
925 * src/real/input/cl_R_read.cc, src/complex/input/cl_N_read.cc:
926 #undef stderr, if it's defined so cln::stderr isn't confused.
927 * src/base/input/cl_read_globals.cc: stdin should not be extern.
929 2000-09-05 Richard Kreckel <kreckel@ginac.de>
931 * include/cln/number.h (As): Fix it in namespace by suffixing `_As'
932 to the appropiate method instead of prefixing `as_'.
933 * src/complex/misc/cl_N_as.cc (cl_N_As): Likewise.
934 * src/real/misc/cl_R_as.cc (cl_R_As): Likewise.
935 * src/rational/misc/cl_RA_as.cc (cl_RA_As): Likewise.
936 * src/integer/misc/cl_I_as.cc (cl_I_As): Likewise.
937 * src/float/misc/cl_F_as.cc (cl_F_As): Likewise.
938 * src/float/sfloat/misc/cl_SF_as.cc (cl_SF_As): Likewise.
939 * src/float/lfloat/misc/cl_LF_as.cc (cl_LF_As): Likewise.
940 * src/float/ffloat/misc/cl_FF_as.cc (cl_FF_As): Likewise.
941 * src/float/dfloat/misc/cl_DF_as.cc (cl_DF_As): Likewise.
943 2000-09-05 Richard Kreckel <kreckel@ginac.de>
945 * src/complex/transcendental/cl_C_expt_C.cc (expt): fix logic for
948 2000-08-30 Richard Kreckel <kreckel@ginac.de>
950 * include/cln/number.h, cl_number::_as_cl_private_thing(): removed.
951 Rearranged for a clearer distinction between macros and remaining
952 identifiers, so Cint can parse it smoothly.
954 2000-08-29 Richard Kreckel <kreckel@ginac.de>
956 * include/cln/number.h, the(const cl_number& x): New template
959 2000-08-29 Richard Kreckel <kreckel@ginac.de>
961 * */*: Pushed CLN into a namespace `cln'. While doing so, the
962 following identifiers got their poor-man's namespace (i.e. the
963 prefix `cl_') stripped off:
964 cl_catalanconst() -> catalanconst()
965 cl_compare() -> compare()
966 cl_cos_sin() -> cos_sin()
967 cl_cos_sin_t -> cos_sin_t
968 cl_cosh_sinh() -> cosh_sinh()
969 cl_cosh_sinh_t -> cosh_sinh_t
970 cl_decoded_dfloat -> decoded_dfloat
971 cl_decoded_ffloat -> decoded_ffloat
972 cl_decoded_float -> decoded_float
973 cl_decoded_lfloat -> decoded_lfloat
974 cl_decoded_sfloat -> decoded_sfloat
975 cl_default_float_format -> default_float_format
976 cl_default_print_flags -> default_print_flags
977 cl_default_random_state -> default_random_state
978 cl_double_approx() -> double_approx()
979 cl_equal() -> equal()
980 cl_equal_hashcode() -> equal_hashcode()
981 cl_eulerconst() -> eulerconst()
982 cl_find_modint_ring() -> find_modint_ring()
983 cl_find_univpoly_ring() -> find_univ_poly_ring()
984 cl_float_approx() -> float_approx
985 cl_float_format() -> float_format()
986 cl_float_format_t -> float_format_t
987 cl_free_hook() -> free_hook()
988 cl_hermite() -> hermite()
989 cl_laguerre() -> laguerre()
990 cl_legendre() -> legandre()
991 cl_malloc_hook() -> malloc_hook()
993 cl_tschebychev() -> tschebychev()
995 NB: For functions these changes includes all signatures.
996 * include/*: moved to include/cln/*, stripped `cl_' off filenames.
997 * cln-config.in: new file.
999 2000-08-26 Bruno Haible <haible@clisp.cons.org>
1001 * autoconf/acgeneral.m4 (AC_OUTPUT): Use braces in exec_prefix default
1004 2000-08-18 Bruno Haible <haible@clisp.cons.org>
1006 * include/cl_univpoly_modint.h: Fix typo.
1008 2000-07-13 Bruno Haible <haible@clisp.cons.org>
1010 * src/float/input/cl_F_read_stream.cc (number_char_p): Accept '_',
1011 used as precision marker for floats.
1012 Reported by Keith Briggs (in 1998) and Thomas Roessler.
1013 * src/integer/input/cl_I_read_stream.cc (number_char_p): Likewise.
1014 * src/rational/input/cl_RA_read_stream.cc (number_char_p): Likewise.
1015 * src/real/input/cl_R_read_stream.cc (number_char_p): Likewise.
1016 * src/complex/input/cl_N_read_stream.cc (number_char_p): Likewise.
1018 2000-06-22 Bruno Haible <haible@clisp.cons.org>
1020 * include/cl_object.h: Rename cl_word_size to cl_pointer_size.
1021 * include/cl_types.h (HAVE_FAST_LONGLONG): Also define on Irix6
1023 (cl_word_size): New macro.
1024 * src/float/sfloat/cl_SF.h: Use cl_pointer_size instead of
1027 2000-05-31 Bruno Haible <haible@clisp.cons.org>
1029 * tests/exam_I_floor.cc (integer_floor_tests): Add one more entry.
1030 From a sample that fails with gcc-2.95.2 on Sparc.
1031 * tests/exam_I_gcd.cc (integer_gcd_tests): Likewise.
1033 2000-05-30 Richard Kreckel <kreckel@ginac.de>
1035 * configure.in, autoconf/aclocal.m4 (CL_GMP_H_VERSION, CL_GMP_CHECK):
1037 * configure.in, include/cl_config.h.in (CL_VERSION, CL_VERSION_MINOR,
1038 CL_VERSION_PATCHLEVEL): New definitions.
1039 * autoconf/config.guess, autoconf/config.sub, autoconf/ltconfig,
1040 autoconf/ltmain.sh: updated from FSF (libtool 1.3.5, etc).
1041 * src/Makefile.in, configure.in: release-variables renamed from
1043 * configure.in: default to build both shared and static library
1044 (i.e. default to the most common behaviour).
1046 2000-05-29 Richard Kreckel <kreckel@ginac.de>
1048 * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Added missing changequote
1049 environment around the patch of 2000-05-23.
1051 2000-05-29 Bruno Haible <haible@clisp.cons.org>
1053 * autoconf/aclocal.m4 (CL_PROG_INSTALL): Fix typo.
1054 Reported by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>.
1056 2000-05-27 Richard Kreckel <kreckel@ginac.de>
1058 * src/float/lfloat/algebraic/cl_LF_sqrt.cc,
1059 src/base/digitseq/cl_DS_sqrt.cc: Readjusted break-even points.
1061 2000-05-24 Richard Kreckel <kreckel@ginac.de>
1063 * autoconf/config.*: Updated to new version from FSF
1064 (the new libtool wants this).
1065 * src/Makefile.in: added $(LDFLAGS) to link step.
1066 * src/base/digitseq/cl_2DS_div.cc, cl_2DS_recip.cc: Readjusted
1069 2000-05-23 Bruno Haible <haible@clisp.cons.org>
1071 * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Determine host_cpu,
1072 host_vendor, host_os correctly if $host has more than two hyphens.
1074 2000-05-19 Richard Kreckel <kreckel@ginac.de>
1076 * src/base/digitseq/cl_DS_mul.cc: Rearranged break-even points to
1077 better match present-day CPUs whenever GMP3 is used.
1078 * src/base/digitseq/cl_DS_div.cc: dto.
1079 * src/TUNING: Added comment about order of tuning.
1080 * configure, configure.in: Safer GMP3-detection.
1081 * INSTALL.generic: Clarified behaviour of --with-gmp.
1082 * autoconf/config.guess: updated from Clisp-2000-03-06 sources.
1084 2000-05-04 Richard Kreckel <kreckel@ginac.de>
1086 * gmp/: removed completely. From now on we are going to link
1087 externally against libgmp3.0 or above!
1088 * configure, configure.in, Makefile.in, */Makeflags: removed support
1089 of internal gmp 2.0.2, like $GMP_INCLUDES, which should be done by
1090 setting $CPPFLAGS instead.
1091 * Makefile.in: Added libtool inter-library dependency for -lgmp and
1092 conforming interface versioning (-version-info).
1093 * autoconf/ltconfig, autoconf/ltmain.sh: Updated to newer versions
1096 2000-02-22 Bruno Haible <haible@clisp.cons.org>
1098 * src/base/digitseq/cl_asm_mips_.cc: Starting at argument 5 the
1099 parameter passing was changed for the MIPS n32 ABI.
1101 2000-01-24 Richard Kreckel <kreckel@ginac.de>
1103 * gmp/*: Replaced the complete mpn sources with the ones from
1104 Debian since they are maintained while the ones from FSF
1105 aren't and there were problems on some architectures, PowerPC
1106 in particular. See the file gmp/README.CLN. This way the
1107 hard links in this directory have vanished, they were causing
1108 trouble for people working in AFS. This became necessary for
1109 Debian, because there it woudn't compile on PPC.
1111 2000-01-13 Richard Kreckel <kreckel@ginac.de>
1113 * Version 1.0.3 released.
1115 2000-01-13 Richard Kreckel <kreckel@ginac.de>
1117 * src/base/cl_macros.h (nonreturning_function): For egcs and newer
1118 use __attribute__ ((__noreturn__)) instead of the __volatile__
1120 (nonreturning): Remove macro.
1121 * include/*: Minor fixes to stop -ansi -pedantic from complaining.
1122 * include/cl_integer.h: (doublefactorial): New declaration.
1123 * src/integer/misc/combin/cl_I_doublefactorial.cc: New file.
1125 1999-12-18 Bruno Haible <haible@clisp.cons.org>
1127 * autoconf/acgeneral.m4 (AC_ARG_PROGRAM): Create conftestsed using
1129 * autoconf/ltconfig: Improve support for recent FreeBSD 3.
1130 * include/cl_GV.h (cl_GV_vectorops): Change return type from 'T' to
1131 'const T', to match definition in src/vector/cl_GV_number.cc.
1132 Reported by Duncan Simpson <dps@io.stargate.co.uk>.
1133 * gmp/mpn/Makefile.in (.S.lo): Use 'if', not '&&', because '&&' may
1134 yield return code 1.
1136 1999-09-07 Bruno Haible <haible@clisp.cons.org>
1138 * Version 1.0.2 released.
1140 1999-09-06 Bruno Haible <haible@clisp.cons.org>
1142 * src/rational/cl_RA.h (integerp, ratiop): Instead of returning a
1143 boolean expression, write alternatives ending with either
1144 "return cl_true;" or "return cl_false;". This way, g++ does a
1145 better job inlining it.
1146 * src/float/cl_F.h (longfloatp): Likewise.
1147 * src/real/cl_R.h (rationalp, integerp, floatp): Likewise.
1148 * src/complex/cl_C.h (realp, complexp): Likewise.
1150 1999-09-05 Bruno Haible <haible@clisp.cons.org>
1152 * include/cl_integer.h (cl_equal_hashcode): New declaration.
1153 * include/cl_rational.h (cl_equal_hashcode): New declaration.
1154 * include/cl_sfloat.h (cl_equal_hashcode): New declaration.
1155 * include/cl_ffloat.h (cl_equal_hashcode): New declaration.
1156 * include/cl_dfloat.h (cl_equal_hashcode): New declaration.
1157 * include/cl_lfloat.h (cl_equal_hashcode): New declaration.
1158 * include/cl_float.h (cl_equal_hashcode): New declaration.
1159 * include/cl_real.h (cl_equal_hashcode): New declaration.
1160 * include/cl_complex.h (cl_equal_hashcode): New declaration.
1161 * src/base/cl_N.h (equal_hashcode_low, equal_hashcode_one): New macros.
1162 * src/integer/misc/cl_I_eqhashcode.cc: New file.
1163 * src/rational/misc/cl_RA_eqhashcode.cc: New file.
1164 * src/float/sfloat/misc/cl_SF_eqhashcode.cc: New file.
1165 * src/float/ffloat/misc/cl_FF_eqhashcode.cc: New file.
1166 * src/float/dfloat/misc/cl_DF_eqhashcode.cc: New file.
1167 * src/float/lfloat/misc/cl_LF_eqhashcode.cc: New file.
1168 * src/float/misc/cl_F_eqhashcode.cc: New file.
1169 * src/real/misc/cl_R_eqhashcode.cc: New file.
1170 * src/complex/misc/cl_C_eqhashcode.cc: New file.
1171 * doc/cln.tex: Document `cl_equal_hashcode'.
1173 1999-09-05 Bruno Haible <haible@clisp.cons.org>
1175 * include/cl_ring.h (cl_number_ring_ops): Add `contains' member.
1176 (cl_number_ring): New class.
1177 (cl_specialized_number_ring<T>): Inherit from cl_number_ring.
1178 (instanceof): New function.
1179 * src/integer/ring/cl_I_ring.cc (cl_I_p): New function.
1180 * src/integer/misc/cl_I_as.cc (cl_I_p): Add comment.
1181 * src/rational/ring/cl_RA_ring.cc (cl_RA_p): New function.
1182 * src/rational/misc/cl_RA_as.cc (cl_RA_p): Add comment.
1183 * src/real/ring/cl_R_ring.cc (cl_R_p): New function.
1184 * src/real/misc/cl_R_as.cc (cl_R_p): Add comment.
1185 * src/complex/ring/cl_C_ring.cc (cl_N_p): New function.
1186 * src/complex/misc/cl_N_as.cc (cl_N_p): Add comment.
1187 * doc/cln.tex: Document `instanceof'.
1189 1999-09-05 Bruno Haible <haible@clisp.cons.org>
1191 * include/cl_rational.h (numerator, denominator): New declarations.
1192 * src/rational/elem/cl_RA_numerator.cc: New file.
1193 * src/rational/elem/cl_RA_denominator.cc: New file.
1194 * include/cl_integer.h (numerator, denominator): New inline functions.
1195 * doc/cln.tex: Document `numerator' and `denominator'.
1197 1999-09-05 Bruno Haible <haible@clisp.cons.org>
1199 * src/rational/algebraic/cl_RA_rootp.cc (rootp): Fix endless loop
1200 in the integer case.
1201 * src/rational/algebraic/cl_RA_rootp_I.cc (rootp): Likewise.
1203 1999-09-05 Bruno Haible <haible@clisp.cons.org>
1205 * include/cl_config.h.in: Support for sparc64 CPU.
1206 * include/cl_modules.h: Likewise.
1207 * include/cl_types.h: Likewise.
1208 * include/cl_object.h: Likewise.
1209 * include/cl_GV.h: Likewise.
1210 * src/Makefile.in: Likewise.
1211 * src/base/cl_alloca.h: Likewise.
1212 * src/base/cl_macros.h: Likewise.
1213 * src/base/cl_sysdep.h: Likewise.
1214 * src/base/cl_low.h: Likewise.
1215 * src/base/digitseq/cl_asm.h: Likewise.
1216 * src/base/digitseq/cl_asm_.cc: Likewise.
1217 * src/base/digitseq/cl_asm_sparc64.h: New file.
1218 * src/base/digitseq/cl_asm_sparc64_.cc: New file.
1219 * src/modinteger/cl_MI_int.h: Support for sparc64 CPU.
1220 * src/polynomial/elem/cl_UP_no_ring.cc: Likewise.
1221 * src/polynomial/elem/cl_UP_GF2.h: Likewise.
1222 * src/polynomial/elem/cl_asm_GF2.cc: Likewise.
1224 1999-09-04 Bruno Haible <haible@clisp.cons.org>
1226 * src/base/digitseq/cl_asm_sparc_.cc (orc2_loop_up, orc2_loop_down):
1227 Use the `orn' instruction.
1229 1999-08-14 Bruno Haible <haible@clisp.cons.org>
1231 Assume all platforms have <stdlib.h> and clock_t.
1232 * configure.in: Don't call CL_STDLIB_H and CL_CLOCK_T.
1233 * src/base/cl_base_config.h.in (CLOCK_T): Remove definition.
1234 * src/base/random/cl_random_from.cc: Use clock_t instead of CLOCK_T.
1235 * src/timing/cl_t_config.h.in (CLOCK_T): Remove definition.
1236 * src/timing/cl_t_current2.cc: Use clock_t instead of CLOCK_T.
1238 1999-07-18 Bruno Haible <haible@clisp.cons.org>
1240 * gmp/config.guess: Link to autoconf/config.guess.
1241 gmp/config.sub: Link to autoconf/config.sub.
1242 Needed for Win32 platforms.
1244 1999-07-17 Bruno Haible <haible@clisp.cons.org>
1246 * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Distinguish "sparc" and
1247 "sparc64" according to the C compiler, not the uname result.
1249 1999-06-17 Bruno Haible <haible@clisp.cons.org>
1251 * src/base/digitseq/cl_asm_sparc_.cc (compare_loop_up): Fix
1252 COUNTER_LOOPS version, fortunately not used yet.
1254 * include/cl_modules.h: Prepare for gcc version 3.
1256 1999-06-12 Bruno Haible <haible@clisp.cons.org>
1258 * src/rational/elem/cl_RA_plus.cc, src/rational/elem/cl_RA_minus.cc:
1259 Change the last call from I_I_to_RT to I_I_to_RA.
1261 1999-06-09 Bruno Haible <haible@clisp.cons.org>
1263 * Version 1.0.1 released.
1265 1999-06-09 Bruno Haible <haible@clisp.cons.org>
1267 * src/integer/cl_I.h (pFN_maxlength_digits_at): Define also when
1270 1999-06-08 Bruno Haible <haible@clisp.cons.org>
1272 * autoconf/intparam.c (printf_underscored): Change argument type to
1274 * include/cl_modules.h (CL_OUTPUT_LABEL, CL_JUMP_TO): New macros.
1275 (CL_PROVIDE, CL_PROVIDE_END): Use them.
1276 * include/cl_string.h (cl_heap_string::operator new): Return 1, not 0.
1277 * include/cl_GV.h (cl_GV_inner<T>::operator new): Likewise.
1278 * src/base/ring/cl_no_ring.cc (dummy_canonhom, dummy_expt_pos): Don't
1279 cast a cl_I to void here. Works around a bug in g++-2.95.
1280 * src/complex/misc/cl_C_class.cc: Include "cl_C.h".
1281 * src/polynomial/elem/cl_UP_no_ring.cc (dummy_canonhom,
1282 dummy_expt_pos): Don't cast a cl_I to void here. Works around a bug
1284 * src/polynomial/elem/cl_asm_sparc_GF2.cc (DECLARE_FUNCTION): New
1286 * src/rational/misc/cl_RA_class.cc: Include "cl_RA.h".
1287 * src/vector/cl_GV_I.cc (cl_heap_GV_I_general::operator new,
1288 DEFINE_cl_heap_GV_I_bits): Return 1, not 0.
1289 * src/vector/cl_GV_number.cc (cl_heap_GV_number_general::operator new):
1292 1999-06-01 Bruno Haible <haible@clisp.cons.org>
1294 * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Canonicalize alpha
1297 1999-05-29 Bruno Haible <haible@clisp.cons.org>
1299 * src/base/digitseq/cl_asm_i386_.cc (DECLARE_FUNCTION): Treat
1300 OpenBSD like NetBSD.
1301 * src/base/digitseq/cl_asm_sparc_.cc (DECLARE_FUNCTION): Likewise.
1302 * src/base/digitseq/cl_asm_m68k_.cc (DECLARE_FUNCTION): Treat
1303 OpenBSD like NetBSD, and Linux/ELF like SVR4.
1305 1999-05-16 Bruno Haible <haible@clisp.cons.org>
1307 * src/base/cl_low.h (integerlength32) [__rs6000__]: Use old assembler
1308 syntax on AIX systems and new assembler syntax on non-AIX systems.
1310 1999-05-01 Bruno Haible <haible@clisp.cons.org>
1312 * autoconf/config.guess, autoconf/config.sub: Upgrade to newest
1313 version from GNU CVS.
1315 1999-04-24 Bruno Haible <haible@clisp.cons.org>
1317 * src/integer/bitwise/cl_I_logand.cc (logand): Optimize the case when
1318 either operand is a positive fixnum, O(1) instead of O(N).
1319 * src/integer/bitwise/cl_I_lognand.cc (lognand): Likewise.
1320 * src/integer/bitwise/cl_I_logandc2.cc (logandc2): Likewise for the
1323 1999-04-14 Bruno Haible <haible@clisp.cons.org>
1325 * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add check whether
1326 ctor/dtor needs to be exported.
1327 * include/cl_config.h.in (CL_NEED_GLOBALIZE_CTORDTOR): New macro.
1328 * include/cl_modules.h (CL_GLOBALIZE_JUMP_LABEL): Renamed from
1330 (CL_GLOBALIZE_LABEL): New macro.
1331 (CL_GLOBALIZE_CTORDTOR_LABEL): Renamed from CL_GLOBALIZE_ASM_LABEL.
1332 (CL_PROVIDE): Update.
1334 1999-04-12 Bruno Haible <haible@clisp.cons.org>
1336 * src/Makefile.in ($(ASMFILES_S)): On HPPA, ignore preprocessing
1337 errors ("unterminated string or character constant").
1338 ($(ASMFILES_LO)): On HPPA, try with various settings of
1339 COMPILER_PATH, in order to try /usr/ccs/bin/as and /bin/as.
1341 1999-04-11 Bruno Haible <haible@clisp.cons.org>
1343 * INSTALL: Mention gmp problems on MIPS.
1344 * doc/cln.tex: Likewise.
1346 1999-03-24 Mumit Khan <khan@xraylith.wisc.edu>
1348 * src/Makefile.in (SUBDIRS): Filter out CVS and RCS directories from
1350 * include/cl_modules.h (CL_GLOBALIZE_LABEL): Define for Win32.
1351 (CL_GLOBALIZE_ASM_LABEL): New macro.
1352 (CL_PROVIDE): Use it.
1353 * src/base/random/cl_random_from.cc: Handle WIN32.
1354 * src/timing/cl_t_current.cc: Likewise.
1356 1999-03-15 Bruno Haible <haible@clisp.cons.org>
1358 * autoconf/intparam.c (main7): Use %lX instead of %X for a `long'.
1359 (main8): Adapt for C++.
1361 1999-03-09 Bruno Haible <haible@clisp.cons.org>
1363 * INSTALL: Mention egcs-1.1 problems on Sparc.
1364 * doc/cln.tex: Likewise.
1366 1999-03-08 Bruno Haible <haible@clisp.cons.org>
1368 * autoconf/aclocal.m4 (CL_FPU_CONTROL): Fix the "checking for"
1371 1999-02-25 Bruno Haible <haible@clisp.cons.org>
1373 * autoconf/aclocal.m4: In test programs, declare `int main()', not
1376 * lidia-interface/src/interfaces/integers/cln/bigint.c
1377 (bigint_to_string): Fix for negative arguments.
1379 * src/base/cl_low.h: Check for `__sparc__', not `SPARC'.
1380 * src/base/cl_alloca.h: Likewise.
1382 * src/base/cl_low.h: Eliminate CLISP style "# " comments.
1383 * src/base/digitseq/cl_asm_arm_.cc,
1384 src/base/digitseq/cl_asm_mips_.cc,
1385 src/float/dfloat/elem/cl_DF_mul.cc: Likewise.
1387 * src/modinteger/cl_MI_pow2.h,
1388 src/modinteger/cl_MI_pow2m1.h,
1389 src/modinteger/cl_MI_pow2p1.h: Workaround g++-2.7.2 inlining bug.
1391 1999-01-18 Bruno Haible <haible@clisp.cons.org>
1393 * autoconf/acgeneral.m4,
1394 autoconf/acspecific.m4: Upgrade to autoconf-2.13.
1395 * autoconf/config.guess, autoconf/config.sub: Likewise.
1396 * autoconf/aclocal.m4 (CL_ALLOCA): Test for _MSC_VER and alloca being
1397 a macro. Use ${ac_objext}.
1398 * src/base/cl_macros.h (alloca): Put _MSC_VER test before the others,
1399 conforming with CL_ALLOCA.
1401 1999-01-12 Bruno Haible <haible@clisp.cons.org>
1403 * Version 1.0 released.