1 2004-01-01 Richard B. Kreckel <kreckel@ginac.de>
3 * Version 1.1.6 released.
5 2004-01-01 Richard B. Kreckel <kreckel@ginac.de>
7 * include/cln/univpoly.h, include/cln/univpoly_complex.h,
8 include/cln//univpoly_integer.h, include/cln/univpoly_modint.h,
9 include/cln/univpoly_rational.h, include/cln/univpoly_real.h,
10 src/polynomial/elem/cl_UP_GF2.h, src/polynomial/elem/cl_UP_MI.h,
11 src/polynomial/elem/cl_UP_gen.h, src/polynomial/elem/cl_UP_no_ring.cc,
12 src/polynomial/elem/cl_UP_number.h (ldegree): New function.
13 * doc/cln.tex: Document `ldegree'.
15 2003-12-29 Richard B. Kreckel <kreckel@ginac.de>
17 Rework of autoconfiscation infrastructure
18 * autoconf/config.{guess,sub}: Update to GNU version 2003-10-07.
19 * autoconf/ltmain.sh: Update to GNU version 1.4.3.
20 * autoconf/autoconf: Remove (from now on we assume autoconf is
21 installed properly on the sytem).
22 * autoconf/autoconf.m4: Likewise.
23 * autoconf/autoconf.m4f: Likewise.
24 * autoconf/acgeneral.m4: Likewise.
25 * autoconf/acspecific.m4: Likewise.
26 * autoconf/aclocal.m4: Regenerate.
27 * autoconf/acinclude.m4: Remove (while moving the macros...)
28 * m4/gmp.m4: New file (...to here).
29 * Makefile.devel: Update to new scheme.
30 * configure.ac: Likewise.
31 * include/cln/GV_integer.h: Assume template specializations work.
32 * include/cln/GV_modinteger.h: Likewise.
33 * include/cln/config.h.in: Likewise, and drop HAVE_BOOL.
34 * src/base/cl_base_config.h.in: Drop support for obsolete ftime(3).
35 * src/base/random/cl_random_from.cc: Likewise.
36 * src/timing/cl_base_config.h.in: Likewise.
37 * src/timing/cl_t_current.cc: Likewise.
39 2003-12-27 Richard B. Kreckel <kreckel@ginac.de>
41 * src/polynomial/cl_UP_gen.h (gen_minus): Fix case where first
43 * src/polynomial/cl_UP_MI.h (modint_minus): Likewise.
44 * src/polynomial/cl_UP_number.h (num_minus): Likewise.
45 Reported by Munagala Ramanath <amberarrow@yahoo.com>.
47 2003-12-02 Richard B. Kreckel <kreckel@ginac.de>
49 * examples/perfnum.cc: update to presumed 40th Mersenne prime.
51 2003-11-20 Christian Bauer <cbauer@ginac.de>
53 Added pkg-config support
54 * cln.pc.in: New file.
55 * Makefile.in: Take care of cln.pc.
56 * configure.ac: Likewise.
58 2003-08-06 Richard B. Kreckel <kreckel@ginac.de>
60 * src/numtheory/cl_nt_sqrtmodp.cc: #undef _R.
61 Reported by Andrew Rechnitzer <A.Rechnitzer@ms.unimelb.edu.au>.
63 2003-08-01 Richard Kreckel <kreckel@ginac.de>
65 More dependent base resolution issues
66 * src/base/hash/cl_hash.h (cl_heap_hashtable<T>::iterator()):
67 portable syntactic simplification.
68 * src/base/hash/cl_hashset.h: Preceed inherited members with this->.
69 * src/base/hash/cl_hash1.h: Likewise for member functions.
70 * src/base/hash/cl_hash2.h: Likewise.
71 * src/base/hash/cl_hashuniq.h: Likewise.
72 * src/base/hash/cl_hashuniqweak.h: Likewise.
73 * src/base/hash/cl_hash.h: Revert explicit static member function
74 lookup since that was GCC's fault.
75 * src/base/hash/cl_hash2weak.h: Likewise.
76 * src/base/hash/cl_hashuniqweak.h: Likewise.
78 2003-06-29 Richard Kreckel <kreckel@ginac.de>
80 Dependent base resolution needed for GCC-3.4
81 * include/cln/GV.h: Preceed inherited members with this->.
82 * include/cln/SV.h: Likewise.
83 * include/cln/object.h: Likewise.
84 * src/base/hash/cl_hash1.h: Likewise.
85 * src/base/hash/cl_hash1weak.h: Likewise.
86 * src/base/hash/cl_hash2.h: Likewise.
87 * src/base/hash/cl_hashuniq.h: Likewise.
88 * src/base/hash/cl_hash.h: Make lookup of static member function
90 * src/base/hash/cl_hash2weak.h: Likewise.
91 * src/base/hash/cl_hashuniqweak.h: Likewise.
92 * src/modinteger/cl_MI.cc: Make shell-comment a C-comment. Geez.
94 2003-02-24 Bruno Haible <bruno@clisp.org>
96 * src/base/random/cl_random_from.cc (random_state::random_state): Add
98 * src/modinteger/cl_MI.cc: #undef _R.
99 Reported by Erann Gat <gat@jpl.nasa.gov>.
101 2002-08-03 Joerg Arndt <jj@suse.de>
103 * include/cln/config.h.in: Add support for x86_64 CPU.
104 * include/cln/modules.h: Likewise.
105 * include/cln/types.h: Likewise.
106 * include/cln/object.h: Likewise.
108 2002-06-08 Richard Kreckel <kreckel@ginac.de>
110 * src/base/digitseq/cl_asm.h: ensure intCsize==16 when including
111 m68k Assembler routines.
112 * src/base/digitseq/cl_asm_.cc: Likewise.
114 2002-05-28 Richard Kreckel <kreckel@ginac.de>
116 * Version 1.1.5 released.
118 2002-05-27 Richard Kreckel <kreckel@ginac.de>
120 * include/cln/modules.h (CL_CONCATENATE): New macro.
122 2002-05-10 Richard Kreckel <kreckel@ginac.de>
124 * doc/cln.tex (Building the library): Update recommendations for
125 compiling on Tru64 using g++ 3.0 and 3.1.
126 * README: Update homepage.
128 2002-05-05 Bruno Haible <bruno@clisp.org>
130 * doc/cln.tex (Building the library): Give some recommendations for
133 Force link-time references despite optimizations done by g++ 2.95
135 * include/cln/modules.h (CL_FORCE_LINK): New macro.
137 * include/cln/GV_integer.h (cl_GV_I_debug_dummy): Likewise.
138 * include/cln/GV_number.h (cl_GV_number_debug_dummy): Likewise.
139 * include/cln/SV_number.h (cl_SV_number_debug_dummy): Likewise.
140 * include/cln/SV_ringelt.h (cl_SV_ringelt_debug_dummy): Likewise.
141 * include/cln/dfloat.h (cl_DF_debug_dummy): Likewise.
142 * include/cln/ffloat.h (cl_FF_classes_dummy, cl_FF_debug_dummy):
144 * include/cln/integer.h (cl_I_classes_dummy, cl_I_debug_dummy):
146 * include/cln/lfloat.h (cl_LF_debug_dummy): Likewise.
147 * include/cln/modinteger.h (cl_MI_debug_dummy): Likewise.
148 * include/cln/rational.h (cl_RA_debug_dummy): Likewise.
149 * include/cln/real.h (cl_R_debug_dummy): Likewise.
150 * include/cln/ring.h (cl_ring_debug_dummy): Likewise.
151 * include/cln/sfloat.h (cl_SF_classes_dummy, cl_SF_classes_dummy):
153 * include/cln/string.h (cl_string_debug_dummy): Likewise.
154 * include/cln/univpoly.h (cl_UP_debug_dummy): Likewise.
155 * src/float/base/cl_ieee.h (cl_ieee_dummy_NNN): Likewise.
157 Avoid g++ 3.1 warnings.
158 * src/base/cl_offsetof.h (offsetof): Redefine each time.
159 * src/base/digitseq/cl_DS.h: Include "cl_offsetof.h" after <gmp.h>.
161 Avoid g++ 3.1 warnings.
162 * src/base/hash/cl_hash.h (struct cl_heap_hashtable): Use typename
164 * src/base/hash/cl_hash1.h (struct cl_heap_hashtable_1): typedef
165 htxentry as a shortcut.
166 * src/base/hash/cl_hash2.h (struct cl_heap_hashtable_2): Likewise.
167 * src/base/hash/cl_hashset.h (struct cl_heap_hashtable_set): Likewise.
168 * src/base/hash/cl_hashuniq.h (struct cl_heap_hashtable_uniq):
171 2002-03-15 Bruno Haible <bruno@clisp.org>
173 * cln.tex: Document problem with GNU make 3.77.
174 Reported by Michael Somos <somos@grail.cba.csuohio.edu>.
176 2002-02-16 Richard Kreckel <kreckel@ginac.de>
178 * cln.m4: quote macro name.
179 Pointed out by Roberto Bagnara.
181 2002-01-20 Richard Kreckel <kreckel@ginac.de>
183 * autoconf/config.{guess,sub}: Update to GNU version 2002-01-02.
184 (the old one was broken on Linux/Mips.)
186 2002-01-04 Richard Kreckel <kreckel@ginac.de>
188 * autoconf/autoconf.m4f: get brutal in order to adhere to FHS.
189 * Version 1.1.4 released.
191 2002-01-03 Richard Kreckel <kreckel@ginac.de>
193 * autoconf/acinclude.m4: revamp MPN-matcher.
194 * autoconf/aclocal.m4: upgrade to autoconf-2.52 infrastructure,
195 sync with CLisp from CVS.
196 * autoconf/autoconf: Likewise.
197 * autoconf/autoconf.m4f: Likewise (new file).
198 * configure.ac: Likewise (new file, replaces configure.in).
199 * configure.in: Likewise (deleted, replaced by configure.ac).
200 * autoconf/config.{guess,sub}: Update to GNU version 2001-12-13.
201 * src/Makefile.in: made VPATH safe for autoconf-2.52.
202 * include/cln/config.h.in: Add __s390__.
204 2001-12-31 Richard Kreckel <kreckel@ginac.de>
206 * src/base/digitseq/cl_DS.h: <gmp.h> is not included extern "C"
207 any more since GMP4 has some C++ support in it.
209 2001-12-14 Richard Kreckel <kreckel@ginac.de>
211 * include/cln/modules.h, include/cln/object.h: add support for
213 * src/numtheory/cl_nt_sqrtmodp.cc: workaround for GCC2.x compiler-bug
214 on s390, provided by Gerhard Tonn.
216 2001-11-05 Richard Kreckel <kreckel@ginac.de>
218 * autoconf/ltmain.sh: Upgrade to libtool-1.4.2.
219 * autoconf/config.{guess,sub}: Update to GNU version 2001-09-07.
220 * Version 1.1.3 released.
222 2001-11-04 Bruno Haible <haible@clisp.cons.org>
224 Interoperability with gcc-3.0 -fuse-cxa-atexit.
225 * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add test whether
226 global destructors actually exist.
227 * include/cln/modules.h (CL_PROVIDE, CL_PROVIDE_END, CL_PROVIDE_END):
228 Don't hack the global destructors if there is no global destructors
231 2001-11-03 Richard Kreckel <kreckel@ginac.de>
233 * src/float/transcendental/cl_F_sinx.cc (sinx_naive): For small
234 values of x, return square(x) instead of x.
235 * src/float/transcendental/cl_F_sinhx.cc (sinhx_naive): Likewise.
237 2001-07-25 Richard Kreckel <kreckel@ginac.de>
239 * Version 1.1.2 released.
241 2001-07-24 Richard Kreckel <kreckel@ginac.de>
243 * src/base/hash/cl_hash.h: declare _cl_hashtable_iterator<htentry> a
244 friend of cl_heap_hashtable<htentry>.
246 2001-07-22 Richard Kreckel <kreckel@ginac.de>
248 * src/float/base/cl_ieee.cc: try to do magic to the FPU only if
249 _FPU_IEEE is really defined.
250 * include/cln/modules.h: change assembler labels from `label' to
251 `label:' on hppa, needed by Linux (see comment).
252 * autoconf/acinclude.m4: new file (for storing CLN-specific macros).
253 * Makefile.devel: adjusted.
254 * autoconf/aclocal.m4: regenerate.
255 * src/base/low/cl_low_mul.cc: moved POD variables that are declared
256 extern "C" elsewhere out of the namespace.
257 * src/base/low/cl_low_div.cc: Likewise.
259 2001-06-08 Bruno Haible <haible@clisp.cons.org>
261 * autoconf/config.{guess,sub}: Update to GNU version 2001-05-11.
262 * autoconf/aclocal.m4: Upgrade to libtool-1.4.
263 * autoconf/ltmain.sh: Likewise.
264 * autoconf/ltconfig: Remove file.
265 * autoconf/install-sh: New file.
266 * configure.in: Add AC_CONFIG_AUX_DIR call.
268 2001-06-05 Richard Kreckel <kreckel@ginac.de>
270 * tests/tests.cc: resolve namespace ambiguity about strcmp().
272 2001-05-31 Richard Kreckel <kreckel@ginac.de>
274 * Version 1.1.1 released.
276 2001-05-28 Richard Kreckel <kreckel@ginac.de>
278 * cln/cln.tex: documented problems with shared library on Sparc
279 using gcc older than 2.95.3.
280 * configure.in: Fixed typos in versioning docu.
282 2001-05-25 Bruno Haible <haible@clisp.cons.org>
284 * src/base/digitseq/cl_asm_arm_.cc: Use #0x instead of #& to designate
285 hexadecimal constants.
287 2001-05-25 Richard Kreckel <kreckel@ginac.de>
289 * autoconf/floatparam.c (double_wordorder_bigendian_p): new symbol.
290 * src/float/dfloat/cl_DF.h: Check for double_wordorder_bigendian_p.
291 * Removed LiDIA interface since that is now outdated (namespace cln)
292 and maintained elsewhere.
293 * Adjusted dates and final touches for 1.1.1.
295 2001-05-19 Richard Kreckel <kreckel@ginac.de>
297 * INSTALL: Update toolchain info: no egcs, some more platforms.
298 * doc/cln.tex: Likewise.
300 2001-05-18 Richard Kreckel <kreckel@ginac.de>
302 * src/base/cl_low.h: prepended variables declared inside macros
303 with underscore. Fixes equal_hashcode() on various platforms.
305 2001-04-25 Richard Kreckel <kreckel@ginac.de>
307 * src/base/cl_low.h: Added several checks if NO_ASM is defined, so
308 this definition becomes actually useful. This is needed for
309 compilation on Arm until somebody fixes the assembler files for Arm.
310 * src/base/digitseq/cl_asm.h: Likewise.
311 * src/base/digitseq/cl_asm_.cc: Likewise.
312 * */Makefile.in: Added `override' in front of `CPPFLAGS +=' so
313 one can say `make CPPFLAGS=-DFOOBAR'.
315 2001-03-26 Arvid Norberg <c99ang@cs.umu.se>
317 * src/base/random/cl_random_from.cc: ported to beos.
319 2001-03-05 Richard Kreckel <kreckel@ginac.de>
321 * include/cln/modules.h (CL_JUMP_TO): Fix IA64 brokenness.
323 2001-01-28 Richard Kreckel <kreckel@ginac.de>
325 * include/cln/number.h (cl_as_N): Remove bogus comment.
327 2001-01-22 Richard Kreckel <kreckel@ginac.de>
329 * configure.in: Make build in separate builddir possible (again).
331 2001-01-22 Richard Kreckel <kreckel@ginac.de>
333 * include/cln/*.h: Change signatures of all classes' methods
334 cln::cl_foo::operator new(size_t, cl_foo*) to
335 cln::cl_foo::operator new(size_t, void*) so one can declare
336 std::vector<cln::cl_foo>, std::list<cln::cl_foo> etc. for
337 certain STL implementations (like libstdc++-v3).
339 2000-12-14 Richard Kreckel <kreckel@ginac.de>
341 * Version 1.1 released.
343 2000-12-13 Richard Kreckel <kreckel@ginac.de>
345 * */*: cl_istream -> std::istream, cl_ostream -> std::ostream.
347 2000-12-05 Richard Kreckel <kreckel@ginac.de>
349 * Makefile.in, src/Makefile.in, doc/Makefile.in: Use mkdir -p.
350 * include/cln/version.h.in, src/base/verion.cc: New files.
351 * configure.in: Generate include/cln/version.h.
352 * cln.m4: Rewrote it. Check result of cln-config without compiling.
353 Do cross-check library version and header version information.
355 2000-12-02 Christian Bauer <cbauer@ginac.de>
357 * Makefile.in, src/Makefile.in, doc/Makefile.in: Added $DESTDIR.
358 * cln.m4, cln.spec.in: some minor fixes with respect to RPM package
361 2000-11-24 Richard Kreckel <kreckel@ginac.de>
363 * */*: Removed problematic stdin, stdout and stderr definitions.
364 Use std::cin, std::cout, std::cerr instead (obsoletes 2000-10-29).
366 2000-11-20 Bruno Haible
368 * cln-config.1: change title.
370 2000-11-18 Richard Kreckel <kreckel@ginac.de>
373 * doc/cln.tex: Document package tools cln-config and cln.m4.
374 * Makefile.in: Care about cln.m4.
376 2000-11-17 Richard Kreckel <kreckel@ginac.de>
378 * cln-config.1: added manpage, as required by a couple of distros.
379 * Makefile.in, doc/Makefile.in: target install depends on installdirs.
381 2000-11-16 Richard Kreckel <kreckel@ginac.de>
383 * autoconf/aclocal.m4 (CL_GMP_SET_UINTD): New macro...
384 * configure.in: ...used here.
385 * include/cln/config.h.in: Put in macros defined by CL_GMP_SET_UINTD...
386 * include/cln/types.h: ...used here.
387 * autoconf/acgeneral.m4, autoconf/aclocal.m4: Adhere to FHS.
389 2000-11-13 Richard Kreckel <kreckel@ginac.de>
391 * src/base/digitseq/cl_asm.h: Test if (intDsize==32) for MIPS and HPPA,
392 in order to guard against an accidented configuration.
393 * src/integer/conv/cl_I_to_digits.cc (table): member b_hoch_k of
394 struct power_table_entry initialized as ULL instead of as UL, if
395 intDsize==64 (caused misprinting on MIPS w/ GMP).
396 * src/base/cl_macros.h (minus_bitm, bitc): implemented ULL, if
398 * src/integer/bitwise/cl_I_mkfx.cc (mkf_extract): Likewise.
399 * src/integer/conv/cl_I_from_L.cc (cl_I_from_L): Added trival
400 generation of Bignum for intDsize==64 and a notreached-check at end.
401 * autoconf/config.guess, autoconf/config.sub: updated from FSF.
402 * include/cln/config.h.in: Prepared support for IA64.
403 * include/cln/types.h: Likewise.
404 * include/cln/object.h: Likewise.
405 * include/cln/modules.h: Likewise.
406 * src/base/cl_macros.h (nonreturning_function): Likewise (NUE's
407 compiler claims __GNUC_MINOR__==9).
409 2000-11-03 Richard Kreckel <kreckel@ginac.de>
411 * src/base/cl_macros.h (bit, minus_bit): changed criterion for ULL from
412 HAVE_DD to HAVE_FAST_LONGLONG.
413 * src/base/cl_macros.h (bitm): implemented ULL, if HAVE_FAST_LONGLONG.
414 * src/base/cl_low.h: actually no need to include "cln/types.h" here.
415 * src/base/cl_low.h (logcount_64): always ULL, independent of HAVE_DD.
416 * src/base/random/cl_UL_random.cc (random32): a is always ULL.
418 2000-11-01 Richard Kreckel <kreckel@ginac.de>
420 * include/cln/object.h (cl_combine): define additional signatures, if
421 HAVE_LONGLONG is defined, in order to keep the compiler happy.
422 * src/base/cl_macros.h: include "cln/types.h", since we need HAVE_DD...
423 * src/base/cl_macros.h (bit): ...for this macro...
424 * src/base/cl_macros.h (minus_bit): ...and this one.
425 * src/base/cl_low.h: include "cln/types.h", since we need HAVE_DD...
426 * src/base/cl_low.h (logcount_64): ...for this macro.
427 * src/base/random/cl_UL_random.cc (random32): if HAVE_DD a is an ULL.
428 * src/integer/gcd/cl_I_gcd_aux2.cc (floorDD): fixed algorithmic bug.
429 that turned up when intDsize==32 and cl_word_size==64.
430 * src/float/dfloat/elem/cl_DF_div.cc (operator/): fixed a missing cast
431 to uint64 that turned up when intDsize==32 and cl_word_size==64.
433 2000-10-29 Richard Kreckel <kreckel@ginac.de>
435 * src/real/input/cl_R_read.cc, src/complex/input/cl_N_read.cc:
436 #undef stderr, if it's defined so cln::stderr isn't confused.
437 * src/base/input/cl_read_globals.cc: stdin should not be extern.
439 2000-09-05 Richard Kreckel <kreckel@ginac.de>
441 * include/cln/number.h (As): Fix it in namespace by suffixing `_As'
442 to the appropiate method instead of prefixing `as_'.
443 * src/complex/misc/cl_N_as.cc (cl_N_As): Likewise.
444 * src/real/misc/cl_R_as.cc (cl_R_As): Likewise.
445 * src/rational/misc/cl_RA_as.cc (cl_RA_As): Likewise.
446 * src/integer/misc/cl_I_as.cc (cl_I_As): Likewise.
447 * src/float/misc/cl_F_as.cc (cl_F_As): Likewise.
448 * src/float/sfloat/misc/cl_SF_as.cc (cl_SF_As): Likewise.
449 * src/float/lfloat/misc/cl_LF_as.cc (cl_LF_As): Likewise.
450 * src/float/ffloat/misc/cl_FF_as.cc (cl_FF_As): Likewise.
451 * src/float/dfloat/misc/cl_DF_as.cc (cl_DF_As): Likewise.
453 2000-09-05 Richard Kreckel <kreckel@ginac.de>
455 * src/complex/transcendental/cl_C_expt_C.cc (expt): fix logic for
458 2000-08-30 Richard Kreckel <kreckel@ginac.de>
460 * include/cln/number.h, cl_number::_as_cl_private_thing(): removed.
461 Rearranged for a clearer distinction between macros and remaining
462 identifiers, so Cint can parse it smoothly.
464 2000-08-29 Richard Kreckel <kreckel@ginac.de>
466 * include/cln/number.h, the(const cl_number& x): New template
469 2000-08-29 Richard Kreckel <kreckel@ginac.de>
471 * */*: Pushed CLN into a namespace `cln'. While doing so, the
472 following identifiers got their poor-man's namespace (i.e. the
473 prefix `cl_') stripped off:
474 cl_catalanconst() -> catalanconst()
475 cl_compare() -> compare()
476 cl_cos_sin() -> cos_sin()
477 cl_cos_sin_t -> cos_sin_t
478 cl_cosh_sinh() -> cosh_sinh()
479 cl_cosh_sinh_t -> cosh_sinh_t
480 cl_decoded_dfloat -> decoded_dfloat
481 cl_decoded_ffloat -> decoded_ffloat
482 cl_decoded_float -> decoded_float
483 cl_decoded_lfloat -> decoded_lfloat
484 cl_decoded_sfloat -> decoded_sfloat
485 cl_default_float_format -> default_float_format
486 cl_default_print_flags -> default_print_flags
487 cl_default_random_state -> default_random_state
488 cl_double_approx() -> double_approx()
489 cl_equal() -> equal()
490 cl_equal_hashcode() -> equal_hashcode()
491 cl_eulerconst() -> eulerconst()
492 cl_find_modint_ring() -> find_modint_ring()
493 cl_find_univpoly_ring() -> find_univ_poly_ring()
494 cl_float_approx() -> float_approx
495 cl_float_format() -> float_format()
496 cl_float_format_t -> float_format_t
497 cl_free_hook() -> free_hook()
498 cl_hermite() -> hermite()
499 cl_laguerre() -> laguerre()
500 cl_legendre() -> legandre()
501 cl_malloc_hook() -> malloc_hook()
503 cl_tschebychev() -> tschebychev()
505 NB: For functions these changes includes all signatures.
506 * include/*: moved to include/cln/*, stripped `cl_' off filenames.
507 * cln-config.in: new file.
509 2000-08-26 Bruno Haible <haible@clisp.cons.org>
511 * autoconf/acgeneral.m4 (AC_OUTPUT): Use braces in exec_prefix default
514 2000-08-18 Bruno Haible <haible@clisp.cons.org>
516 * include/cl_univpoly_modint.h: Fix typo.
518 2000-07-13 Bruno Haible <haible@clisp.cons.org>
520 * src/float/input/cl_F_read_stream.cc (number_char_p): Accept '_',
521 used as precision marker for floats.
522 Reported by Keith Briggs (in 1998) and Thomas Roessler.
523 * src/integer/input/cl_I_read_stream.cc (number_char_p): Likewise.
524 * src/rational/input/cl_RA_read_stream.cc (number_char_p): Likewise.
525 * src/real/input/cl_R_read_stream.cc (number_char_p): Likewise.
526 * src/complex/input/cl_N_read_stream.cc (number_char_p): Likewise.
528 2000-06-22 Bruno Haible <haible@clisp.cons.org>
530 * include/cl_object.h: Rename cl_word_size to cl_pointer_size.
531 * include/cl_types.h (HAVE_FAST_LONGLONG): Also define on Irix6
533 (cl_word_size): New macro.
534 * src/float/sfloat/cl_SF.h: Use cl_pointer_size instead of
537 2000-05-31 Bruno Haible <haible@clisp.cons.org>
539 * tests/exam_I_floor.cc (integer_floor_tests): Add one more entry.
540 From a sample that fails with gcc-2.95.2 on Sparc.
541 * tests/exam_I_gcd.cc (integer_gcd_tests): Likewise.
543 2000-05-30 Richard Kreckel <kreckel@ginac.de>
545 * configure.in, autoconf/aclocal.m4 (CL_GMP_H_VERSION, CL_GMP_CHECK):
547 * configure.in, include/cl_config.h.in (CL_VERSION, CL_VERSION_MINOR,
548 CL_VERSION_PATCHLEVEL): New definitions.
549 * autoconf/config.guess, autoconf/config.sub, autoconf/ltconfig,
550 autoconf/ltmain.sh: updated from FSF (libtool 1.3.5, etc).
551 * src/Makefile.in, configure.in: release-variables renamed from
553 * configure.in: default to build both shared and static library
554 (i.e. default to the most common behaviour).
556 2000-05-29 Richard Kreckel <kreckel@ginac.de>
558 * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Added missing changequote
559 environment around the patch of 2000-05-23.
561 2000-05-29 Bruno Haible <haible@clisp.cons.org>
563 * autoconf/aclocal.m4 (CL_PROG_INSTALL): Fix typo.
564 Reported by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>.
566 2000-05-27 Richard Kreckel <kreckel@ginac.de>
568 * src/float/lfloat/algebraic/cl_LF_sqrt.cc,
569 src/base/digitseq/cl_DS_sqrt.cc: Readjusted break-even points.
571 2000-05-24 Richard Kreckel <kreckel@ginac.de>
573 * autoconf/config.*: Updated to new version from FSF
574 (the new libtool wants this).
575 * src/Makefile.in: added $(LDFLAGS) to link step.
576 * src/base/digitseq/cl_2DS_div.cc, cl_2DS_recip.cc: Readjusted
579 2000-05-23 Bruno Haible <haible@clisp.cons.org>
581 * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Determine host_cpu,
582 host_vendor, host_os correctly if $host has more than two hyphens.
584 2000-05-19 Richard Kreckel <kreckel@ginac.de>
586 * src/base/digitseq/cl_DS_mul.cc: Rearranged break-even points to
587 better match present-day CPUs whenever GMP3 is used.
588 * src/base/digitseq/cl_DS_div.cc: dto.
589 * src/TUNING: Added comment about order of tuning.
590 * configure, configure.in: Safer GMP3-detection.
591 * INSTALL.generic: Clarified behaviour of --with-gmp.
592 * autoconf/config.guess: updated from Clisp-2000-03-06 sources.
594 2000-05-04 Richard Kreckel <kreckel@ginac.de>
596 * gmp/: removed completely. From now on we are going to link
597 externally against libgmp3.0 or above!
598 * configure, configure.in, Makefile.in, */Makeflags: removed support
599 of internal gmp 2.0.2, like $GMP_INCLUDES, which should be done by
600 setting $CPPFLAGS instead.
601 * Makefile.in: Added libtool inter-library dependency for -lgmp and
602 conforming interface versioning (-version-info).
603 * autoconf/ltconfig, autoconf/ltmain.sh: Updated to newer versions
606 2000-02-22 Bruno Haible <haible@clisp.cons.org>
608 * src/base/digitseq/cl_asm_mips_.cc: Starting at argument 5 the
609 parameter passing was changed for the MIPS n32 ABI.
611 2000-01-24 Richard Kreckel <kreckel@ginac.de>
613 * gmp/*: Replaced the complete mpn sources with the ones from
614 Debian since they are maintained while the ones from FSF
615 aren't and there were problems on some architectures, PowerPC
616 in particular. See the file gmp/README.CLN. This way the
617 hard links in this directory have vanished, they were causing
618 trouble for people working in AFS. This became necessary for
619 Debian, because there it woudn't compile on PPC.
621 2000-01-13 Richard Kreckel <kreckel@ginac.de>
623 * Version 1.0.3 released.
625 2000-01-13 Richard Kreckel <kreckel@ginac.de>
627 * src/base/cl_macros.h (nonreturning_function): For egcs and newer
628 use __attribute__ ((__noreturn__)) instead of the __volatile__
630 (nonreturning): Remove macro.
631 * include/*: Minor fixes to stop -ansi -pedantic from complaining.
632 * include/cl_integer.h: (doublefactorial): New declaration.
633 * src/integer/misc/combin/cl_I_doublefactorial.cc: New file.
635 1999-12-18 Bruno Haible <haible@clisp.cons.org>
637 * autoconf/acgeneral.m4 (AC_ARG_PROGRAM): Create conftestsed using
639 * autoconf/ltconfig: Improve support for recent FreeBSD 3.
640 * include/cl_GV.h (cl_GV_vectorops): Change return type from 'T' to
641 'const T', to match definition in src/vector/cl_GV_number.cc.
642 Reported by Duncan Simpson <dps@io.stargate.co.uk>.
643 * gmp/mpn/Makefile.in (.S.lo): Use 'if', not '&&', because '&&' may
646 1999-09-07 Bruno Haible <haible@clisp.cons.org>
648 * Version 1.0.2 released.
650 1999-09-06 Bruno Haible <haible@clisp.cons.org>
652 * src/rational/cl_RA.h (integerp, ratiop): Instead of returning a
653 boolean expression, write alternatives ending with either
654 "return cl_true;" or "return cl_false;". This way, g++ does a
655 better job inlining it.
656 * src/float/cl_F.h (longfloatp): Likewise.
657 * src/real/cl_R.h (rationalp, integerp, floatp): Likewise.
658 * src/complex/cl_C.h (realp, complexp): Likewise.
660 1999-09-05 Bruno Haible <haible@clisp.cons.org>
662 * include/cl_integer.h (cl_equal_hashcode): New declaration.
663 * include/cl_rational.h (cl_equal_hashcode): New declaration.
664 * include/cl_sfloat.h (cl_equal_hashcode): New declaration.
665 * include/cl_ffloat.h (cl_equal_hashcode): New declaration.
666 * include/cl_dfloat.h (cl_equal_hashcode): New declaration.
667 * include/cl_lfloat.h (cl_equal_hashcode): New declaration.
668 * include/cl_float.h (cl_equal_hashcode): New declaration.
669 * include/cl_real.h (cl_equal_hashcode): New declaration.
670 * include/cl_complex.h (cl_equal_hashcode): New declaration.
671 * src/base/cl_N.h (equal_hashcode_low, equal_hashcode_one): New macros.
672 * src/integer/misc/cl_I_eqhashcode.cc: New file.
673 * src/rational/misc/cl_RA_eqhashcode.cc: New file.
674 * src/float/sfloat/misc/cl_SF_eqhashcode.cc: New file.
675 * src/float/ffloat/misc/cl_FF_eqhashcode.cc: New file.
676 * src/float/dfloat/misc/cl_DF_eqhashcode.cc: New file.
677 * src/float/lfloat/misc/cl_LF_eqhashcode.cc: New file.
678 * src/float/misc/cl_F_eqhashcode.cc: New file.
679 * src/real/misc/cl_R_eqhashcode.cc: New file.
680 * src/complex/misc/cl_C_eqhashcode.cc: New file.
681 * doc/cln.tex: Document `cl_equal_hashcode'.
683 1999-09-05 Bruno Haible <haible@clisp.cons.org>
685 * include/cl_ring.h (cl_number_ring_ops): Add `contains' member.
686 (cl_number_ring): New class.
687 (cl_specialized_number_ring<T>): Inherit from cl_number_ring.
688 (instanceof): New function.
689 * src/integer/ring/cl_I_ring.cc (cl_I_p): New function.
690 * src/integer/misc/cl_I_as.cc (cl_I_p): Add comment.
691 * src/rational/ring/cl_RA_ring.cc (cl_RA_p): New function.
692 * src/rational/misc/cl_RA_as.cc (cl_RA_p): Add comment.
693 * src/real/ring/cl_R_ring.cc (cl_R_p): New function.
694 * src/real/misc/cl_R_as.cc (cl_R_p): Add comment.
695 * src/complex/ring/cl_C_ring.cc (cl_N_p): New function.
696 * src/complex/misc/cl_N_as.cc (cl_N_p): Add comment.
697 * doc/cln.tex: Document `instanceof'.
699 1999-09-05 Bruno Haible <haible@clisp.cons.org>
701 * include/cl_rational.h (numerator, denominator): New declarations.
702 * src/rational/elem/cl_RA_numerator.cc: New file.
703 * src/rational/elem/cl_RA_denominator.cc: New file.
704 * include/cl_integer.h (numerator, denominator): New inline functions.
705 * doc/cln.tex: Document `numerator' and `denominator'.
707 1999-09-05 Bruno Haible <haible@clisp.cons.org>
709 * src/rational/algebraic/cl_RA_rootp.cc (rootp): Fix endless loop
711 * src/rational/algebraic/cl_RA_rootp_I.cc (rootp): Likewise.
713 1999-09-05 Bruno Haible <haible@clisp.cons.org>
715 * include/cl_config.h.in: Support for sparc64 CPU.
716 * include/cl_modules.h: Likewise.
717 * include/cl_types.h: Likewise.
718 * include/cl_object.h: Likewise.
719 * include/cl_GV.h: Likewise.
720 * src/Makefile.in: Likewise.
721 * src/base/cl_alloca.h: Likewise.
722 * src/base/cl_macros.h: Likewise.
723 * src/base/cl_sysdep.h: Likewise.
724 * src/base/cl_low.h: Likewise.
725 * src/base/digitseq/cl_asm.h: Likewise.
726 * src/base/digitseq/cl_asm_.cc: Likewise.
727 * src/base/digitseq/cl_asm_sparc64.h: New file.
728 * src/base/digitseq/cl_asm_sparc64_.cc: New file.
729 * src/modinteger/cl_MI_int.h: Support for sparc64 CPU.
730 * src/polynomial/elem/cl_UP_no_ring.cc: Likewise.
731 * src/polynomial/elem/cl_UP_GF2.h: Likewise.
732 * src/polynomial/elem/cl_asm_GF2.cc: Likewise.
734 1999-09-04 Bruno Haible <haible@clisp.cons.org>
736 * src/base/digitseq/cl_asm_sparc_.cc (orc2_loop_up, orc2_loop_down):
737 Use the `orn' instruction.
739 1999-08-14 Bruno Haible <haible@clisp.cons.org>
741 Assume all platforms have <stdlib.h> and clock_t.
742 * configure.in: Don't call CL_STDLIB_H and CL_CLOCK_T.
743 * src/base/cl_base_config.h.in (CLOCK_T): Remove definition.
744 * src/base/random/cl_random_from.cc: Use clock_t instead of CLOCK_T.
745 * src/timing/cl_t_config.h.in (CLOCK_T): Remove definition.
746 * src/timing/cl_t_current2.cc: Use clock_t instead of CLOCK_T.
748 1999-07-18 Bruno Haible <haible@clisp.cons.org>
750 * gmp/config.guess: Link to autoconf/config.guess.
751 gmp/config.sub: Link to autoconf/config.sub.
752 Needed for Win32 platforms.
754 1999-07-17 Bruno Haible <haible@clisp.cons.org>
756 * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Distinguish "sparc" and
757 "sparc64" according to the C compiler, not the uname result.
759 1999-06-17 Bruno Haible <haible@clisp.cons.org>
761 * src/base/digitseq/cl_asm_sparc_.cc (compare_loop_up): Fix
762 COUNTER_LOOPS version, fortunately not used yet.
764 * include/cl_modules.h: Prepare for gcc version 3.
766 1999-06-12 Bruno Haible <haible@clisp.cons.org>
768 * src/rational/elem/cl_RA_plus.cc, src/rational/elem/cl_RA_minus.cc:
769 Change the last call from I_I_to_RT to I_I_to_RA.
771 1999-06-09 Bruno Haible <haible@clisp.cons.org>
773 * Version 1.0.1 released.
775 1999-06-09 Bruno Haible <haible@clisp.cons.org>
777 * src/integer/cl_I.h (pFN_maxlength_digits_at): Define also when
780 1999-06-08 Bruno Haible <haible@clisp.cons.org>
782 * autoconf/intparam.c (printf_underscored): Change argument type to
784 * include/cl_modules.h (CL_OUTPUT_LABEL, CL_JUMP_TO): New macros.
785 (CL_PROVIDE, CL_PROVIDE_END): Use them.
786 * include/cl_string.h (cl_heap_string::operator new): Return 1, not 0.
787 * include/cl_GV.h (cl_GV_inner<T>::operator new): Likewise.
788 * src/base/ring/cl_no_ring.cc (dummy_canonhom, dummy_expt_pos): Don't
789 cast a cl_I to void here. Works around a bug in g++-2.95.
790 * src/complex/misc/cl_C_class.cc: Include "cl_C.h".
791 * src/polynomial/elem/cl_UP_no_ring.cc (dummy_canonhom,
792 dummy_expt_pos): Don't cast a cl_I to void here. Works around a bug
794 * src/polynomial/elem/cl_asm_sparc_GF2.cc (DECLARE_FUNCTION): New
796 * src/rational/misc/cl_RA_class.cc: Include "cl_RA.h".
797 * src/vector/cl_GV_I.cc (cl_heap_GV_I_general::operator new,
798 DEFINE_cl_heap_GV_I_bits): Return 1, not 0.
799 * src/vector/cl_GV_number.cc (cl_heap_GV_number_general::operator new):
802 1999-06-01 Bruno Haible <haible@clisp.cons.org>
804 * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Canonicalize alpha
807 1999-05-29 Bruno Haible <haible@clisp.cons.org>
809 * src/base/digitseq/cl_asm_i386_.cc (DECLARE_FUNCTION): Treat
811 * src/base/digitseq/cl_asm_sparc_.cc (DECLARE_FUNCTION): Likewise.
812 * src/base/digitseq/cl_asm_m68k_.cc (DECLARE_FUNCTION): Treat
813 OpenBSD like NetBSD, and Linux/ELF like SVR4.
815 1999-05-16 Bruno Haible <haible@clisp.cons.org>
817 * src/base/cl_low.h (integerlength32) [__rs6000__]: Use old assembler
818 syntax on AIX systems and new assembler syntax on non-AIX systems.
820 1999-05-01 Bruno Haible <haible@clisp.cons.org>
822 * autoconf/config.guess, autoconf/config.sub: Upgrade to newest
823 version from GNU CVS.
825 1999-04-24 Bruno Haible <haible@clisp.cons.org>
827 * src/integer/bitwise/cl_I_logand.cc (logand): Optimize the case when
828 either operand is a positive fixnum, O(1) instead of O(N).
829 * src/integer/bitwise/cl_I_lognand.cc (lognand): Likewise.
830 * src/integer/bitwise/cl_I_logandc2.cc (logandc2): Likewise for the
833 1999-04-14 Bruno Haible <haible@clisp.cons.org>
835 * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add check whether
836 ctor/dtor needs to be exported.
837 * include/cl_config.h.in (CL_NEED_GLOBALIZE_CTORDTOR): New macro.
838 * include/cl_modules.h (CL_GLOBALIZE_JUMP_LABEL): Renamed from
840 (CL_GLOBALIZE_LABEL): New macro.
841 (CL_GLOBALIZE_CTORDTOR_LABEL): Renamed from CL_GLOBALIZE_ASM_LABEL.
842 (CL_PROVIDE): Update.
844 1999-04-12 Bruno Haible <haible@clisp.cons.org>
846 * src/Makefile.in ($(ASMFILES_S)): On HPPA, ignore preprocessing
847 errors ("unterminated string or character constant").
848 ($(ASMFILES_LO)): On HPPA, try with various settings of
849 COMPILER_PATH, in order to try /usr/ccs/bin/as and /bin/as.
851 1999-04-11 Bruno Haible <haible@clisp.cons.org>
853 * INSTALL: Mention gmp problems on MIPS.
854 * doc/cln.tex: Likewise.
856 1999-03-24 Mumit Khan <khan@xraylith.wisc.edu>
858 * src/Makefile.in (SUBDIRS): Filter out CVS and RCS directories from
860 * include/cl_modules.h (CL_GLOBALIZE_LABEL): Define for Win32.
861 (CL_GLOBALIZE_ASM_LABEL): New macro.
862 (CL_PROVIDE): Use it.
863 * src/base/random/cl_random_from.cc: Handle WIN32.
864 * src/timing/cl_t_current.cc: Likewise.
866 1999-03-15 Bruno Haible <haible@clisp.cons.org>
868 * autoconf/intparam.c (main7): Use %lX instead of %X for a `long'.
869 (main8): Adapt for C++.
871 1999-03-09 Bruno Haible <haible@clisp.cons.org>
873 * INSTALL: Mention egcs-1.1 problems on Sparc.
874 * doc/cln.tex: Likewise.
876 1999-03-08 Bruno Haible <haible@clisp.cons.org>
878 * autoconf/aclocal.m4 (CL_FPU_CONTROL): Fix the "checking for"
881 1999-02-25 Bruno Haible <haible@clisp.cons.org>
883 * autoconf/aclocal.m4: In test programs, declare `int main()', not
886 * lidia-interface/src/interfaces/integers/cln/bigint.c
887 (bigint_to_string): Fix for negative arguments.
889 * src/base/cl_low.h: Check for `__sparc__', not `SPARC'.
890 * src/base/cl_alloca.h: Likewise.
892 * src/base/cl_low.h: Eliminate CLISP style "# " comments.
893 * src/base/digitseq/cl_asm_arm_.cc,
894 src/base/digitseq/cl_asm_mips_.cc,
895 src/float/dfloat/elem/cl_DF_mul.cc: Likewise.
897 * src/modinteger/cl_MI_pow2.h,
898 src/modinteger/cl_MI_pow2m1.h,
899 src/modinteger/cl_MI_pow2p1.h: Workaround g++-2.7.2 inlining bug.
901 1999-01-18 Bruno Haible <haible@clisp.cons.org>
903 * autoconf/acgeneral.m4,
904 autoconf/acspecific.m4: Upgrade to autoconf-2.13.
905 * autoconf/config.guess, autoconf/config.sub: Likewise.
906 * autoconf/aclocal.m4 (CL_ALLOCA): Test for _MSC_VER and alloca being
907 a macro. Use ${ac_objext}.
908 * src/base/cl_macros.h (alloca): Put _MSC_VER test before the others,
909 conforming with CL_ALLOCA.
911 1999-01-12 Bruno Haible <haible@clisp.cons.org>
913 * Version 1.0 released.