1 2005-08-02 Andreas Jochens <aj@andaco.de>
3 * include/cln/config.h.in: Add support for PowerPC 64 CPU.
4 * include/cln/modules.h: Likewise.
5 * include/cln/object.h: Likewise.
6 * include/cln/types.h: Likewise.
8 2005-07-24 Richard B. Kreckel <kreckel@ginac.de>
10 Make out of the box build on x86_64 system with complete 32 bit
12 * include/cln/config.h.in: Don't #define __x86_64__ when
14 * src/base/digitseq/cl_asm_x86_64_.cc: New file.
15 * doc/cln.tex: Revert workaround description introduced 2005-05-02.
17 2005-06-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
19 * Makefile.in: Don't enter nonexisting directories.
21 2005-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
23 Speed up the linking step
24 * src/Makefile.in: Use -objectlist for linking libcln.la.
26 2005-05-15 Richard B. Kreckel <kreckel@ginac.de>
28 * autoconf/ltmain.sh: Upgrade to libtool-1.5.16.
29 * m4/libtool.m4: Upgrade to libtool-1.5.16 (without Comeau patch).
31 2005-05-02 Richard B. Kreckel <kreckel@ginac.de>
33 * doc/cln.tex: Document what to do on a x86_64 machine with 32-bit
36 2005-05-01 Richard B. Kreckel <kreckel@ginac.de>
38 Fix crashes in find_univpoly_ring and related functions
39 * include/cln/modinteger.h: Remove vptr from cl_heap_modint_ring;
40 remove declaration of cl_class cl_class_modint_ring.
41 * include/cln/univpoly.h: Remove vptr from cl_heap_univpoly_ring;
42 remove declaration of cl_class_univpoly_ring.
43 * include/cln/object.h: cl_class_flags_modint_ring: New #define...
44 * src/modinteger/cl_MI.cc: ...used in cl_class_modint_ring.
45 * src/modinteger/cl_MI_fix16.h: No vptr, but static dtor and type flag.
46 * src/modinteger/cl_MI_fix29.h: Likewise.
47 * src/modinteger/cl_MI_fix32.h: Likewise.
48 * src/modinteger/cl_MI_int32.h: Likewise.
49 * src/modinteger/cl_MI_montgom.h: Likewise.
50 * src/modinteger/cl_MI_pow2: Likewise.
51 * src/modinteger/cl_MI_pow2m1.h: Likewise.
52 * src/modinteger/cl_MI_pow2p1.h: Likewise.
53 * src/modinteger/cl_MI_std.h: Likewise.
54 * src/polynomial/elem/cl_UP.cc (cl_make_univpoly_ring): Compare with
55 cl_class_flags_modint_ring, not with cl_class_modint_ring.
56 * src/polynomial/elem/cl_UP_GF2.h (cl_class_num_univpoly_ring): New.
57 * src/polynomial/elem/cl_UP_MI.h (cl_class_modint_univpoly_ring): New.
58 * src/polynomial/elem/cl_UP_gen.h (cl_class_gen_univpoly_ring): New.
59 * src/polynomial/elem/cl_UP_number.h (cl_class_num_univpoly_ring): New.
60 Reported by Ralf Goertz <R_Goertz@web.de>.
62 2005-04-29 Richard B. Kreckel <kreckel@ginac.de>
63 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
65 * m4/cc.m4: Emit a warning if g++ is used and optimization turned off.
67 2005-04-24 Richard B. Kreckel <kreckel@ginac.de>
69 Make GCC compiler flags default to -O
70 * m4/cc.m4: New file...
71 * configure.ac: ...used here.
72 * autoconf/aclocal.m4: Regenerate.
74 2005-04-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
76 * include/cln/string.h: Declare cl_string.
78 2005-03-17 Richard B. Kreckel <kreckel@ginac.de>
80 * autoconf/ltmain.sh: Upgrade to libtool-1.5.14.
81 * m4/libtool.m4: Upgrade to libtool-1.5.14 with Comeau patch.
82 * autoconf/aclocal.m4: Regenerate.
84 2005-03-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
86 * src/Makefile.in: Use $CXX instead of $CC when linking.
88 2005-02-27 Richard B. Kreckel <kreckel@ginac.de>
90 * examples/perfnum.cc: update to presumed 42st Mersenne prime.
92 2004-11-28 Richard B. Kreckel <kreckel@ginac.de>
94 Disambiguate binary operators of CLN types with float/double
95 * include/cln/dfloat.h: Add binary operator overloads for arguments of
97 * include/cln/ffloat.h: Likewise, for arguments of type float.
98 * include/cln/float.h: Likewise, both for arguments of types double and
100 * include/cln/real.h: Likewise.
101 Reported by Isidro CachadiƱa GutiƩrrez <icacha@unex.es>.
103 2004-11-03 Richard B. Kreckel <kreckel@ginac.de>
105 * Version 1.1.9 released.
107 2004-10-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
109 * src/Makefile.in: Let config.status set LDFLAGS.
111 2004-10-27 Peter Breitenlohner <peb@mppmu.mpg.de>
113 * cln.pc.in: Fix typo.
114 * Makefile.in (INSTALL_SCRIPT): Added, to be used for scripts like
115 cln-config. Allows us to do special things to binaries, like
116 installing them with install -s.
117 * doc/Makefile.in: add/remove the cln.info from the installed
118 $(infodir)/dir unless this is debian install-info (code copied from
119 what GNU automake would produce).
121 2004-10-26 Richard B. Kreckel <kreckel@ginac.de>
123 * src/integer/input/cl_I_read_stream.cc (read_integer): Fix a bug
124 that caused radix specifiers to not work when reading from a stream.
125 * src/rational/input/cl_RA_read_stream.cc (read_rational): Likewise.
126 * src/real/input/cl_R_read_stream.cc (read_real): Likewise.
127 * src/float/input/cl_F_read_stream.cc (read_float): Likewise.
128 * src/complex/input/cl_N_read_stream.cc (read_complex): Likewise.
130 2004-10-25 Richard B. Kreckel <kreckel@ginac.de>
132 * src/base/cl_low.h: Add mulu64 assembler macro for ia64.
134 2004-10-24 Richard B. Kreckel <kreckel@ginac.de>
136 * src/base/cl_low.h: Add mul and div macros for x86_64.
138 2004-10-23 Richard B. Kreckel <kreckel@ginac.de>
140 * src/integer/conv/cl_I_from_digits.cc (digits_to_I): Fix thinko in
141 new code for base power of two.
143 2004-10-22 Richard B. Kreckel <kreckel@ginac.de>
145 * src/integer/conv/cl_I_to_digits (I_to_digits): Fix an elusive stack
146 overwriting problem. That was the real cause for Debian bug#246319.
147 * src/integer/output/cl_I_print.cc (print_integer): Revert workaround
148 for the bug fixed above.
150 2004-10-20 Richard B. Kreckel <kreckel@ginac.de>
152 * include/cln/types.h: Use 64 bit digits on x86_64 CPU.
154 2004-10-12 Richard B. Kreckel <kreckel@ginac.de>
156 * src/integer/conv/cl_I_from_digits.cc (digits_to_I): Speedup when
157 the base is a power of two.
159 2004-10-05 Richard B. Kreckel <kreckel@ginac.de>
161 * src/integer/conv/cl_I_to_digits.cc (I_to_digits): Fix bug in base 32.
163 2004-09-27 Richard B. Kreckel <kreckel@ginac.de>
165 Support for little-endian Mips, second shot
166 * src/base/digitseq/cl_asm_mipsel_.cc: New file...
167 * src/base/digitseq/cl_asm_cc: ...used here.
168 * src/base/digitseq/cl_asm.h: Include cl_asm_mips.h for any endianness.
169 * include/cln/object.h: Set alignment for mipsel explicitly.
171 2004-09-05 Richard B. Kreckel <kreckel@ginac.de>
173 Support for little-endian Mips
174 * include/cln/config.h.in: Add __mipsel__.
175 * include/cln/modules.h: For Mips, this is endianness-agnostic.
176 * src/base/digitseq/cl_asm_.cc, src/base/digitseq/cl_asm.h:
177 Mask out assembler for little-endian Mips.
179 2004-08-30 Bruno Haible <bruno@clisp.org>
181 * benchmarks/timebench2.sh: Multiply all repeat counts by 100.
182 * benchmarks/timebench2.results: Add recent PowerPC G4 results.
184 2004-08-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
186 * examples/e.cc: remove extra semicolon.
188 2004-08-25 Bruno Haible <bruno@clisp.org>
190 * autoconf/ltmain.sh: Upgrade to libtool-1.5.6.
191 * m4/libtool.m4: New file, from libtool-1.5.6 with modifications:
192 2004-08-22 Bruno Haible <bruno@clisp.org>
193 * m4/libtool.m4: Add support for Comeau C++ on Linux.
194 Reported by Prof. Roberto Bagnara <bagnara@cs.unipr.it>.
195 * autoconf/aclocal.m4: Regenerate.
197 2004-08-19 Bruno Haible <bruno@clisp.org>
199 * include/cln/modules.h (CL_GLOBALIZE_JUMP_LABEL, CL_JUMP_TO): When
200 converting a label to a string, use ASM_UNDERSCORE_PREFIX. Needed on
202 Reported by Darren Bane <darren.bane@ul.ie>.
204 2004-07-01 Richard B. Kreckel <kreckel@ginac.de>
206 * Version 1.1.8 released.
208 2004-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
210 * src/base/cl_macros.h: alloca(3) has size_t argument type.
212 2004-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
214 * include/cln/floatformat.h: Do define a type here.
216 2004-06-27 Richard B. Kreckel <kreckel@ginac.de>
218 * include/cln/modules.h (CL_JUMP_TO): Fix AMD64 brokenness.
220 2004-06-23 Bruno Haible <bruno@clisp.org>
222 * configure.ac: Pretend ftime() is not available. Needed by
225 2004-06-21 Ralf Stephan <ralf@ark.in-berlin.de>
227 * doc/cln.tex: Document jacobi, isprobprime and nextprobprime.
229 2004-06-18 Richard B. Kreckel <kreckel@ginac.de>
231 * rational/transcendental/cl_RA_logp.cc: fix bug where base is
232 reciprocal of an integer.
233 Reported by Niklas Knutsson <nq@altern.org>.
235 2004-06-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
237 * src/complex/ring/cl_C_ring.cc, src/integer/ring/cl_I_ring.cc,
238 src/rational/ring/cl_RA_ring.cc, src/real/ring/cl_R_ring.cc:
239 Make template specializations explicit.
241 2004-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
243 * src/complex/input/cl_N_read.cc, src/float/input/cl_F_read.cc,
244 src/integer/input/cl_I_read.cc, src/rational/input/cl_RA_read.cc,
245 src/real/input/cl_R_read.cc: Remove unused labels.
247 2004-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
249 * benchmarks/timebench1.cc, benchmarks/timebench2a.LiDIA.cc,
250 benchmarks/timebench2a.cc, benchmarks/timebench2ap.cc,
251 benchmarks/timebench2b.LiDIA.cc, benchmarks/timebench2b.cc,
252 examples/atan_recip.cc, examples/atanh_recip.cc,
253 examples/contfrac.cc, examples/e.cc, examples/legendre.cc,
254 examples/lucaslehmer.cc, examples/pi.cc, include/cln/GV.h,
255 include/cln/SV.h, include/cln/malloc.h, include/cln/modules.h,
256 include/cln/object.h, include/cln/string.h, src/base/cl_abort.cc,
257 src/base/cl_alloca.h, src/base/cl_malloc.cc,
258 src/base/random/cl_random_from.cc,
259 src/base/string/cl_spushstring_append.cc,
260 src/base/string/cl_spushstring_push.cc,
261 src/base/string/cl_st_debug.cc,
262 src/base/string/input/cl_st_gettoken.cc,
263 src/complex/input/cl_N_read.cc, src/float/input/cl_F_read.cc,
264 src/float/output/cl_F_dprint.cc, src/integer/input/cl_I_read.cc,
265 src/rational/input/cl_RA_read.cc,
266 src/real/format-output/cl_fmt_integer.cc,
267 src/real/format-output/cl_fmt_paddedstring.cc,
268 src/real/input/cl_R_read.cc, src/timing/cl_t_current.cc,
269 src/timing/cl_t_current2.cc, tests/exam.cc, tests/tests.cc,
270 tests/timeLFRAmul.cc, tests/timeLFatan-compare.cc,
271 tests/timeLFatan.cc, tests/timeLFatanh-compare.cc,
272 tests/timeLFatanh.cc, tests/timeLFcos-compare.cc, tests/timeLFcos.cc,
273 tests/timeLFcosh.cc, tests/timeLFexp-compare.cc, tests/timeLFexp.cc,
274 tests/timeLFln-compare.cc, tests/timeLFln.cc,
275 tests/timeLFsin-compare.cc, tests/timeLFsin.cc, tests/timeLFsinh.cc,
276 tests/timeLFsqrt.cc, tests/timeMImisc5.cc, tests/timeMIpow2div.cc,
277 tests/timeMIpow2recip.cc, tests/timeRALFdiv.cc, tests/timeRAtoLF.cc,
278 tests/timeUPMImul.cc, tests/timecatalan.cc, tests/timediv.cc,
279 tests/timediv2adic-compare.cc, tests/timediv2adic.cc,
280 tests/timeeuler.cc, tests/timeexp1.cc, tests/timefact.cc,
281 tests/timegcd.cc, tests/timemul-compare.cc, tests/timemul.cc,
282 tests/timepi.cc, tests/timeprint-compare.cc, tests/timeprint.cc,
283 tests/timerecip2adic-compare.cc, tests/timerecip2adic.cc,
284 tests/timesqrt.cc, tests/timesqrtmodp.cc, tests/timesquare.cc,
285 tests/timezeta3.cc: Change all C include headers to ISO style
288 2004-06-10 Richard B. Kreckel <kreckel@ginac.de>
290 * examples/perfnum.cc: update to presumed 41st Mersenne prime.
292 2004-05-02 Richard B. Kreckel <kreckel@ginac.de>
294 * Version 1.1.7 released.
296 2004-05-02 Richard B. Kreckel <kreckel@ginac.de>
298 * examples/pi.cc and examples/pi.1: New files.
299 * examples/Makefile.in: Build the pi executable.
301 2004-05-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
303 * src/Makefile.in: Fix for parallel build: wait for subdir objects to
304 be finished before creating the library.
306 2004-04-30 Richard B. Kreckel <kreckel@ginac.de>
308 * src/integer/output/cl_I_print.cc (print_integer): workaround
309 GCC compiler bug (cf. Debian bug#246319).
311 2004-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
313 * m4/gmp.m4 (CL_GMP_CHECK): Do not lose LIBS setting with config.cache
316 2004-03-08 Bruno Haible <bruno@clisp.org>
318 * src/float/lfloat/elem/cl_LF_mul.cc (operator*): Fix the second
320 * src/float/lfloat/algebraic/cl_LF_sqrt.cc (sqrt): Fix a bug with large
321 uexp whereby SQRT of MOST-POSITIVE-LONG-FLOAT was less than 1.
323 2004-03-04 Richard B. Kreckel <kreckel@ginac.de>
325 * Makefile.in (install): Add ${srcdir} for cln.m4.
326 * m4/gmp.m4: quote macro names.
327 Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
329 2004-01-01 Richard B. Kreckel <kreckel@ginac.de>
331 * Version 1.1.6 released.
333 2004-01-01 Richard B. Kreckel <kreckel@ginac.de>
335 * include/cln/univpoly.h, include/cln/univpoly_complex.h,
336 include/cln//univpoly_integer.h, include/cln/univpoly_modint.h,
337 include/cln/univpoly_rational.h, include/cln/univpoly_real.h,
338 src/polynomial/elem/cl_UP_GF2.h, src/polynomial/elem/cl_UP_MI.h,
339 src/polynomial/elem/cl_UP_gen.h, src/polynomial/elem/cl_UP_no_ring.cc,
340 src/polynomial/elem/cl_UP_number.h (ldegree): New function.
341 * doc/cln.tex: Document `ldegree'.
343 2003-12-29 Richard B. Kreckel <kreckel@ginac.de>
345 Rework of autoconfiscation infrastructure
346 * autoconf/config.{guess,sub}: Update to GNU version 2003-10-07.
347 * autoconf/ltmain.sh: Update to GNU version 1.4.3.
348 * autoconf/autoconf: Remove (from now on we assume autoconf is
349 installed properly on the sytem).
350 * autoconf/autoconf.m4: Likewise.
351 * autoconf/autoconf.m4f: Likewise.
352 * autoconf/acgeneral.m4: Likewise.
353 * autoconf/acspecific.m4: Likewise.
354 * autoconf/aclocal.m4: Regenerate.
355 * autoconf/acinclude.m4: Remove (while moving the macros...)
356 * m4/gmp.m4: New file (...to here).
357 * Makefile.devel: Update to new scheme.
358 * configure.ac: Likewise.
359 * include/cln/GV_integer.h: Assume template specializations work.
360 * include/cln/GV_modinteger.h: Likewise.
361 * include/cln/config.h.in: Likewise, and drop HAVE_BOOL.
362 * src/base/cl_base_config.h.in: Drop support for obsolete ftime(3).
363 * src/base/random/cl_random_from.cc: Likewise.
364 * src/timing/cl_base_config.h.in: Likewise.
365 * src/timing/cl_t_current.cc: Likewise.
367 2003-12-27 Richard B. Kreckel <kreckel@ginac.de>
369 * src/polynomial/cl_UP_gen.h (gen_minus): Fix case where first
371 * src/polynomial/cl_UP_MI.h (modint_minus): Likewise.
372 * src/polynomial/cl_UP_number.h (num_minus): Likewise.
373 Reported by Munagala Ramanath <amberarrow@yahoo.com>.
375 2003-12-02 Richard B. Kreckel <kreckel@ginac.de>
377 * examples/perfnum.cc: update to presumed 40th Mersenne prime.
379 2003-11-20 Christian Bauer <cbauer@ginac.de>
381 Added pkg-config support
382 * cln.pc.in: New file.
383 * Makefile.in: Take care of cln.pc.
384 * configure.ac: Likewise.
386 2003-08-06 Richard B. Kreckel <kreckel@ginac.de>
388 * src/numtheory/cl_nt_sqrtmodp.cc: #undef _R.
389 Reported by Andrew Rechnitzer <A.Rechnitzer@ms.unimelb.edu.au>.
391 2003-08-01 Richard Kreckel <kreckel@ginac.de>
393 More dependent base resolution issues
394 * src/base/hash/cl_hash.h (cl_heap_hashtable<T>::iterator()):
395 portable syntactic simplification.
396 * src/base/hash/cl_hashset.h: Preceed inherited members with this->.
397 * src/base/hash/cl_hash1.h: Likewise for member functions.
398 * src/base/hash/cl_hash2.h: Likewise.
399 * src/base/hash/cl_hashuniq.h: Likewise.
400 * src/base/hash/cl_hashuniqweak.h: Likewise.
401 * src/base/hash/cl_hash.h: Revert explicit static member function
402 lookup since that was GCC's fault.
403 * src/base/hash/cl_hash2weak.h: Likewise.
404 * src/base/hash/cl_hashuniqweak.h: Likewise.
406 2003-06-29 Richard Kreckel <kreckel@ginac.de>
408 Dependent base resolution needed for GCC-3.4
409 * include/cln/GV.h: Preceed inherited members with this->.
410 * include/cln/SV.h: Likewise.
411 * include/cln/object.h: Likewise.
412 * src/base/hash/cl_hash1.h: Likewise.
413 * src/base/hash/cl_hash1weak.h: Likewise.
414 * src/base/hash/cl_hash2.h: Likewise.
415 * src/base/hash/cl_hashuniq.h: Likewise.
416 * src/base/hash/cl_hash.h: Make lookup of static member function
418 * src/base/hash/cl_hash2weak.h: Likewise.
419 * src/base/hash/cl_hashuniqweak.h: Likewise.
420 * src/modinteger/cl_MI.cc: Make shell-comment a C-comment. Geez.
422 2003-02-24 Bruno Haible <bruno@clisp.org>
424 * src/base/random/cl_random_from.cc (random_state::random_state): Add
426 * src/modinteger/cl_MI.cc: #undef _R.
427 Reported by Erann Gat <gat@jpl.nasa.gov>.
429 2002-08-03 Joerg Arndt <jj@suse.de>
431 * include/cln/config.h.in: Add support for x86_64 CPU.
432 * include/cln/modules.h: Likewise.
433 * include/cln/types.h: Likewise.
434 * include/cln/object.h: Likewise.
436 2002-06-08 Richard Kreckel <kreckel@ginac.de>
438 * src/base/digitseq/cl_asm.h: ensure intCsize==16 when including
439 m68k Assembler routines.
440 * src/base/digitseq/cl_asm_.cc: Likewise.
442 2002-05-28 Richard Kreckel <kreckel@ginac.de>
444 * Version 1.1.5 released.
446 2002-05-27 Richard Kreckel <kreckel@ginac.de>
448 * include/cln/modules.h (CL_CONCATENATE): New macro.
450 2002-05-10 Richard Kreckel <kreckel@ginac.de>
452 * doc/cln.tex (Building the library): Update recommendations for
453 compiling on Tru64 using g++ 3.0 and 3.1.
454 * README: Update homepage.
456 2002-05-05 Bruno Haible <bruno@clisp.org>
458 * doc/cln.tex (Building the library): Give some recommendations for
461 Force link-time references despite optimizations done by g++ 2.95
463 * include/cln/modules.h (CL_FORCE_LINK): New macro.
465 * include/cln/GV_integer.h (cl_GV_I_debug_dummy): Likewise.
466 * include/cln/GV_number.h (cl_GV_number_debug_dummy): Likewise.
467 * include/cln/SV_number.h (cl_SV_number_debug_dummy): Likewise.
468 * include/cln/SV_ringelt.h (cl_SV_ringelt_debug_dummy): Likewise.
469 * include/cln/dfloat.h (cl_DF_debug_dummy): Likewise.
470 * include/cln/ffloat.h (cl_FF_classes_dummy, cl_FF_debug_dummy):
472 * include/cln/integer.h (cl_I_classes_dummy, cl_I_debug_dummy):
474 * include/cln/lfloat.h (cl_LF_debug_dummy): Likewise.
475 * include/cln/modinteger.h (cl_MI_debug_dummy): Likewise.
476 * include/cln/rational.h (cl_RA_debug_dummy): Likewise.
477 * include/cln/real.h (cl_R_debug_dummy): Likewise.
478 * include/cln/ring.h (cl_ring_debug_dummy): Likewise.
479 * include/cln/sfloat.h (cl_SF_classes_dummy, cl_SF_classes_dummy):
481 * include/cln/string.h (cl_string_debug_dummy): Likewise.
482 * include/cln/univpoly.h (cl_UP_debug_dummy): Likewise.
483 * src/float/base/cl_ieee.h (cl_ieee_dummy_NNN): Likewise.
485 Avoid g++ 3.1 warnings.
486 * src/base/cl_offsetof.h (offsetof): Redefine each time.
487 * src/base/digitseq/cl_DS.h: Include "cl_offsetof.h" after <gmp.h>.
489 Avoid g++ 3.1 warnings.
490 * src/base/hash/cl_hash.h (struct cl_heap_hashtable): Use typename
492 * src/base/hash/cl_hash1.h (struct cl_heap_hashtable_1): typedef
493 htxentry as a shortcut.
494 * src/base/hash/cl_hash2.h (struct cl_heap_hashtable_2): Likewise.
495 * src/base/hash/cl_hashset.h (struct cl_heap_hashtable_set): Likewise.
496 * src/base/hash/cl_hashuniq.h (struct cl_heap_hashtable_uniq):
499 2002-03-15 Bruno Haible <bruno@clisp.org>
501 * cln.tex: Document problem with GNU make 3.77.
502 Reported by Michael Somos <somos@grail.cba.csuohio.edu>.
504 2002-02-16 Richard Kreckel <kreckel@ginac.de>
506 * cln.m4: quote macro name.
507 Pointed out by Roberto Bagnara.
509 2002-01-20 Richard Kreckel <kreckel@ginac.de>
511 * autoconf/config.{guess,sub}: Update to GNU version 2002-01-02.
512 (the old one was broken on Linux/Mips.)
514 2002-01-04 Richard Kreckel <kreckel@ginac.de>
516 * autoconf/autoconf.m4f: get brutal in order to adhere to FHS.
517 * Version 1.1.4 released.
519 2002-01-03 Richard Kreckel <kreckel@ginac.de>
521 * autoconf/acinclude.m4: revamp MPN-matcher.
522 * autoconf/aclocal.m4: upgrade to autoconf-2.52 infrastructure,
523 sync with CLisp from CVS.
524 * autoconf/autoconf: Likewise.
525 * autoconf/autoconf.m4f: Likewise (new file).
526 * configure.ac: Likewise (new file, replaces configure.in).
527 * configure.in: Likewise (deleted, replaced by configure.ac).
528 * autoconf/config.{guess,sub}: Update to GNU version 2001-12-13.
529 * src/Makefile.in: made VPATH safe for autoconf-2.52.
530 * include/cln/config.h.in: Add __s390__.
532 2001-12-31 Richard Kreckel <kreckel@ginac.de>
534 * src/base/digitseq/cl_DS.h: <gmp.h> is not included extern "C"
535 any more since GMP4 has some C++ support in it.
537 2001-12-14 Richard Kreckel <kreckel@ginac.de>
539 * include/cln/modules.h, include/cln/object.h: add support for
541 * src/numtheory/cl_nt_sqrtmodp.cc: workaround for GCC2.x compiler-bug
542 on s390, provided by Gerhard Tonn.
544 2001-11-05 Richard Kreckel <kreckel@ginac.de>
546 * autoconf/ltmain.sh: Upgrade to libtool-1.4.2.
547 * autoconf/config.{guess,sub}: Update to GNU version 2001-09-07.
548 * Version 1.1.3 released.
550 2001-11-04 Bruno Haible <haible@clisp.cons.org>
552 Interoperability with gcc-3.0 -fuse-cxa-atexit.
553 * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add test whether
554 global destructors actually exist.
555 * include/cln/modules.h (CL_PROVIDE, CL_PROVIDE_END, CL_PROVIDE_END):
556 Don't hack the global destructors if there is no global destructors
559 2001-11-03 Richard Kreckel <kreckel@ginac.de>
561 * src/float/transcendental/cl_F_sinx.cc (sinx_naive): For small
562 values of x, return square(x) instead of x.
563 * src/float/transcendental/cl_F_sinhx.cc (sinhx_naive): Likewise.
565 2001-07-25 Richard Kreckel <kreckel@ginac.de>
567 * Version 1.1.2 released.
569 2001-07-24 Richard Kreckel <kreckel@ginac.de>
571 * src/base/hash/cl_hash.h: declare _cl_hashtable_iterator<htentry> a
572 friend of cl_heap_hashtable<htentry>.
574 2001-07-22 Richard Kreckel <kreckel@ginac.de>
576 * src/float/base/cl_ieee.cc: try to do magic to the FPU only if
577 _FPU_IEEE is really defined.
578 * include/cln/modules.h: change assembler labels from `label' to
579 `label:' on hppa, needed by Linux (see comment).
580 * autoconf/acinclude.m4: new file (for storing CLN-specific macros).
581 * Makefile.devel: adjusted.
582 * autoconf/aclocal.m4: regenerate.
583 * src/base/low/cl_low_mul.cc: moved POD variables that are declared
584 extern "C" elsewhere out of the namespace.
585 * src/base/low/cl_low_div.cc: Likewise.
587 2001-06-08 Bruno Haible <haible@clisp.cons.org>
589 * autoconf/config.{guess,sub}: Update to GNU version 2001-05-11.
590 * autoconf/aclocal.m4: Upgrade to libtool-1.4.
591 * autoconf/ltmain.sh: Likewise.
592 * autoconf/ltconfig: Remove file.
593 * autoconf/install-sh: New file.
594 * configure.in: Add AC_CONFIG_AUX_DIR call.
596 2001-06-05 Richard Kreckel <kreckel@ginac.de>
598 * tests/tests.cc: resolve namespace ambiguity about strcmp().
600 2001-05-31 Richard Kreckel <kreckel@ginac.de>
602 * Version 1.1.1 released.
604 2001-05-28 Richard Kreckel <kreckel@ginac.de>
606 * cln/cln.tex: documented problems with shared library on Sparc
607 using gcc older than 2.95.3.
608 * configure.in: Fixed typos in versioning docu.
610 2001-05-25 Bruno Haible <haible@clisp.cons.org>
612 * src/base/digitseq/cl_asm_arm_.cc: Use #0x instead of #& to designate
613 hexadecimal constants.
615 2001-05-25 Richard Kreckel <kreckel@ginac.de>
617 * autoconf/floatparam.c (double_wordorder_bigendian_p): new symbol.
618 * src/float/dfloat/cl_DF.h: Check for double_wordorder_bigendian_p.
619 * Removed LiDIA interface since that is now outdated (namespace cln)
620 and maintained elsewhere.
621 * Adjusted dates and final touches for 1.1.1.
623 2001-05-19 Richard Kreckel <kreckel@ginac.de>
625 * INSTALL: Update toolchain info: no egcs, some more platforms.
626 * doc/cln.tex: Likewise.
628 2001-05-18 Richard Kreckel <kreckel@ginac.de>
630 * src/base/cl_low.h: prepended variables declared inside macros
631 with underscore. Fixes equal_hashcode() on various platforms.
633 2001-04-25 Richard Kreckel <kreckel@ginac.de>
635 * src/base/cl_low.h: Added several checks if NO_ASM is defined, so
636 this definition becomes actually useful. This is needed for
637 compilation on Arm until somebody fixes the assembler files for Arm.
638 * src/base/digitseq/cl_asm.h: Likewise.
639 * src/base/digitseq/cl_asm_.cc: Likewise.
640 * */Makefile.in: Added `override' in front of `CPPFLAGS +=' so
641 one can say `make CPPFLAGS=-DFOOBAR'.
643 2001-03-26 Arvid Norberg <c99ang@cs.umu.se>
645 * src/base/random/cl_random_from.cc: ported to beos.
647 2001-03-05 Richard Kreckel <kreckel@ginac.de>
649 * include/cln/modules.h (CL_JUMP_TO): Fix IA64 brokenness.
651 2001-01-28 Richard Kreckel <kreckel@ginac.de>
653 * include/cln/number.h (cl_as_N): Remove bogus comment.
655 2001-01-22 Richard Kreckel <kreckel@ginac.de>
657 * configure.in: Make build in separate builddir possible (again).
659 2001-01-22 Richard Kreckel <kreckel@ginac.de>
661 * include/cln/*.h: Change signatures of all classes' methods
662 cln::cl_foo::operator new(size_t, cl_foo*) to
663 cln::cl_foo::operator new(size_t, void*) so one can declare
664 std::vector<cln::cl_foo>, std::list<cln::cl_foo> etc. for
665 certain STL implementations (like libstdc++-v3).
667 2000-12-14 Richard Kreckel <kreckel@ginac.de>
669 * Version 1.1 released.
671 2000-12-13 Richard Kreckel <kreckel@ginac.de>
673 * */*: cl_istream -> std::istream, cl_ostream -> std::ostream.
675 2000-12-05 Richard Kreckel <kreckel@ginac.de>
677 * Makefile.in, src/Makefile.in, doc/Makefile.in: Use mkdir -p.
678 * include/cln/version.h.in, src/base/verion.cc: New files.
679 * configure.in: Generate include/cln/version.h.
680 * cln.m4: Rewrote it. Check result of cln-config without compiling.
681 Do cross-check library version and header version information.
683 2000-12-02 Christian Bauer <cbauer@ginac.de>
685 * Makefile.in, src/Makefile.in, doc/Makefile.in: Added $DESTDIR.
686 * cln.m4, cln.spec.in: some minor fixes with respect to RPM package
689 2000-11-24 Richard Kreckel <kreckel@ginac.de>
691 * */*: Removed problematic stdin, stdout and stderr definitions.
692 Use std::cin, std::cout, std::cerr instead (obsoletes 2000-10-29).
694 2000-11-20 Bruno Haible
696 * cln-config.1: change title.
698 2000-11-18 Richard Kreckel <kreckel@ginac.de>
701 * doc/cln.tex: Document package tools cln-config and cln.m4.
702 * Makefile.in: Care about cln.m4.
704 2000-11-17 Richard Kreckel <kreckel@ginac.de>
706 * cln-config.1: added manpage, as required by a couple of distros.
707 * Makefile.in, doc/Makefile.in: target install depends on installdirs.
709 2000-11-16 Richard Kreckel <kreckel@ginac.de>
711 * autoconf/aclocal.m4 (CL_GMP_SET_UINTD): New macro...
712 * configure.in: ...used here.
713 * include/cln/config.h.in: Put in macros defined by CL_GMP_SET_UINTD...
714 * include/cln/types.h: ...used here.
715 * autoconf/acgeneral.m4, autoconf/aclocal.m4: Adhere to FHS.
717 2000-11-13 Richard Kreckel <kreckel@ginac.de>
719 * src/base/digitseq/cl_asm.h: Test if (intDsize==32) for MIPS and HPPA,
720 in order to guard against an accidented configuration.
721 * src/integer/conv/cl_I_to_digits.cc (table): member b_hoch_k of
722 struct power_table_entry initialized as ULL instead of as UL, if
723 intDsize==64 (caused misprinting on MIPS w/ GMP).
724 * src/base/cl_macros.h (minus_bitm, bitc): implemented ULL, if
726 * src/integer/bitwise/cl_I_mkfx.cc (mkf_extract): Likewise.
727 * src/integer/conv/cl_I_from_L.cc (cl_I_from_L): Added trival
728 generation of Bignum for intDsize==64 and a notreached-check at end.
729 * autoconf/config.guess, autoconf/config.sub: updated from FSF.
730 * include/cln/config.h.in: Prepared support for IA64.
731 * include/cln/types.h: Likewise.
732 * include/cln/object.h: Likewise.
733 * include/cln/modules.h: Likewise.
734 * src/base/cl_macros.h (nonreturning_function): Likewise (NUE's
735 compiler claims __GNUC_MINOR__==9).
737 2000-11-03 Richard Kreckel <kreckel@ginac.de>
739 * src/base/cl_macros.h (bit, minus_bit): changed criterion for ULL from
740 HAVE_DD to HAVE_FAST_LONGLONG.
741 * src/base/cl_macros.h (bitm): implemented ULL, if HAVE_FAST_LONGLONG.
742 * src/base/cl_low.h: actually no need to include "cln/types.h" here.
743 * src/base/cl_low.h (logcount_64): always ULL, independent of HAVE_DD.
744 * src/base/random/cl_UL_random.cc (random32): a is always ULL.
746 2000-11-01 Richard Kreckel <kreckel@ginac.de>
748 * include/cln/object.h (cl_combine): define additional signatures, if
749 HAVE_LONGLONG is defined, in order to keep the compiler happy.
750 * src/base/cl_macros.h: include "cln/types.h", since we need HAVE_DD...
751 * src/base/cl_macros.h (bit): ...for this macro...
752 * src/base/cl_macros.h (minus_bit): ...and this one.
753 * src/base/cl_low.h: include "cln/types.h", since we need HAVE_DD...
754 * src/base/cl_low.h (logcount_64): ...for this macro.
755 * src/base/random/cl_UL_random.cc (random32): if HAVE_DD a is an ULL.
756 * src/integer/gcd/cl_I_gcd_aux2.cc (floorDD): fixed algorithmic bug.
757 that turned up when intDsize==32 and cl_word_size==64.
758 * src/float/dfloat/elem/cl_DF_div.cc (operator/): fixed a missing cast
759 to uint64 that turned up when intDsize==32 and cl_word_size==64.
761 2000-10-29 Richard Kreckel <kreckel@ginac.de>
763 * src/real/input/cl_R_read.cc, src/complex/input/cl_N_read.cc:
764 #undef stderr, if it's defined so cln::stderr isn't confused.
765 * src/base/input/cl_read_globals.cc: stdin should not be extern.
767 2000-09-05 Richard Kreckel <kreckel@ginac.de>
769 * include/cln/number.h (As): Fix it in namespace by suffixing `_As'
770 to the appropiate method instead of prefixing `as_'.
771 * src/complex/misc/cl_N_as.cc (cl_N_As): Likewise.
772 * src/real/misc/cl_R_as.cc (cl_R_As): Likewise.
773 * src/rational/misc/cl_RA_as.cc (cl_RA_As): Likewise.
774 * src/integer/misc/cl_I_as.cc (cl_I_As): Likewise.
775 * src/float/misc/cl_F_as.cc (cl_F_As): Likewise.
776 * src/float/sfloat/misc/cl_SF_as.cc (cl_SF_As): Likewise.
777 * src/float/lfloat/misc/cl_LF_as.cc (cl_LF_As): Likewise.
778 * src/float/ffloat/misc/cl_FF_as.cc (cl_FF_As): Likewise.
779 * src/float/dfloat/misc/cl_DF_as.cc (cl_DF_As): Likewise.
781 2000-09-05 Richard Kreckel <kreckel@ginac.de>
783 * src/complex/transcendental/cl_C_expt_C.cc (expt): fix logic for
786 2000-08-30 Richard Kreckel <kreckel@ginac.de>
788 * include/cln/number.h, cl_number::_as_cl_private_thing(): removed.
789 Rearranged for a clearer distinction between macros and remaining
790 identifiers, so Cint can parse it smoothly.
792 2000-08-29 Richard Kreckel <kreckel@ginac.de>
794 * include/cln/number.h, the(const cl_number& x): New template
797 2000-08-29 Richard Kreckel <kreckel@ginac.de>
799 * */*: Pushed CLN into a namespace `cln'. While doing so, the
800 following identifiers got their poor-man's namespace (i.e. the
801 prefix `cl_') stripped off:
802 cl_catalanconst() -> catalanconst()
803 cl_compare() -> compare()
804 cl_cos_sin() -> cos_sin()
805 cl_cos_sin_t -> cos_sin_t
806 cl_cosh_sinh() -> cosh_sinh()
807 cl_cosh_sinh_t -> cosh_sinh_t
808 cl_decoded_dfloat -> decoded_dfloat
809 cl_decoded_ffloat -> decoded_ffloat
810 cl_decoded_float -> decoded_float
811 cl_decoded_lfloat -> decoded_lfloat
812 cl_decoded_sfloat -> decoded_sfloat
813 cl_default_float_format -> default_float_format
814 cl_default_print_flags -> default_print_flags
815 cl_default_random_state -> default_random_state
816 cl_double_approx() -> double_approx()
817 cl_equal() -> equal()
818 cl_equal_hashcode() -> equal_hashcode()
819 cl_eulerconst() -> eulerconst()
820 cl_find_modint_ring() -> find_modint_ring()
821 cl_find_univpoly_ring() -> find_univ_poly_ring()
822 cl_float_approx() -> float_approx
823 cl_float_format() -> float_format()
824 cl_float_format_t -> float_format_t
825 cl_free_hook() -> free_hook()
826 cl_hermite() -> hermite()
827 cl_laguerre() -> laguerre()
828 cl_legendre() -> legandre()
829 cl_malloc_hook() -> malloc_hook()
831 cl_tschebychev() -> tschebychev()
833 NB: For functions these changes includes all signatures.
834 * include/*: moved to include/cln/*, stripped `cl_' off filenames.
835 * cln-config.in: new file.
837 2000-08-26 Bruno Haible <haible@clisp.cons.org>
839 * autoconf/acgeneral.m4 (AC_OUTPUT): Use braces in exec_prefix default
842 2000-08-18 Bruno Haible <haible@clisp.cons.org>
844 * include/cl_univpoly_modint.h: Fix typo.
846 2000-07-13 Bruno Haible <haible@clisp.cons.org>
848 * src/float/input/cl_F_read_stream.cc (number_char_p): Accept '_',
849 used as precision marker for floats.
850 Reported by Keith Briggs (in 1998) and Thomas Roessler.
851 * src/integer/input/cl_I_read_stream.cc (number_char_p): Likewise.
852 * src/rational/input/cl_RA_read_stream.cc (number_char_p): Likewise.
853 * src/real/input/cl_R_read_stream.cc (number_char_p): Likewise.
854 * src/complex/input/cl_N_read_stream.cc (number_char_p): Likewise.
856 2000-06-22 Bruno Haible <haible@clisp.cons.org>
858 * include/cl_object.h: Rename cl_word_size to cl_pointer_size.
859 * include/cl_types.h (HAVE_FAST_LONGLONG): Also define on Irix6
861 (cl_word_size): New macro.
862 * src/float/sfloat/cl_SF.h: Use cl_pointer_size instead of
865 2000-05-31 Bruno Haible <haible@clisp.cons.org>
867 * tests/exam_I_floor.cc (integer_floor_tests): Add one more entry.
868 From a sample that fails with gcc-2.95.2 on Sparc.
869 * tests/exam_I_gcd.cc (integer_gcd_tests): Likewise.
871 2000-05-30 Richard Kreckel <kreckel@ginac.de>
873 * configure.in, autoconf/aclocal.m4 (CL_GMP_H_VERSION, CL_GMP_CHECK):
875 * configure.in, include/cl_config.h.in (CL_VERSION, CL_VERSION_MINOR,
876 CL_VERSION_PATCHLEVEL): New definitions.
877 * autoconf/config.guess, autoconf/config.sub, autoconf/ltconfig,
878 autoconf/ltmain.sh: updated from FSF (libtool 1.3.5, etc).
879 * src/Makefile.in, configure.in: release-variables renamed from
881 * configure.in: default to build both shared and static library
882 (i.e. default to the most common behaviour).
884 2000-05-29 Richard Kreckel <kreckel@ginac.de>
886 * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Added missing changequote
887 environment around the patch of 2000-05-23.
889 2000-05-29 Bruno Haible <haible@clisp.cons.org>
891 * autoconf/aclocal.m4 (CL_PROG_INSTALL): Fix typo.
892 Reported by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>.
894 2000-05-27 Richard Kreckel <kreckel@ginac.de>
896 * src/float/lfloat/algebraic/cl_LF_sqrt.cc,
897 src/base/digitseq/cl_DS_sqrt.cc: Readjusted break-even points.
899 2000-05-24 Richard Kreckel <kreckel@ginac.de>
901 * autoconf/config.*: Updated to new version from FSF
902 (the new libtool wants this).
903 * src/Makefile.in: added $(LDFLAGS) to link step.
904 * src/base/digitseq/cl_2DS_div.cc, cl_2DS_recip.cc: Readjusted
907 2000-05-23 Bruno Haible <haible@clisp.cons.org>
909 * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Determine host_cpu,
910 host_vendor, host_os correctly if $host has more than two hyphens.
912 2000-05-19 Richard Kreckel <kreckel@ginac.de>
914 * src/base/digitseq/cl_DS_mul.cc: Rearranged break-even points to
915 better match present-day CPUs whenever GMP3 is used.
916 * src/base/digitseq/cl_DS_div.cc: dto.
917 * src/TUNING: Added comment about order of tuning.
918 * configure, configure.in: Safer GMP3-detection.
919 * INSTALL.generic: Clarified behaviour of --with-gmp.
920 * autoconf/config.guess: updated from Clisp-2000-03-06 sources.
922 2000-05-04 Richard Kreckel <kreckel@ginac.de>
924 * gmp/: removed completely. From now on we are going to link
925 externally against libgmp3.0 or above!
926 * configure, configure.in, Makefile.in, */Makeflags: removed support
927 of internal gmp 2.0.2, like $GMP_INCLUDES, which should be done by
928 setting $CPPFLAGS instead.
929 * Makefile.in: Added libtool inter-library dependency for -lgmp and
930 conforming interface versioning (-version-info).
931 * autoconf/ltconfig, autoconf/ltmain.sh: Updated to newer versions
934 2000-02-22 Bruno Haible <haible@clisp.cons.org>
936 * src/base/digitseq/cl_asm_mips_.cc: Starting at argument 5 the
937 parameter passing was changed for the MIPS n32 ABI.
939 2000-01-24 Richard Kreckel <kreckel@ginac.de>
941 * gmp/*: Replaced the complete mpn sources with the ones from
942 Debian since they are maintained while the ones from FSF
943 aren't and there were problems on some architectures, PowerPC
944 in particular. See the file gmp/README.CLN. This way the
945 hard links in this directory have vanished, they were causing
946 trouble for people working in AFS. This became necessary for
947 Debian, because there it woudn't compile on PPC.
949 2000-01-13 Richard Kreckel <kreckel@ginac.de>
951 * Version 1.0.3 released.
953 2000-01-13 Richard Kreckel <kreckel@ginac.de>
955 * src/base/cl_macros.h (nonreturning_function): For egcs and newer
956 use __attribute__ ((__noreturn__)) instead of the __volatile__
958 (nonreturning): Remove macro.
959 * include/*: Minor fixes to stop -ansi -pedantic from complaining.
960 * include/cl_integer.h: (doublefactorial): New declaration.
961 * src/integer/misc/combin/cl_I_doublefactorial.cc: New file.
963 1999-12-18 Bruno Haible <haible@clisp.cons.org>
965 * autoconf/acgeneral.m4 (AC_ARG_PROGRAM): Create conftestsed using
967 * autoconf/ltconfig: Improve support for recent FreeBSD 3.
968 * include/cl_GV.h (cl_GV_vectorops): Change return type from 'T' to
969 'const T', to match definition in src/vector/cl_GV_number.cc.
970 Reported by Duncan Simpson <dps@io.stargate.co.uk>.
971 * gmp/mpn/Makefile.in (.S.lo): Use 'if', not '&&', because '&&' may
974 1999-09-07 Bruno Haible <haible@clisp.cons.org>
976 * Version 1.0.2 released.
978 1999-09-06 Bruno Haible <haible@clisp.cons.org>
980 * src/rational/cl_RA.h (integerp, ratiop): Instead of returning a
981 boolean expression, write alternatives ending with either
982 "return cl_true;" or "return cl_false;". This way, g++ does a
983 better job inlining it.
984 * src/float/cl_F.h (longfloatp): Likewise.
985 * src/real/cl_R.h (rationalp, integerp, floatp): Likewise.
986 * src/complex/cl_C.h (realp, complexp): Likewise.
988 1999-09-05 Bruno Haible <haible@clisp.cons.org>
990 * include/cl_integer.h (cl_equal_hashcode): New declaration.
991 * include/cl_rational.h (cl_equal_hashcode): New declaration.
992 * include/cl_sfloat.h (cl_equal_hashcode): New declaration.
993 * include/cl_ffloat.h (cl_equal_hashcode): New declaration.
994 * include/cl_dfloat.h (cl_equal_hashcode): New declaration.
995 * include/cl_lfloat.h (cl_equal_hashcode): New declaration.
996 * include/cl_float.h (cl_equal_hashcode): New declaration.
997 * include/cl_real.h (cl_equal_hashcode): New declaration.
998 * include/cl_complex.h (cl_equal_hashcode): New declaration.
999 * src/base/cl_N.h (equal_hashcode_low, equal_hashcode_one): New macros.
1000 * src/integer/misc/cl_I_eqhashcode.cc: New file.
1001 * src/rational/misc/cl_RA_eqhashcode.cc: New file.
1002 * src/float/sfloat/misc/cl_SF_eqhashcode.cc: New file.
1003 * src/float/ffloat/misc/cl_FF_eqhashcode.cc: New file.
1004 * src/float/dfloat/misc/cl_DF_eqhashcode.cc: New file.
1005 * src/float/lfloat/misc/cl_LF_eqhashcode.cc: New file.
1006 * src/float/misc/cl_F_eqhashcode.cc: New file.
1007 * src/real/misc/cl_R_eqhashcode.cc: New file.
1008 * src/complex/misc/cl_C_eqhashcode.cc: New file.
1009 * doc/cln.tex: Document `cl_equal_hashcode'.
1011 1999-09-05 Bruno Haible <haible@clisp.cons.org>
1013 * include/cl_ring.h (cl_number_ring_ops): Add `contains' member.
1014 (cl_number_ring): New class.
1015 (cl_specialized_number_ring<T>): Inherit from cl_number_ring.
1016 (instanceof): New function.
1017 * src/integer/ring/cl_I_ring.cc (cl_I_p): New function.
1018 * src/integer/misc/cl_I_as.cc (cl_I_p): Add comment.
1019 * src/rational/ring/cl_RA_ring.cc (cl_RA_p): New function.
1020 * src/rational/misc/cl_RA_as.cc (cl_RA_p): Add comment.
1021 * src/real/ring/cl_R_ring.cc (cl_R_p): New function.
1022 * src/real/misc/cl_R_as.cc (cl_R_p): Add comment.
1023 * src/complex/ring/cl_C_ring.cc (cl_N_p): New function.
1024 * src/complex/misc/cl_N_as.cc (cl_N_p): Add comment.
1025 * doc/cln.tex: Document `instanceof'.
1027 1999-09-05 Bruno Haible <haible@clisp.cons.org>
1029 * include/cl_rational.h (numerator, denominator): New declarations.
1030 * src/rational/elem/cl_RA_numerator.cc: New file.
1031 * src/rational/elem/cl_RA_denominator.cc: New file.
1032 * include/cl_integer.h (numerator, denominator): New inline functions.
1033 * doc/cln.tex: Document `numerator' and `denominator'.
1035 1999-09-05 Bruno Haible <haible@clisp.cons.org>
1037 * src/rational/algebraic/cl_RA_rootp.cc (rootp): Fix endless loop
1038 in the integer case.
1039 * src/rational/algebraic/cl_RA_rootp_I.cc (rootp): Likewise.
1041 1999-09-05 Bruno Haible <haible@clisp.cons.org>
1043 * include/cl_config.h.in: Support for sparc64 CPU.
1044 * include/cl_modules.h: Likewise.
1045 * include/cl_types.h: Likewise.
1046 * include/cl_object.h: Likewise.
1047 * include/cl_GV.h: Likewise.
1048 * src/Makefile.in: Likewise.
1049 * src/base/cl_alloca.h: Likewise.
1050 * src/base/cl_macros.h: Likewise.
1051 * src/base/cl_sysdep.h: Likewise.
1052 * src/base/cl_low.h: Likewise.
1053 * src/base/digitseq/cl_asm.h: Likewise.
1054 * src/base/digitseq/cl_asm_.cc: Likewise.
1055 * src/base/digitseq/cl_asm_sparc64.h: New file.
1056 * src/base/digitseq/cl_asm_sparc64_.cc: New file.
1057 * src/modinteger/cl_MI_int.h: Support for sparc64 CPU.
1058 * src/polynomial/elem/cl_UP_no_ring.cc: Likewise.
1059 * src/polynomial/elem/cl_UP_GF2.h: Likewise.
1060 * src/polynomial/elem/cl_asm_GF2.cc: Likewise.
1062 1999-09-04 Bruno Haible <haible@clisp.cons.org>
1064 * src/base/digitseq/cl_asm_sparc_.cc (orc2_loop_up, orc2_loop_down):
1065 Use the `orn' instruction.
1067 1999-08-14 Bruno Haible <haible@clisp.cons.org>
1069 Assume all platforms have <stdlib.h> and clock_t.
1070 * configure.in: Don't call CL_STDLIB_H and CL_CLOCK_T.
1071 * src/base/cl_base_config.h.in (CLOCK_T): Remove definition.
1072 * src/base/random/cl_random_from.cc: Use clock_t instead of CLOCK_T.
1073 * src/timing/cl_t_config.h.in (CLOCK_T): Remove definition.
1074 * src/timing/cl_t_current2.cc: Use clock_t instead of CLOCK_T.
1076 1999-07-18 Bruno Haible <haible@clisp.cons.org>
1078 * gmp/config.guess: Link to autoconf/config.guess.
1079 gmp/config.sub: Link to autoconf/config.sub.
1080 Needed for Win32 platforms.
1082 1999-07-17 Bruno Haible <haible@clisp.cons.org>
1084 * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Distinguish "sparc" and
1085 "sparc64" according to the C compiler, not the uname result.
1087 1999-06-17 Bruno Haible <haible@clisp.cons.org>
1089 * src/base/digitseq/cl_asm_sparc_.cc (compare_loop_up): Fix
1090 COUNTER_LOOPS version, fortunately not used yet.
1092 * include/cl_modules.h: Prepare for gcc version 3.
1094 1999-06-12 Bruno Haible <haible@clisp.cons.org>
1096 * src/rational/elem/cl_RA_plus.cc, src/rational/elem/cl_RA_minus.cc:
1097 Change the last call from I_I_to_RT to I_I_to_RA.
1099 1999-06-09 Bruno Haible <haible@clisp.cons.org>
1101 * Version 1.0.1 released.
1103 1999-06-09 Bruno Haible <haible@clisp.cons.org>
1105 * src/integer/cl_I.h (pFN_maxlength_digits_at): Define also when
1108 1999-06-08 Bruno Haible <haible@clisp.cons.org>
1110 * autoconf/intparam.c (printf_underscored): Change argument type to
1112 * include/cl_modules.h (CL_OUTPUT_LABEL, CL_JUMP_TO): New macros.
1113 (CL_PROVIDE, CL_PROVIDE_END): Use them.
1114 * include/cl_string.h (cl_heap_string::operator new): Return 1, not 0.
1115 * include/cl_GV.h (cl_GV_inner<T>::operator new): Likewise.
1116 * src/base/ring/cl_no_ring.cc (dummy_canonhom, dummy_expt_pos): Don't
1117 cast a cl_I to void here. Works around a bug in g++-2.95.
1118 * src/complex/misc/cl_C_class.cc: Include "cl_C.h".
1119 * src/polynomial/elem/cl_UP_no_ring.cc (dummy_canonhom,
1120 dummy_expt_pos): Don't cast a cl_I to void here. Works around a bug
1122 * src/polynomial/elem/cl_asm_sparc_GF2.cc (DECLARE_FUNCTION): New
1124 * src/rational/misc/cl_RA_class.cc: Include "cl_RA.h".
1125 * src/vector/cl_GV_I.cc (cl_heap_GV_I_general::operator new,
1126 DEFINE_cl_heap_GV_I_bits): Return 1, not 0.
1127 * src/vector/cl_GV_number.cc (cl_heap_GV_number_general::operator new):
1130 1999-06-01 Bruno Haible <haible@clisp.cons.org>
1132 * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Canonicalize alpha
1135 1999-05-29 Bruno Haible <haible@clisp.cons.org>
1137 * src/base/digitseq/cl_asm_i386_.cc (DECLARE_FUNCTION): Treat
1138 OpenBSD like NetBSD.
1139 * src/base/digitseq/cl_asm_sparc_.cc (DECLARE_FUNCTION): Likewise.
1140 * src/base/digitseq/cl_asm_m68k_.cc (DECLARE_FUNCTION): Treat
1141 OpenBSD like NetBSD, and Linux/ELF like SVR4.
1143 1999-05-16 Bruno Haible <haible@clisp.cons.org>
1145 * src/base/cl_low.h (integerlength32) [__rs6000__]: Use old assembler
1146 syntax on AIX systems and new assembler syntax on non-AIX systems.
1148 1999-05-01 Bruno Haible <haible@clisp.cons.org>
1150 * autoconf/config.guess, autoconf/config.sub: Upgrade to newest
1151 version from GNU CVS.
1153 1999-04-24 Bruno Haible <haible@clisp.cons.org>
1155 * src/integer/bitwise/cl_I_logand.cc (logand): Optimize the case when
1156 either operand is a positive fixnum, O(1) instead of O(N).
1157 * src/integer/bitwise/cl_I_lognand.cc (lognand): Likewise.
1158 * src/integer/bitwise/cl_I_logandc2.cc (logandc2): Likewise for the
1161 1999-04-14 Bruno Haible <haible@clisp.cons.org>
1163 * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add check whether
1164 ctor/dtor needs to be exported.
1165 * include/cl_config.h.in (CL_NEED_GLOBALIZE_CTORDTOR): New macro.
1166 * include/cl_modules.h (CL_GLOBALIZE_JUMP_LABEL): Renamed from
1168 (CL_GLOBALIZE_LABEL): New macro.
1169 (CL_GLOBALIZE_CTORDTOR_LABEL): Renamed from CL_GLOBALIZE_ASM_LABEL.
1170 (CL_PROVIDE): Update.
1172 1999-04-12 Bruno Haible <haible@clisp.cons.org>
1174 * src/Makefile.in ($(ASMFILES_S)): On HPPA, ignore preprocessing
1175 errors ("unterminated string or character constant").
1176 ($(ASMFILES_LO)): On HPPA, try with various settings of
1177 COMPILER_PATH, in order to try /usr/ccs/bin/as and /bin/as.
1179 1999-04-11 Bruno Haible <haible@clisp.cons.org>
1181 * INSTALL: Mention gmp problems on MIPS.
1182 * doc/cln.tex: Likewise.
1184 1999-03-24 Mumit Khan <khan@xraylith.wisc.edu>
1186 * src/Makefile.in (SUBDIRS): Filter out CVS and RCS directories from
1188 * include/cl_modules.h (CL_GLOBALIZE_LABEL): Define for Win32.
1189 (CL_GLOBALIZE_ASM_LABEL): New macro.
1190 (CL_PROVIDE): Use it.
1191 * src/base/random/cl_random_from.cc: Handle WIN32.
1192 * src/timing/cl_t_current.cc: Likewise.
1194 1999-03-15 Bruno Haible <haible@clisp.cons.org>
1196 * autoconf/intparam.c (main7): Use %lX instead of %X for a `long'.
1197 (main8): Adapt for C++.
1199 1999-03-09 Bruno Haible <haible@clisp.cons.org>
1201 * INSTALL: Mention egcs-1.1 problems on Sparc.
1202 * doc/cln.tex: Likewise.
1204 1999-03-08 Bruno Haible <haible@clisp.cons.org>
1206 * autoconf/aclocal.m4 (CL_FPU_CONTROL): Fix the "checking for"
1209 1999-02-25 Bruno Haible <haible@clisp.cons.org>
1211 * autoconf/aclocal.m4: In test programs, declare `int main()', not
1214 * lidia-interface/src/interfaces/integers/cln/bigint.c
1215 (bigint_to_string): Fix for negative arguments.
1217 * src/base/cl_low.h: Check for `__sparc__', not `SPARC'.
1218 * src/base/cl_alloca.h: Likewise.
1220 * src/base/cl_low.h: Eliminate CLISP style "# " comments.
1221 * src/base/digitseq/cl_asm_arm_.cc,
1222 src/base/digitseq/cl_asm_mips_.cc,
1223 src/float/dfloat/elem/cl_DF_mul.cc: Likewise.
1225 * src/modinteger/cl_MI_pow2.h,
1226 src/modinteger/cl_MI_pow2m1.h,
1227 src/modinteger/cl_MI_pow2p1.h: Workaround g++-2.7.2 inlining bug.
1229 1999-01-18 Bruno Haible <haible@clisp.cons.org>
1231 * autoconf/acgeneral.m4,
1232 autoconf/acspecific.m4: Upgrade to autoconf-2.13.
1233 * autoconf/config.guess, autoconf/config.sub: Likewise.
1234 * autoconf/aclocal.m4 (CL_ALLOCA): Test for _MSC_VER and alloca being
1235 a macro. Use ${ac_objext}.
1236 * src/base/cl_macros.h (alloca): Put _MSC_VER test before the others,
1237 conforming with CL_ALLOCA.
1239 1999-01-12 Bruno Haible <haible@clisp.cons.org>
1241 * Version 1.0 released.