1 2004-06-23 Bruno Haible <bruno@clisp.org>
3 * configure.ac: Pretend ftime() is not available. Needed by
6 2004-06-18 Richard B. Kreckel <kreckel@ginac.de>
8 * rational/transcendental/cl_RA_logp.cc: fix bug where base is
9 reciprocal of an integer.
11 2004-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13 * benchmarks/timebench1.cc, benchmarks/timebench2a.LiDIA.cc,
14 benchmarks/timebench2a.cc, benchmarks/timebench2ap.cc,
15 benchmarks/timebench2b.LiDIA.cc, benchmarks/timebench2b.cc,
16 examples/atan_recip.cc, examples/atanh_recip.cc,
17 examples/contfrac.cc, examples/e.cc, examples/legendre.cc,
18 examples/lucaslehmer.cc, examples/pi.cc, include/cln/GV.h,
19 include/cln/SV.h, include/cln/malloc.h, include/cln/modules.h,
20 include/cln/object.h, include/cln/string.h, src/base/cl_abort.cc,
21 src/base/cl_alloca.h, src/base/cl_malloc.cc,
22 src/base/random/cl_random_from.cc,
23 src/base/string/cl_spushstring_append.cc,
24 src/base/string/cl_spushstring_push.cc,
25 src/base/string/cl_st_debug.cc,
26 src/base/string/input/cl_st_gettoken.cc,
27 src/complex/input/cl_N_read.cc, src/float/input/cl_F_read.cc,
28 src/float/output/cl_F_dprint.cc, src/integer/input/cl_I_read.cc,
29 src/rational/input/cl_RA_read.cc,
30 src/real/format-output/cl_fmt_integer.cc,
31 src/real/format-output/cl_fmt_paddedstring.cc,
32 src/real/input/cl_R_read.cc, src/timing/cl_t_current.cc,
33 src/timing/cl_t_current2.cc, tests/exam.cc, tests/tests.cc,
34 tests/timeLFRAmul.cc, tests/timeLFatan-compare.cc,
35 tests/timeLFatan.cc, tests/timeLFatanh-compare.cc,
36 tests/timeLFatanh.cc, tests/timeLFcos-compare.cc, tests/timeLFcos.cc,
37 tests/timeLFcosh.cc, tests/timeLFexp-compare.cc, tests/timeLFexp.cc,
38 tests/timeLFln-compare.cc, tests/timeLFln.cc,
39 tests/timeLFsin-compare.cc, tests/timeLFsin.cc, tests/timeLFsinh.cc,
40 tests/timeLFsqrt.cc, tests/timeMImisc5.cc, tests/timeMIpow2div.cc,
41 tests/timeMIpow2recip.cc, tests/timeRALFdiv.cc, tests/timeRAtoLF.cc,
42 tests/timeUPMImul.cc, tests/timecatalan.cc, tests/timediv.cc,
43 tests/timediv2adic-compare.cc, tests/timediv2adic.cc,
44 tests/timeeuler.cc, tests/timeexp1.cc, tests/timefact.cc,
45 tests/timegcd.cc, tests/timemul-compare.cc, tests/timemul.cc,
46 tests/timepi.cc, tests/timeprint-compare.cc, tests/timeprint.cc,
47 tests/timerecip2adic-compare.cc, tests/timerecip2adic.cc,
48 tests/timesqrt.cc, tests/timesqrtmodp.cc, tests/timesquare.cc,
49 tests/timezeta3.cc: Change all C include headers to ISO style
52 2004-06-10 Richard B. Kreckel <kreckel@ginac.de>
54 * examples/perfnum.cc: update to presumed 41st Mersenne prime.
56 2004-05-02 Richard B. Kreckel <kreckel@ginac.de>
58 * Version 1.1.7 released.
60 2004-05-02 Richard B. Kreckel <kreckel@ginac.de>
62 * examples/pi.cc and examples/pi.1: New files.
63 * examples/Makefile.in: Build the pi executable.
65 2004-05-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
67 * src/Makefile.in: Fix for parallel build: wait for subdir objects to
68 be finished before creating the library.
70 2004-04-30 Richard B. Kreckel <kreckel@ginac.de>
72 * src/integer/output/cl_I_print.cc (print_integer): workaround
73 GCC compiler bug (cf. Debian bug#246319).
75 2004-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
77 * m4/gmp.m4 (CL_GMP_CHECK): Do not lose LIBS setting with config.cache
80 2004-03-08 Bruno Haible <bruno@clisp.org>
82 * src/float/lfloat/elem/cl_LF_mul.cc (operator*): Fix the second
84 * src/float/lfloat/algebraic/cl_LF_sqrt.cc (sqrt): Fix a bug with large
85 uexp whereby SQRT of MOST-POSITIVE-LONG-FLOAT was less than 1.
87 2004-03-04 Richard B. Kreckel <kreckel@ginac.de>
89 * Makefile.in (install): Add ${srcdir} for cln.m4.
90 * m4/gmp.m4: quote macro names.
91 Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
93 2004-01-01 Richard B. Kreckel <kreckel@ginac.de>
95 * Version 1.1.6 released.
97 2004-01-01 Richard B. Kreckel <kreckel@ginac.de>
99 * include/cln/univpoly.h, include/cln/univpoly_complex.h,
100 include/cln//univpoly_integer.h, include/cln/univpoly_modint.h,
101 include/cln/univpoly_rational.h, include/cln/univpoly_real.h,
102 src/polynomial/elem/cl_UP_GF2.h, src/polynomial/elem/cl_UP_MI.h,
103 src/polynomial/elem/cl_UP_gen.h, src/polynomial/elem/cl_UP_no_ring.cc,
104 src/polynomial/elem/cl_UP_number.h (ldegree): New function.
105 * doc/cln.tex: Document `ldegree'.
107 2003-12-29 Richard B. Kreckel <kreckel@ginac.de>
109 Rework of autoconfiscation infrastructure
110 * autoconf/config.{guess,sub}: Update to GNU version 2003-10-07.
111 * autoconf/ltmain.sh: Update to GNU version 1.4.3.
112 * autoconf/autoconf: Remove (from now on we assume autoconf is
113 installed properly on the sytem).
114 * autoconf/autoconf.m4: Likewise.
115 * autoconf/autoconf.m4f: Likewise.
116 * autoconf/acgeneral.m4: Likewise.
117 * autoconf/acspecific.m4: Likewise.
118 * autoconf/aclocal.m4: Regenerate.
119 * autoconf/acinclude.m4: Remove (while moving the macros...)
120 * m4/gmp.m4: New file (...to here).
121 * Makefile.devel: Update to new scheme.
122 * configure.ac: Likewise.
123 * include/cln/GV_integer.h: Assume template specializations work.
124 * include/cln/GV_modinteger.h: Likewise.
125 * include/cln/config.h.in: Likewise, and drop HAVE_BOOL.
126 * src/base/cl_base_config.h.in: Drop support for obsolete ftime(3).
127 * src/base/random/cl_random_from.cc: Likewise.
128 * src/timing/cl_base_config.h.in: Likewise.
129 * src/timing/cl_t_current.cc: Likewise.
131 2003-12-27 Richard B. Kreckel <kreckel@ginac.de>
133 * src/polynomial/cl_UP_gen.h (gen_minus): Fix case where first
135 * src/polynomial/cl_UP_MI.h (modint_minus): Likewise.
136 * src/polynomial/cl_UP_number.h (num_minus): Likewise.
137 Reported by Munagala Ramanath <amberarrow@yahoo.com>.
139 2003-12-02 Richard B. Kreckel <kreckel@ginac.de>
141 * examples/perfnum.cc: update to presumed 40th Mersenne prime.
143 2003-11-20 Christian Bauer <cbauer@ginac.de>
145 Added pkg-config support
146 * cln.pc.in: New file.
147 * Makefile.in: Take care of cln.pc.
148 * configure.ac: Likewise.
150 2003-08-06 Richard B. Kreckel <kreckel@ginac.de>
152 * src/numtheory/cl_nt_sqrtmodp.cc: #undef _R.
153 Reported by Andrew Rechnitzer <A.Rechnitzer@ms.unimelb.edu.au>.
155 2003-08-01 Richard Kreckel <kreckel@ginac.de>
157 More dependent base resolution issues
158 * src/base/hash/cl_hash.h (cl_heap_hashtable<T>::iterator()):
159 portable syntactic simplification.
160 * src/base/hash/cl_hashset.h: Preceed inherited members with this->.
161 * src/base/hash/cl_hash1.h: Likewise for member functions.
162 * src/base/hash/cl_hash2.h: Likewise.
163 * src/base/hash/cl_hashuniq.h: Likewise.
164 * src/base/hash/cl_hashuniqweak.h: Likewise.
165 * src/base/hash/cl_hash.h: Revert explicit static member function
166 lookup since that was GCC's fault.
167 * src/base/hash/cl_hash2weak.h: Likewise.
168 * src/base/hash/cl_hashuniqweak.h: Likewise.
170 2003-06-29 Richard Kreckel <kreckel@ginac.de>
172 Dependent base resolution needed for GCC-3.4
173 * include/cln/GV.h: Preceed inherited members with this->.
174 * include/cln/SV.h: Likewise.
175 * include/cln/object.h: Likewise.
176 * src/base/hash/cl_hash1.h: Likewise.
177 * src/base/hash/cl_hash1weak.h: Likewise.
178 * src/base/hash/cl_hash2.h: Likewise.
179 * src/base/hash/cl_hashuniq.h: Likewise.
180 * src/base/hash/cl_hash.h: Make lookup of static member function
182 * src/base/hash/cl_hash2weak.h: Likewise.
183 * src/base/hash/cl_hashuniqweak.h: Likewise.
184 * src/modinteger/cl_MI.cc: Make shell-comment a C-comment. Geez.
186 2003-02-24 Bruno Haible <bruno@clisp.org>
188 * src/base/random/cl_random_from.cc (random_state::random_state): Add
190 * src/modinteger/cl_MI.cc: #undef _R.
191 Reported by Erann Gat <gat@jpl.nasa.gov>.
193 2002-08-03 Joerg Arndt <jj@suse.de>
195 * include/cln/config.h.in: Add support for x86_64 CPU.
196 * include/cln/modules.h: Likewise.
197 * include/cln/types.h: Likewise.
198 * include/cln/object.h: Likewise.
200 2002-06-08 Richard Kreckel <kreckel@ginac.de>
202 * src/base/digitseq/cl_asm.h: ensure intCsize==16 when including
203 m68k Assembler routines.
204 * src/base/digitseq/cl_asm_.cc: Likewise.
206 2002-05-28 Richard Kreckel <kreckel@ginac.de>
208 * Version 1.1.5 released.
210 2002-05-27 Richard Kreckel <kreckel@ginac.de>
212 * include/cln/modules.h (CL_CONCATENATE): New macro.
214 2002-05-10 Richard Kreckel <kreckel@ginac.de>
216 * doc/cln.tex (Building the library): Update recommendations for
217 compiling on Tru64 using g++ 3.0 and 3.1.
218 * README: Update homepage.
220 2002-05-05 Bruno Haible <bruno@clisp.org>
222 * doc/cln.tex (Building the library): Give some recommendations for
225 Force link-time references despite optimizations done by g++ 2.95
227 * include/cln/modules.h (CL_FORCE_LINK): New macro.
229 * include/cln/GV_integer.h (cl_GV_I_debug_dummy): Likewise.
230 * include/cln/GV_number.h (cl_GV_number_debug_dummy): Likewise.
231 * include/cln/SV_number.h (cl_SV_number_debug_dummy): Likewise.
232 * include/cln/SV_ringelt.h (cl_SV_ringelt_debug_dummy): Likewise.
233 * include/cln/dfloat.h (cl_DF_debug_dummy): Likewise.
234 * include/cln/ffloat.h (cl_FF_classes_dummy, cl_FF_debug_dummy):
236 * include/cln/integer.h (cl_I_classes_dummy, cl_I_debug_dummy):
238 * include/cln/lfloat.h (cl_LF_debug_dummy): Likewise.
239 * include/cln/modinteger.h (cl_MI_debug_dummy): Likewise.
240 * include/cln/rational.h (cl_RA_debug_dummy): Likewise.
241 * include/cln/real.h (cl_R_debug_dummy): Likewise.
242 * include/cln/ring.h (cl_ring_debug_dummy): Likewise.
243 * include/cln/sfloat.h (cl_SF_classes_dummy, cl_SF_classes_dummy):
245 * include/cln/string.h (cl_string_debug_dummy): Likewise.
246 * include/cln/univpoly.h (cl_UP_debug_dummy): Likewise.
247 * src/float/base/cl_ieee.h (cl_ieee_dummy_NNN): Likewise.
249 Avoid g++ 3.1 warnings.
250 * src/base/cl_offsetof.h (offsetof): Redefine each time.
251 * src/base/digitseq/cl_DS.h: Include "cl_offsetof.h" after <gmp.h>.
253 Avoid g++ 3.1 warnings.
254 * src/base/hash/cl_hash.h (struct cl_heap_hashtable): Use typename
256 * src/base/hash/cl_hash1.h (struct cl_heap_hashtable_1): typedef
257 htxentry as a shortcut.
258 * src/base/hash/cl_hash2.h (struct cl_heap_hashtable_2): Likewise.
259 * src/base/hash/cl_hashset.h (struct cl_heap_hashtable_set): Likewise.
260 * src/base/hash/cl_hashuniq.h (struct cl_heap_hashtable_uniq):
263 2002-03-15 Bruno Haible <bruno@clisp.org>
265 * cln.tex: Document problem with GNU make 3.77.
266 Reported by Michael Somos <somos@grail.cba.csuohio.edu>.
268 2002-02-16 Richard Kreckel <kreckel@ginac.de>
270 * cln.m4: quote macro name.
271 Pointed out by Roberto Bagnara.
273 2002-01-20 Richard Kreckel <kreckel@ginac.de>
275 * autoconf/config.{guess,sub}: Update to GNU version 2002-01-02.
276 (the old one was broken on Linux/Mips.)
278 2002-01-04 Richard Kreckel <kreckel@ginac.de>
280 * autoconf/autoconf.m4f: get brutal in order to adhere to FHS.
281 * Version 1.1.4 released.
283 2002-01-03 Richard Kreckel <kreckel@ginac.de>
285 * autoconf/acinclude.m4: revamp MPN-matcher.
286 * autoconf/aclocal.m4: upgrade to autoconf-2.52 infrastructure,
287 sync with CLisp from CVS.
288 * autoconf/autoconf: Likewise.
289 * autoconf/autoconf.m4f: Likewise (new file).
290 * configure.ac: Likewise (new file, replaces configure.in).
291 * configure.in: Likewise (deleted, replaced by configure.ac).
292 * autoconf/config.{guess,sub}: Update to GNU version 2001-12-13.
293 * src/Makefile.in: made VPATH safe for autoconf-2.52.
294 * include/cln/config.h.in: Add __s390__.
296 2001-12-31 Richard Kreckel <kreckel@ginac.de>
298 * src/base/digitseq/cl_DS.h: <gmp.h> is not included extern "C"
299 any more since GMP4 has some C++ support in it.
301 2001-12-14 Richard Kreckel <kreckel@ginac.de>
303 * include/cln/modules.h, include/cln/object.h: add support for
305 * src/numtheory/cl_nt_sqrtmodp.cc: workaround for GCC2.x compiler-bug
306 on s390, provided by Gerhard Tonn.
308 2001-11-05 Richard Kreckel <kreckel@ginac.de>
310 * autoconf/ltmain.sh: Upgrade to libtool-1.4.2.
311 * autoconf/config.{guess,sub}: Update to GNU version 2001-09-07.
312 * Version 1.1.3 released.
314 2001-11-04 Bruno Haible <haible@clisp.cons.org>
316 Interoperability with gcc-3.0 -fuse-cxa-atexit.
317 * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add test whether
318 global destructors actually exist.
319 * include/cln/modules.h (CL_PROVIDE, CL_PROVIDE_END, CL_PROVIDE_END):
320 Don't hack the global destructors if there is no global destructors
323 2001-11-03 Richard Kreckel <kreckel@ginac.de>
325 * src/float/transcendental/cl_F_sinx.cc (sinx_naive): For small
326 values of x, return square(x) instead of x.
327 * src/float/transcendental/cl_F_sinhx.cc (sinhx_naive): Likewise.
329 2001-07-25 Richard Kreckel <kreckel@ginac.de>
331 * Version 1.1.2 released.
333 2001-07-24 Richard Kreckel <kreckel@ginac.de>
335 * src/base/hash/cl_hash.h: declare _cl_hashtable_iterator<htentry> a
336 friend of cl_heap_hashtable<htentry>.
338 2001-07-22 Richard Kreckel <kreckel@ginac.de>
340 * src/float/base/cl_ieee.cc: try to do magic to the FPU only if
341 _FPU_IEEE is really defined.
342 * include/cln/modules.h: change assembler labels from `label' to
343 `label:' on hppa, needed by Linux (see comment).
344 * autoconf/acinclude.m4: new file (for storing CLN-specific macros).
345 * Makefile.devel: adjusted.
346 * autoconf/aclocal.m4: regenerate.
347 * src/base/low/cl_low_mul.cc: moved POD variables that are declared
348 extern "C" elsewhere out of the namespace.
349 * src/base/low/cl_low_div.cc: Likewise.
351 2001-06-08 Bruno Haible <haible@clisp.cons.org>
353 * autoconf/config.{guess,sub}: Update to GNU version 2001-05-11.
354 * autoconf/aclocal.m4: Upgrade to libtool-1.4.
355 * autoconf/ltmain.sh: Likewise.
356 * autoconf/ltconfig: Remove file.
357 * autoconf/install-sh: New file.
358 * configure.in: Add AC_CONFIG_AUX_DIR call.
360 2001-06-05 Richard Kreckel <kreckel@ginac.de>
362 * tests/tests.cc: resolve namespace ambiguity about strcmp().
364 2001-05-31 Richard Kreckel <kreckel@ginac.de>
366 * Version 1.1.1 released.
368 2001-05-28 Richard Kreckel <kreckel@ginac.de>
370 * cln/cln.tex: documented problems with shared library on Sparc
371 using gcc older than 2.95.3.
372 * configure.in: Fixed typos in versioning docu.
374 2001-05-25 Bruno Haible <haible@clisp.cons.org>
376 * src/base/digitseq/cl_asm_arm_.cc: Use #0x instead of #& to designate
377 hexadecimal constants.
379 2001-05-25 Richard Kreckel <kreckel@ginac.de>
381 * autoconf/floatparam.c (double_wordorder_bigendian_p): new symbol.
382 * src/float/dfloat/cl_DF.h: Check for double_wordorder_bigendian_p.
383 * Removed LiDIA interface since that is now outdated (namespace cln)
384 and maintained elsewhere.
385 * Adjusted dates and final touches for 1.1.1.
387 2001-05-19 Richard Kreckel <kreckel@ginac.de>
389 * INSTALL: Update toolchain info: no egcs, some more platforms.
390 * doc/cln.tex: Likewise.
392 2001-05-18 Richard Kreckel <kreckel@ginac.de>
394 * src/base/cl_low.h: prepended variables declared inside macros
395 with underscore. Fixes equal_hashcode() on various platforms.
397 2001-04-25 Richard Kreckel <kreckel@ginac.de>
399 * src/base/cl_low.h: Added several checks if NO_ASM is defined, so
400 this definition becomes actually useful. This is needed for
401 compilation on Arm until somebody fixes the assembler files for Arm.
402 * src/base/digitseq/cl_asm.h: Likewise.
403 * src/base/digitseq/cl_asm_.cc: Likewise.
404 * */Makefile.in: Added `override' in front of `CPPFLAGS +=' so
405 one can say `make CPPFLAGS=-DFOOBAR'.
407 2001-03-26 Arvid Norberg <c99ang@cs.umu.se>
409 * src/base/random/cl_random_from.cc: ported to beos.
411 2001-03-05 Richard Kreckel <kreckel@ginac.de>
413 * include/cln/modules.h (CL_JUMP_TO): Fix IA64 brokenness.
415 2001-01-28 Richard Kreckel <kreckel@ginac.de>
417 * include/cln/number.h (cl_as_N): Remove bogus comment.
419 2001-01-22 Richard Kreckel <kreckel@ginac.de>
421 * configure.in: Make build in separate builddir possible (again).
423 2001-01-22 Richard Kreckel <kreckel@ginac.de>
425 * include/cln/*.h: Change signatures of all classes' methods
426 cln::cl_foo::operator new(size_t, cl_foo*) to
427 cln::cl_foo::operator new(size_t, void*) so one can declare
428 std::vector<cln::cl_foo>, std::list<cln::cl_foo> etc. for
429 certain STL implementations (like libstdc++-v3).
431 2000-12-14 Richard Kreckel <kreckel@ginac.de>
433 * Version 1.1 released.
435 2000-12-13 Richard Kreckel <kreckel@ginac.de>
437 * */*: cl_istream -> std::istream, cl_ostream -> std::ostream.
439 2000-12-05 Richard Kreckel <kreckel@ginac.de>
441 * Makefile.in, src/Makefile.in, doc/Makefile.in: Use mkdir -p.
442 * include/cln/version.h.in, src/base/verion.cc: New files.
443 * configure.in: Generate include/cln/version.h.
444 * cln.m4: Rewrote it. Check result of cln-config without compiling.
445 Do cross-check library version and header version information.
447 2000-12-02 Christian Bauer <cbauer@ginac.de>
449 * Makefile.in, src/Makefile.in, doc/Makefile.in: Added $DESTDIR.
450 * cln.m4, cln.spec.in: some minor fixes with respect to RPM package
453 2000-11-24 Richard Kreckel <kreckel@ginac.de>
455 * */*: Removed problematic stdin, stdout and stderr definitions.
456 Use std::cin, std::cout, std::cerr instead (obsoletes 2000-10-29).
458 2000-11-20 Bruno Haible
460 * cln-config.1: change title.
462 2000-11-18 Richard Kreckel <kreckel@ginac.de>
465 * doc/cln.tex: Document package tools cln-config and cln.m4.
466 * Makefile.in: Care about cln.m4.
468 2000-11-17 Richard Kreckel <kreckel@ginac.de>
470 * cln-config.1: added manpage, as required by a couple of distros.
471 * Makefile.in, doc/Makefile.in: target install depends on installdirs.
473 2000-11-16 Richard Kreckel <kreckel@ginac.de>
475 * autoconf/aclocal.m4 (CL_GMP_SET_UINTD): New macro...
476 * configure.in: ...used here.
477 * include/cln/config.h.in: Put in macros defined by CL_GMP_SET_UINTD...
478 * include/cln/types.h: ...used here.
479 * autoconf/acgeneral.m4, autoconf/aclocal.m4: Adhere to FHS.
481 2000-11-13 Richard Kreckel <kreckel@ginac.de>
483 * src/base/digitseq/cl_asm.h: Test if (intDsize==32) for MIPS and HPPA,
484 in order to guard against an accidented configuration.
485 * src/integer/conv/cl_I_to_digits.cc (table): member b_hoch_k of
486 struct power_table_entry initialized as ULL instead of as UL, if
487 intDsize==64 (caused misprinting on MIPS w/ GMP).
488 * src/base/cl_macros.h (minus_bitm, bitc): implemented ULL, if
490 * src/integer/bitwise/cl_I_mkfx.cc (mkf_extract): Likewise.
491 * src/integer/conv/cl_I_from_L.cc (cl_I_from_L): Added trival
492 generation of Bignum for intDsize==64 and a notreached-check at end.
493 * autoconf/config.guess, autoconf/config.sub: updated from FSF.
494 * include/cln/config.h.in: Prepared support for IA64.
495 * include/cln/types.h: Likewise.
496 * include/cln/object.h: Likewise.
497 * include/cln/modules.h: Likewise.
498 * src/base/cl_macros.h (nonreturning_function): Likewise (NUE's
499 compiler claims __GNUC_MINOR__==9).
501 2000-11-03 Richard Kreckel <kreckel@ginac.de>
503 * src/base/cl_macros.h (bit, minus_bit): changed criterion for ULL from
504 HAVE_DD to HAVE_FAST_LONGLONG.
505 * src/base/cl_macros.h (bitm): implemented ULL, if HAVE_FAST_LONGLONG.
506 * src/base/cl_low.h: actually no need to include "cln/types.h" here.
507 * src/base/cl_low.h (logcount_64): always ULL, independent of HAVE_DD.
508 * src/base/random/cl_UL_random.cc (random32): a is always ULL.
510 2000-11-01 Richard Kreckel <kreckel@ginac.de>
512 * include/cln/object.h (cl_combine): define additional signatures, if
513 HAVE_LONGLONG is defined, in order to keep the compiler happy.
514 * src/base/cl_macros.h: include "cln/types.h", since we need HAVE_DD...
515 * src/base/cl_macros.h (bit): ...for this macro...
516 * src/base/cl_macros.h (minus_bit): ...and this one.
517 * src/base/cl_low.h: include "cln/types.h", since we need HAVE_DD...
518 * src/base/cl_low.h (logcount_64): ...for this macro.
519 * src/base/random/cl_UL_random.cc (random32): if HAVE_DD a is an ULL.
520 * src/integer/gcd/cl_I_gcd_aux2.cc (floorDD): fixed algorithmic bug.
521 that turned up when intDsize==32 and cl_word_size==64.
522 * src/float/dfloat/elem/cl_DF_div.cc (operator/): fixed a missing cast
523 to uint64 that turned up when intDsize==32 and cl_word_size==64.
525 2000-10-29 Richard Kreckel <kreckel@ginac.de>
527 * src/real/input/cl_R_read.cc, src/complex/input/cl_N_read.cc:
528 #undef stderr, if it's defined so cln::stderr isn't confused.
529 * src/base/input/cl_read_globals.cc: stdin should not be extern.
531 2000-09-05 Richard Kreckel <kreckel@ginac.de>
533 * include/cln/number.h (As): Fix it in namespace by suffixing `_As'
534 to the appropiate method instead of prefixing `as_'.
535 * src/complex/misc/cl_N_as.cc (cl_N_As): Likewise.
536 * src/real/misc/cl_R_as.cc (cl_R_As): Likewise.
537 * src/rational/misc/cl_RA_as.cc (cl_RA_As): Likewise.
538 * src/integer/misc/cl_I_as.cc (cl_I_As): Likewise.
539 * src/float/misc/cl_F_as.cc (cl_F_As): Likewise.
540 * src/float/sfloat/misc/cl_SF_as.cc (cl_SF_As): Likewise.
541 * src/float/lfloat/misc/cl_LF_as.cc (cl_LF_As): Likewise.
542 * src/float/ffloat/misc/cl_FF_as.cc (cl_FF_As): Likewise.
543 * src/float/dfloat/misc/cl_DF_as.cc (cl_DF_As): Likewise.
545 2000-09-05 Richard Kreckel <kreckel@ginac.de>
547 * src/complex/transcendental/cl_C_expt_C.cc (expt): fix logic for
550 2000-08-30 Richard Kreckel <kreckel@ginac.de>
552 * include/cln/number.h, cl_number::_as_cl_private_thing(): removed.
553 Rearranged for a clearer distinction between macros and remaining
554 identifiers, so Cint can parse it smoothly.
556 2000-08-29 Richard Kreckel <kreckel@ginac.de>
558 * include/cln/number.h, the(const cl_number& x): New template
561 2000-08-29 Richard Kreckel <kreckel@ginac.de>
563 * */*: Pushed CLN into a namespace `cln'. While doing so, the
564 following identifiers got their poor-man's namespace (i.e. the
565 prefix `cl_') stripped off:
566 cl_catalanconst() -> catalanconst()
567 cl_compare() -> compare()
568 cl_cos_sin() -> cos_sin()
569 cl_cos_sin_t -> cos_sin_t
570 cl_cosh_sinh() -> cosh_sinh()
571 cl_cosh_sinh_t -> cosh_sinh_t
572 cl_decoded_dfloat -> decoded_dfloat
573 cl_decoded_ffloat -> decoded_ffloat
574 cl_decoded_float -> decoded_float
575 cl_decoded_lfloat -> decoded_lfloat
576 cl_decoded_sfloat -> decoded_sfloat
577 cl_default_float_format -> default_float_format
578 cl_default_print_flags -> default_print_flags
579 cl_default_random_state -> default_random_state
580 cl_double_approx() -> double_approx()
581 cl_equal() -> equal()
582 cl_equal_hashcode() -> equal_hashcode()
583 cl_eulerconst() -> eulerconst()
584 cl_find_modint_ring() -> find_modint_ring()
585 cl_find_univpoly_ring() -> find_univ_poly_ring()
586 cl_float_approx() -> float_approx
587 cl_float_format() -> float_format()
588 cl_float_format_t -> float_format_t
589 cl_free_hook() -> free_hook()
590 cl_hermite() -> hermite()
591 cl_laguerre() -> laguerre()
592 cl_legendre() -> legandre()
593 cl_malloc_hook() -> malloc_hook()
595 cl_tschebychev() -> tschebychev()
597 NB: For functions these changes includes all signatures.
598 * include/*: moved to include/cln/*, stripped `cl_' off filenames.
599 * cln-config.in: new file.
601 2000-08-26 Bruno Haible <haible@clisp.cons.org>
603 * autoconf/acgeneral.m4 (AC_OUTPUT): Use braces in exec_prefix default
606 2000-08-18 Bruno Haible <haible@clisp.cons.org>
608 * include/cl_univpoly_modint.h: Fix typo.
610 2000-07-13 Bruno Haible <haible@clisp.cons.org>
612 * src/float/input/cl_F_read_stream.cc (number_char_p): Accept '_',
613 used as precision marker for floats.
614 Reported by Keith Briggs (in 1998) and Thomas Roessler.
615 * src/integer/input/cl_I_read_stream.cc (number_char_p): Likewise.
616 * src/rational/input/cl_RA_read_stream.cc (number_char_p): Likewise.
617 * src/real/input/cl_R_read_stream.cc (number_char_p): Likewise.
618 * src/complex/input/cl_N_read_stream.cc (number_char_p): Likewise.
620 2000-06-22 Bruno Haible <haible@clisp.cons.org>
622 * include/cl_object.h: Rename cl_word_size to cl_pointer_size.
623 * include/cl_types.h (HAVE_FAST_LONGLONG): Also define on Irix6
625 (cl_word_size): New macro.
626 * src/float/sfloat/cl_SF.h: Use cl_pointer_size instead of
629 2000-05-31 Bruno Haible <haible@clisp.cons.org>
631 * tests/exam_I_floor.cc (integer_floor_tests): Add one more entry.
632 From a sample that fails with gcc-2.95.2 on Sparc.
633 * tests/exam_I_gcd.cc (integer_gcd_tests): Likewise.
635 2000-05-30 Richard Kreckel <kreckel@ginac.de>
637 * configure.in, autoconf/aclocal.m4 (CL_GMP_H_VERSION, CL_GMP_CHECK):
639 * configure.in, include/cl_config.h.in (CL_VERSION, CL_VERSION_MINOR,
640 CL_VERSION_PATCHLEVEL): New definitions.
641 * autoconf/config.guess, autoconf/config.sub, autoconf/ltconfig,
642 autoconf/ltmain.sh: updated from FSF (libtool 1.3.5, etc).
643 * src/Makefile.in, configure.in: release-variables renamed from
645 * configure.in: default to build both shared and static library
646 (i.e. default to the most common behaviour).
648 2000-05-29 Richard Kreckel <kreckel@ginac.de>
650 * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Added missing changequote
651 environment around the patch of 2000-05-23.
653 2000-05-29 Bruno Haible <haible@clisp.cons.org>
655 * autoconf/aclocal.m4 (CL_PROG_INSTALL): Fix typo.
656 Reported by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>.
658 2000-05-27 Richard Kreckel <kreckel@ginac.de>
660 * src/float/lfloat/algebraic/cl_LF_sqrt.cc,
661 src/base/digitseq/cl_DS_sqrt.cc: Readjusted break-even points.
663 2000-05-24 Richard Kreckel <kreckel@ginac.de>
665 * autoconf/config.*: Updated to new version from FSF
666 (the new libtool wants this).
667 * src/Makefile.in: added $(LDFLAGS) to link step.
668 * src/base/digitseq/cl_2DS_div.cc, cl_2DS_recip.cc: Readjusted
671 2000-05-23 Bruno Haible <haible@clisp.cons.org>
673 * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Determine host_cpu,
674 host_vendor, host_os correctly if $host has more than two hyphens.
676 2000-05-19 Richard Kreckel <kreckel@ginac.de>
678 * src/base/digitseq/cl_DS_mul.cc: Rearranged break-even points to
679 better match present-day CPUs whenever GMP3 is used.
680 * src/base/digitseq/cl_DS_div.cc: dto.
681 * src/TUNING: Added comment about order of tuning.
682 * configure, configure.in: Safer GMP3-detection.
683 * INSTALL.generic: Clarified behaviour of --with-gmp.
684 * autoconf/config.guess: updated from Clisp-2000-03-06 sources.
686 2000-05-04 Richard Kreckel <kreckel@ginac.de>
688 * gmp/: removed completely. From now on we are going to link
689 externally against libgmp3.0 or above!
690 * configure, configure.in, Makefile.in, */Makeflags: removed support
691 of internal gmp 2.0.2, like $GMP_INCLUDES, which should be done by
692 setting $CPPFLAGS instead.
693 * Makefile.in: Added libtool inter-library dependency for -lgmp and
694 conforming interface versioning (-version-info).
695 * autoconf/ltconfig, autoconf/ltmain.sh: Updated to newer versions
698 2000-02-22 Bruno Haible <haible@clisp.cons.org>
700 * src/base/digitseq/cl_asm_mips_.cc: Starting at argument 5 the
701 parameter passing was changed for the MIPS n32 ABI.
703 2000-01-24 Richard Kreckel <kreckel@ginac.de>
705 * gmp/*: Replaced the complete mpn sources with the ones from
706 Debian since they are maintained while the ones from FSF
707 aren't and there were problems on some architectures, PowerPC
708 in particular. See the file gmp/README.CLN. This way the
709 hard links in this directory have vanished, they were causing
710 trouble for people working in AFS. This became necessary for
711 Debian, because there it woudn't compile on PPC.
713 2000-01-13 Richard Kreckel <kreckel@ginac.de>
715 * Version 1.0.3 released.
717 2000-01-13 Richard Kreckel <kreckel@ginac.de>
719 * src/base/cl_macros.h (nonreturning_function): For egcs and newer
720 use __attribute__ ((__noreturn__)) instead of the __volatile__
722 (nonreturning): Remove macro.
723 * include/*: Minor fixes to stop -ansi -pedantic from complaining.
724 * include/cl_integer.h: (doublefactorial): New declaration.
725 * src/integer/misc/combin/cl_I_doublefactorial.cc: New file.
727 1999-12-18 Bruno Haible <haible@clisp.cons.org>
729 * autoconf/acgeneral.m4 (AC_ARG_PROGRAM): Create conftestsed using
731 * autoconf/ltconfig: Improve support for recent FreeBSD 3.
732 * include/cl_GV.h (cl_GV_vectorops): Change return type from 'T' to
733 'const T', to match definition in src/vector/cl_GV_number.cc.
734 Reported by Duncan Simpson <dps@io.stargate.co.uk>.
735 * gmp/mpn/Makefile.in (.S.lo): Use 'if', not '&&', because '&&' may
738 1999-09-07 Bruno Haible <haible@clisp.cons.org>
740 * Version 1.0.2 released.
742 1999-09-06 Bruno Haible <haible@clisp.cons.org>
744 * src/rational/cl_RA.h (integerp, ratiop): Instead of returning a
745 boolean expression, write alternatives ending with either
746 "return cl_true;" or "return cl_false;". This way, g++ does a
747 better job inlining it.
748 * src/float/cl_F.h (longfloatp): Likewise.
749 * src/real/cl_R.h (rationalp, integerp, floatp): Likewise.
750 * src/complex/cl_C.h (realp, complexp): Likewise.
752 1999-09-05 Bruno Haible <haible@clisp.cons.org>
754 * include/cl_integer.h (cl_equal_hashcode): New declaration.
755 * include/cl_rational.h (cl_equal_hashcode): New declaration.
756 * include/cl_sfloat.h (cl_equal_hashcode): New declaration.
757 * include/cl_ffloat.h (cl_equal_hashcode): New declaration.
758 * include/cl_dfloat.h (cl_equal_hashcode): New declaration.
759 * include/cl_lfloat.h (cl_equal_hashcode): New declaration.
760 * include/cl_float.h (cl_equal_hashcode): New declaration.
761 * include/cl_real.h (cl_equal_hashcode): New declaration.
762 * include/cl_complex.h (cl_equal_hashcode): New declaration.
763 * src/base/cl_N.h (equal_hashcode_low, equal_hashcode_one): New macros.
764 * src/integer/misc/cl_I_eqhashcode.cc: New file.
765 * src/rational/misc/cl_RA_eqhashcode.cc: New file.
766 * src/float/sfloat/misc/cl_SF_eqhashcode.cc: New file.
767 * src/float/ffloat/misc/cl_FF_eqhashcode.cc: New file.
768 * src/float/dfloat/misc/cl_DF_eqhashcode.cc: New file.
769 * src/float/lfloat/misc/cl_LF_eqhashcode.cc: New file.
770 * src/float/misc/cl_F_eqhashcode.cc: New file.
771 * src/real/misc/cl_R_eqhashcode.cc: New file.
772 * src/complex/misc/cl_C_eqhashcode.cc: New file.
773 * doc/cln.tex: Document `cl_equal_hashcode'.
775 1999-09-05 Bruno Haible <haible@clisp.cons.org>
777 * include/cl_ring.h (cl_number_ring_ops): Add `contains' member.
778 (cl_number_ring): New class.
779 (cl_specialized_number_ring<T>): Inherit from cl_number_ring.
780 (instanceof): New function.
781 * src/integer/ring/cl_I_ring.cc (cl_I_p): New function.
782 * src/integer/misc/cl_I_as.cc (cl_I_p): Add comment.
783 * src/rational/ring/cl_RA_ring.cc (cl_RA_p): New function.
784 * src/rational/misc/cl_RA_as.cc (cl_RA_p): Add comment.
785 * src/real/ring/cl_R_ring.cc (cl_R_p): New function.
786 * src/real/misc/cl_R_as.cc (cl_R_p): Add comment.
787 * src/complex/ring/cl_C_ring.cc (cl_N_p): New function.
788 * src/complex/misc/cl_N_as.cc (cl_N_p): Add comment.
789 * doc/cln.tex: Document `instanceof'.
791 1999-09-05 Bruno Haible <haible@clisp.cons.org>
793 * include/cl_rational.h (numerator, denominator): New declarations.
794 * src/rational/elem/cl_RA_numerator.cc: New file.
795 * src/rational/elem/cl_RA_denominator.cc: New file.
796 * include/cl_integer.h (numerator, denominator): New inline functions.
797 * doc/cln.tex: Document `numerator' and `denominator'.
799 1999-09-05 Bruno Haible <haible@clisp.cons.org>
801 * src/rational/algebraic/cl_RA_rootp.cc (rootp): Fix endless loop
803 * src/rational/algebraic/cl_RA_rootp_I.cc (rootp): Likewise.
805 1999-09-05 Bruno Haible <haible@clisp.cons.org>
807 * include/cl_config.h.in: Support for sparc64 CPU.
808 * include/cl_modules.h: Likewise.
809 * include/cl_types.h: Likewise.
810 * include/cl_object.h: Likewise.
811 * include/cl_GV.h: Likewise.
812 * src/Makefile.in: Likewise.
813 * src/base/cl_alloca.h: Likewise.
814 * src/base/cl_macros.h: Likewise.
815 * src/base/cl_sysdep.h: Likewise.
816 * src/base/cl_low.h: Likewise.
817 * src/base/digitseq/cl_asm.h: Likewise.
818 * src/base/digitseq/cl_asm_.cc: Likewise.
819 * src/base/digitseq/cl_asm_sparc64.h: New file.
820 * src/base/digitseq/cl_asm_sparc64_.cc: New file.
821 * src/modinteger/cl_MI_int.h: Support for sparc64 CPU.
822 * src/polynomial/elem/cl_UP_no_ring.cc: Likewise.
823 * src/polynomial/elem/cl_UP_GF2.h: Likewise.
824 * src/polynomial/elem/cl_asm_GF2.cc: Likewise.
826 1999-09-04 Bruno Haible <haible@clisp.cons.org>
828 * src/base/digitseq/cl_asm_sparc_.cc (orc2_loop_up, orc2_loop_down):
829 Use the `orn' instruction.
831 1999-08-14 Bruno Haible <haible@clisp.cons.org>
833 Assume all platforms have <stdlib.h> and clock_t.
834 * configure.in: Don't call CL_STDLIB_H and CL_CLOCK_T.
835 * src/base/cl_base_config.h.in (CLOCK_T): Remove definition.
836 * src/base/random/cl_random_from.cc: Use clock_t instead of CLOCK_T.
837 * src/timing/cl_t_config.h.in (CLOCK_T): Remove definition.
838 * src/timing/cl_t_current2.cc: Use clock_t instead of CLOCK_T.
840 1999-07-18 Bruno Haible <haible@clisp.cons.org>
842 * gmp/config.guess: Link to autoconf/config.guess.
843 gmp/config.sub: Link to autoconf/config.sub.
844 Needed for Win32 platforms.
846 1999-07-17 Bruno Haible <haible@clisp.cons.org>
848 * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Distinguish "sparc" and
849 "sparc64" according to the C compiler, not the uname result.
851 1999-06-17 Bruno Haible <haible@clisp.cons.org>
853 * src/base/digitseq/cl_asm_sparc_.cc (compare_loop_up): Fix
854 COUNTER_LOOPS version, fortunately not used yet.
856 * include/cl_modules.h: Prepare for gcc version 3.
858 1999-06-12 Bruno Haible <haible@clisp.cons.org>
860 * src/rational/elem/cl_RA_plus.cc, src/rational/elem/cl_RA_minus.cc:
861 Change the last call from I_I_to_RT to I_I_to_RA.
863 1999-06-09 Bruno Haible <haible@clisp.cons.org>
865 * Version 1.0.1 released.
867 1999-06-09 Bruno Haible <haible@clisp.cons.org>
869 * src/integer/cl_I.h (pFN_maxlength_digits_at): Define also when
872 1999-06-08 Bruno Haible <haible@clisp.cons.org>
874 * autoconf/intparam.c (printf_underscored): Change argument type to
876 * include/cl_modules.h (CL_OUTPUT_LABEL, CL_JUMP_TO): New macros.
877 (CL_PROVIDE, CL_PROVIDE_END): Use them.
878 * include/cl_string.h (cl_heap_string::operator new): Return 1, not 0.
879 * include/cl_GV.h (cl_GV_inner<T>::operator new): Likewise.
880 * src/base/ring/cl_no_ring.cc (dummy_canonhom, dummy_expt_pos): Don't
881 cast a cl_I to void here. Works around a bug in g++-2.95.
882 * src/complex/misc/cl_C_class.cc: Include "cl_C.h".
883 * src/polynomial/elem/cl_UP_no_ring.cc (dummy_canonhom,
884 dummy_expt_pos): Don't cast a cl_I to void here. Works around a bug
886 * src/polynomial/elem/cl_asm_sparc_GF2.cc (DECLARE_FUNCTION): New
888 * src/rational/misc/cl_RA_class.cc: Include "cl_RA.h".
889 * src/vector/cl_GV_I.cc (cl_heap_GV_I_general::operator new,
890 DEFINE_cl_heap_GV_I_bits): Return 1, not 0.
891 * src/vector/cl_GV_number.cc (cl_heap_GV_number_general::operator new):
894 1999-06-01 Bruno Haible <haible@clisp.cons.org>
896 * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Canonicalize alpha
899 1999-05-29 Bruno Haible <haible@clisp.cons.org>
901 * src/base/digitseq/cl_asm_i386_.cc (DECLARE_FUNCTION): Treat
903 * src/base/digitseq/cl_asm_sparc_.cc (DECLARE_FUNCTION): Likewise.
904 * src/base/digitseq/cl_asm_m68k_.cc (DECLARE_FUNCTION): Treat
905 OpenBSD like NetBSD, and Linux/ELF like SVR4.
907 1999-05-16 Bruno Haible <haible@clisp.cons.org>
909 * src/base/cl_low.h (integerlength32) [__rs6000__]: Use old assembler
910 syntax on AIX systems and new assembler syntax on non-AIX systems.
912 1999-05-01 Bruno Haible <haible@clisp.cons.org>
914 * autoconf/config.guess, autoconf/config.sub: Upgrade to newest
915 version from GNU CVS.
917 1999-04-24 Bruno Haible <haible@clisp.cons.org>
919 * src/integer/bitwise/cl_I_logand.cc (logand): Optimize the case when
920 either operand is a positive fixnum, O(1) instead of O(N).
921 * src/integer/bitwise/cl_I_lognand.cc (lognand): Likewise.
922 * src/integer/bitwise/cl_I_logandc2.cc (logandc2): Likewise for the
925 1999-04-14 Bruno Haible <haible@clisp.cons.org>
927 * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add check whether
928 ctor/dtor needs to be exported.
929 * include/cl_config.h.in (CL_NEED_GLOBALIZE_CTORDTOR): New macro.
930 * include/cl_modules.h (CL_GLOBALIZE_JUMP_LABEL): Renamed from
932 (CL_GLOBALIZE_LABEL): New macro.
933 (CL_GLOBALIZE_CTORDTOR_LABEL): Renamed from CL_GLOBALIZE_ASM_LABEL.
934 (CL_PROVIDE): Update.
936 1999-04-12 Bruno Haible <haible@clisp.cons.org>
938 * src/Makefile.in ($(ASMFILES_S)): On HPPA, ignore preprocessing
939 errors ("unterminated string or character constant").
940 ($(ASMFILES_LO)): On HPPA, try with various settings of
941 COMPILER_PATH, in order to try /usr/ccs/bin/as and /bin/as.
943 1999-04-11 Bruno Haible <haible@clisp.cons.org>
945 * INSTALL: Mention gmp problems on MIPS.
946 * doc/cln.tex: Likewise.
948 1999-03-24 Mumit Khan <khan@xraylith.wisc.edu>
950 * src/Makefile.in (SUBDIRS): Filter out CVS and RCS directories from
952 * include/cl_modules.h (CL_GLOBALIZE_LABEL): Define for Win32.
953 (CL_GLOBALIZE_ASM_LABEL): New macro.
954 (CL_PROVIDE): Use it.
955 * src/base/random/cl_random_from.cc: Handle WIN32.
956 * src/timing/cl_t_current.cc: Likewise.
958 1999-03-15 Bruno Haible <haible@clisp.cons.org>
960 * autoconf/intparam.c (main7): Use %lX instead of %X for a `long'.
961 (main8): Adapt for C++.
963 1999-03-09 Bruno Haible <haible@clisp.cons.org>
965 * INSTALL: Mention egcs-1.1 problems on Sparc.
966 * doc/cln.tex: Likewise.
968 1999-03-08 Bruno Haible <haible@clisp.cons.org>
970 * autoconf/aclocal.m4 (CL_FPU_CONTROL): Fix the "checking for"
973 1999-02-25 Bruno Haible <haible@clisp.cons.org>
975 * autoconf/aclocal.m4: In test programs, declare `int main()', not
978 * lidia-interface/src/interfaces/integers/cln/bigint.c
979 (bigint_to_string): Fix for negative arguments.
981 * src/base/cl_low.h: Check for `__sparc__', not `SPARC'.
982 * src/base/cl_alloca.h: Likewise.
984 * src/base/cl_low.h: Eliminate CLISP style "# " comments.
985 * src/base/digitseq/cl_asm_arm_.cc,
986 src/base/digitseq/cl_asm_mips_.cc,
987 src/float/dfloat/elem/cl_DF_mul.cc: Likewise.
989 * src/modinteger/cl_MI_pow2.h,
990 src/modinteger/cl_MI_pow2m1.h,
991 src/modinteger/cl_MI_pow2p1.h: Workaround g++-2.7.2 inlining bug.
993 1999-01-18 Bruno Haible <haible@clisp.cons.org>
995 * autoconf/acgeneral.m4,
996 autoconf/acspecific.m4: Upgrade to autoconf-2.13.
997 * autoconf/config.guess, autoconf/config.sub: Likewise.
998 * autoconf/aclocal.m4 (CL_ALLOCA): Test for _MSC_VER and alloca being
999 a macro. Use ${ac_objext}.
1000 * src/base/cl_macros.h (alloca): Put _MSC_VER test before the others,
1001 conforming with CL_ALLOCA.
1003 1999-01-12 Bruno Haible <haible@clisp.cons.org>
1005 * Version 1.0 released.