1 2004-06-18 Richard B. Kreckel <kreckel@ginac.de>
3 * rational/transcendental/cl_RA_logp.cc: fix bug where base is
4 reciprocal of an integer.
6 2004-06-10 Richard B. Kreckel <kreckel@ginac.de>
8 * examples/perfnum.cc: update to presumed 41st Mersenne prime.
10 2004-05-02 Richard B. Kreckel <kreckel@ginac.de>
12 * Version 1.1.7 released.
14 2004-05-02 Richard B. Kreckel <kreckel@ginac.de>
16 * examples/pi.cc and examples/pi.1: New files.
17 * examples/Makefile.in: Build the pi executable.
19 2004-05-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
21 * src/Makefile.in: Fix for parallel build: wait for subdir objects to
22 be finished before creating the library.
24 2004-04-30 Richard B. Kreckel <kreckel@ginac.de>
26 * src/integer/output/cl_I_print.cc (print_integer): workaround
27 GCC compiler bug (cf. Debian bug#246319).
29 2004-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
31 * m4/gmp.m4 (CL_GMP_CHECK): Do not lose LIBS setting with config.cache
34 2004-03-08 Bruno Haible <bruno@clisp.org>
36 * src/float/lfloat/elem/cl_LF_mul.cc (operator*): Fix the second
38 * src/float/lfloat/algebraic/cl_LF_sqrt.cc (sqrt): Fix a bug with large
39 uexp whereby SQRT of MOST-POSITIVE-LONG-FLOAT was less than 1.
41 2004-03-04 Richard B. Kreckel <kreckel@ginac.de>
43 * Makefile.in (install): Add ${srcdir} for cln.m4.
44 * m4/gmp.m4: quote macro names.
45 Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
47 2004-01-01 Richard B. Kreckel <kreckel@ginac.de>
49 * Version 1.1.6 released.
51 2004-01-01 Richard B. Kreckel <kreckel@ginac.de>
53 * include/cln/univpoly.h, include/cln/univpoly_complex.h,
54 include/cln//univpoly_integer.h, include/cln/univpoly_modint.h,
55 include/cln/univpoly_rational.h, include/cln/univpoly_real.h,
56 src/polynomial/elem/cl_UP_GF2.h, src/polynomial/elem/cl_UP_MI.h,
57 src/polynomial/elem/cl_UP_gen.h, src/polynomial/elem/cl_UP_no_ring.cc,
58 src/polynomial/elem/cl_UP_number.h (ldegree): New function.
59 * doc/cln.tex: Document `ldegree'.
61 2003-12-29 Richard B. Kreckel <kreckel@ginac.de>
63 Rework of autoconfiscation infrastructure
64 * autoconf/config.{guess,sub}: Update to GNU version 2003-10-07.
65 * autoconf/ltmain.sh: Update to GNU version 1.4.3.
66 * autoconf/autoconf: Remove (from now on we assume autoconf is
67 installed properly on the sytem).
68 * autoconf/autoconf.m4: Likewise.
69 * autoconf/autoconf.m4f: Likewise.
70 * autoconf/acgeneral.m4: Likewise.
71 * autoconf/acspecific.m4: Likewise.
72 * autoconf/aclocal.m4: Regenerate.
73 * autoconf/acinclude.m4: Remove (while moving the macros...)
74 * m4/gmp.m4: New file (...to here).
75 * Makefile.devel: Update to new scheme.
76 * configure.ac: Likewise.
77 * include/cln/GV_integer.h: Assume template specializations work.
78 * include/cln/GV_modinteger.h: Likewise.
79 * include/cln/config.h.in: Likewise, and drop HAVE_BOOL.
80 * src/base/cl_base_config.h.in: Drop support for obsolete ftime(3).
81 * src/base/random/cl_random_from.cc: Likewise.
82 * src/timing/cl_base_config.h.in: Likewise.
83 * src/timing/cl_t_current.cc: Likewise.
85 2003-12-27 Richard B. Kreckel <kreckel@ginac.de>
87 * src/polynomial/cl_UP_gen.h (gen_minus): Fix case where first
89 * src/polynomial/cl_UP_MI.h (modint_minus): Likewise.
90 * src/polynomial/cl_UP_number.h (num_minus): Likewise.
91 Reported by Munagala Ramanath <amberarrow@yahoo.com>.
93 2003-12-02 Richard B. Kreckel <kreckel@ginac.de>
95 * examples/perfnum.cc: update to presumed 40th Mersenne prime.
97 2003-11-20 Christian Bauer <cbauer@ginac.de>
99 Added pkg-config support
100 * cln.pc.in: New file.
101 * Makefile.in: Take care of cln.pc.
102 * configure.ac: Likewise.
104 2003-08-06 Richard B. Kreckel <kreckel@ginac.de>
106 * src/numtheory/cl_nt_sqrtmodp.cc: #undef _R.
107 Reported by Andrew Rechnitzer <A.Rechnitzer@ms.unimelb.edu.au>.
109 2003-08-01 Richard Kreckel <kreckel@ginac.de>
111 More dependent base resolution issues
112 * src/base/hash/cl_hash.h (cl_heap_hashtable<T>::iterator()):
113 portable syntactic simplification.
114 * src/base/hash/cl_hashset.h: Preceed inherited members with this->.
115 * src/base/hash/cl_hash1.h: Likewise for member functions.
116 * src/base/hash/cl_hash2.h: Likewise.
117 * src/base/hash/cl_hashuniq.h: Likewise.
118 * src/base/hash/cl_hashuniqweak.h: Likewise.
119 * src/base/hash/cl_hash.h: Revert explicit static member function
120 lookup since that was GCC's fault.
121 * src/base/hash/cl_hash2weak.h: Likewise.
122 * src/base/hash/cl_hashuniqweak.h: Likewise.
124 2003-06-29 Richard Kreckel <kreckel@ginac.de>
126 Dependent base resolution needed for GCC-3.4
127 * include/cln/GV.h: Preceed inherited members with this->.
128 * include/cln/SV.h: Likewise.
129 * include/cln/object.h: Likewise.
130 * src/base/hash/cl_hash1.h: Likewise.
131 * src/base/hash/cl_hash1weak.h: Likewise.
132 * src/base/hash/cl_hash2.h: Likewise.
133 * src/base/hash/cl_hashuniq.h: Likewise.
134 * src/base/hash/cl_hash.h: Make lookup of static member function
136 * src/base/hash/cl_hash2weak.h: Likewise.
137 * src/base/hash/cl_hashuniqweak.h: Likewise.
138 * src/modinteger/cl_MI.cc: Make shell-comment a C-comment. Geez.
140 2003-02-24 Bruno Haible <bruno@clisp.org>
142 * src/base/random/cl_random_from.cc (random_state::random_state): Add
144 * src/modinteger/cl_MI.cc: #undef _R.
145 Reported by Erann Gat <gat@jpl.nasa.gov>.
147 2002-08-03 Joerg Arndt <jj@suse.de>
149 * include/cln/config.h.in: Add support for x86_64 CPU.
150 * include/cln/modules.h: Likewise.
151 * include/cln/types.h: Likewise.
152 * include/cln/object.h: Likewise.
154 2002-06-08 Richard Kreckel <kreckel@ginac.de>
156 * src/base/digitseq/cl_asm.h: ensure intCsize==16 when including
157 m68k Assembler routines.
158 * src/base/digitseq/cl_asm_.cc: Likewise.
160 2002-05-28 Richard Kreckel <kreckel@ginac.de>
162 * Version 1.1.5 released.
164 2002-05-27 Richard Kreckel <kreckel@ginac.de>
166 * include/cln/modules.h (CL_CONCATENATE): New macro.
168 2002-05-10 Richard Kreckel <kreckel@ginac.de>
170 * doc/cln.tex (Building the library): Update recommendations for
171 compiling on Tru64 using g++ 3.0 and 3.1.
172 * README: Update homepage.
174 2002-05-05 Bruno Haible <bruno@clisp.org>
176 * doc/cln.tex (Building the library): Give some recommendations for
179 Force link-time references despite optimizations done by g++ 2.95
181 * include/cln/modules.h (CL_FORCE_LINK): New macro.
183 * include/cln/GV_integer.h (cl_GV_I_debug_dummy): Likewise.
184 * include/cln/GV_number.h (cl_GV_number_debug_dummy): Likewise.
185 * include/cln/SV_number.h (cl_SV_number_debug_dummy): Likewise.
186 * include/cln/SV_ringelt.h (cl_SV_ringelt_debug_dummy): Likewise.
187 * include/cln/dfloat.h (cl_DF_debug_dummy): Likewise.
188 * include/cln/ffloat.h (cl_FF_classes_dummy, cl_FF_debug_dummy):
190 * include/cln/integer.h (cl_I_classes_dummy, cl_I_debug_dummy):
192 * include/cln/lfloat.h (cl_LF_debug_dummy): Likewise.
193 * include/cln/modinteger.h (cl_MI_debug_dummy): Likewise.
194 * include/cln/rational.h (cl_RA_debug_dummy): Likewise.
195 * include/cln/real.h (cl_R_debug_dummy): Likewise.
196 * include/cln/ring.h (cl_ring_debug_dummy): Likewise.
197 * include/cln/sfloat.h (cl_SF_classes_dummy, cl_SF_classes_dummy):
199 * include/cln/string.h (cl_string_debug_dummy): Likewise.
200 * include/cln/univpoly.h (cl_UP_debug_dummy): Likewise.
201 * src/float/base/cl_ieee.h (cl_ieee_dummy_NNN): Likewise.
203 Avoid g++ 3.1 warnings.
204 * src/base/cl_offsetof.h (offsetof): Redefine each time.
205 * src/base/digitseq/cl_DS.h: Include "cl_offsetof.h" after <gmp.h>.
207 Avoid g++ 3.1 warnings.
208 * src/base/hash/cl_hash.h (struct cl_heap_hashtable): Use typename
210 * src/base/hash/cl_hash1.h (struct cl_heap_hashtable_1): typedef
211 htxentry as a shortcut.
212 * src/base/hash/cl_hash2.h (struct cl_heap_hashtable_2): Likewise.
213 * src/base/hash/cl_hashset.h (struct cl_heap_hashtable_set): Likewise.
214 * src/base/hash/cl_hashuniq.h (struct cl_heap_hashtable_uniq):
217 2002-03-15 Bruno Haible <bruno@clisp.org>
219 * cln.tex: Document problem with GNU make 3.77.
220 Reported by Michael Somos <somos@grail.cba.csuohio.edu>.
222 2002-02-16 Richard Kreckel <kreckel@ginac.de>
224 * cln.m4: quote macro name.
225 Pointed out by Roberto Bagnara.
227 2002-01-20 Richard Kreckel <kreckel@ginac.de>
229 * autoconf/config.{guess,sub}: Update to GNU version 2002-01-02.
230 (the old one was broken on Linux/Mips.)
232 2002-01-04 Richard Kreckel <kreckel@ginac.de>
234 * autoconf/autoconf.m4f: get brutal in order to adhere to FHS.
235 * Version 1.1.4 released.
237 2002-01-03 Richard Kreckel <kreckel@ginac.de>
239 * autoconf/acinclude.m4: revamp MPN-matcher.
240 * autoconf/aclocal.m4: upgrade to autoconf-2.52 infrastructure,
241 sync with CLisp from CVS.
242 * autoconf/autoconf: Likewise.
243 * autoconf/autoconf.m4f: Likewise (new file).
244 * configure.ac: Likewise (new file, replaces configure.in).
245 * configure.in: Likewise (deleted, replaced by configure.ac).
246 * autoconf/config.{guess,sub}: Update to GNU version 2001-12-13.
247 * src/Makefile.in: made VPATH safe for autoconf-2.52.
248 * include/cln/config.h.in: Add __s390__.
250 2001-12-31 Richard Kreckel <kreckel@ginac.de>
252 * src/base/digitseq/cl_DS.h: <gmp.h> is not included extern "C"
253 any more since GMP4 has some C++ support in it.
255 2001-12-14 Richard Kreckel <kreckel@ginac.de>
257 * include/cln/modules.h, include/cln/object.h: add support for
259 * src/numtheory/cl_nt_sqrtmodp.cc: workaround for GCC2.x compiler-bug
260 on s390, provided by Gerhard Tonn.
262 2001-11-05 Richard Kreckel <kreckel@ginac.de>
264 * autoconf/ltmain.sh: Upgrade to libtool-1.4.2.
265 * autoconf/config.{guess,sub}: Update to GNU version 2001-09-07.
266 * Version 1.1.3 released.
268 2001-11-04 Bruno Haible <haible@clisp.cons.org>
270 Interoperability with gcc-3.0 -fuse-cxa-atexit.
271 * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add test whether
272 global destructors actually exist.
273 * include/cln/modules.h (CL_PROVIDE, CL_PROVIDE_END, CL_PROVIDE_END):
274 Don't hack the global destructors if there is no global destructors
277 2001-11-03 Richard Kreckel <kreckel@ginac.de>
279 * src/float/transcendental/cl_F_sinx.cc (sinx_naive): For small
280 values of x, return square(x) instead of x.
281 * src/float/transcendental/cl_F_sinhx.cc (sinhx_naive): Likewise.
283 2001-07-25 Richard Kreckel <kreckel@ginac.de>
285 * Version 1.1.2 released.
287 2001-07-24 Richard Kreckel <kreckel@ginac.de>
289 * src/base/hash/cl_hash.h: declare _cl_hashtable_iterator<htentry> a
290 friend of cl_heap_hashtable<htentry>.
292 2001-07-22 Richard Kreckel <kreckel@ginac.de>
294 * src/float/base/cl_ieee.cc: try to do magic to the FPU only if
295 _FPU_IEEE is really defined.
296 * include/cln/modules.h: change assembler labels from `label' to
297 `label:' on hppa, needed by Linux (see comment).
298 * autoconf/acinclude.m4: new file (for storing CLN-specific macros).
299 * Makefile.devel: adjusted.
300 * autoconf/aclocal.m4: regenerate.
301 * src/base/low/cl_low_mul.cc: moved POD variables that are declared
302 extern "C" elsewhere out of the namespace.
303 * src/base/low/cl_low_div.cc: Likewise.
305 2001-06-08 Bruno Haible <haible@clisp.cons.org>
307 * autoconf/config.{guess,sub}: Update to GNU version 2001-05-11.
308 * autoconf/aclocal.m4: Upgrade to libtool-1.4.
309 * autoconf/ltmain.sh: Likewise.
310 * autoconf/ltconfig: Remove file.
311 * autoconf/install-sh: New file.
312 * configure.in: Add AC_CONFIG_AUX_DIR call.
314 2001-06-05 Richard Kreckel <kreckel@ginac.de>
316 * tests/tests.cc: resolve namespace ambiguity about strcmp().
318 2001-05-31 Richard Kreckel <kreckel@ginac.de>
320 * Version 1.1.1 released.
322 2001-05-28 Richard Kreckel <kreckel@ginac.de>
324 * cln/cln.tex: documented problems with shared library on Sparc
325 using gcc older than 2.95.3.
326 * configure.in: Fixed typos in versioning docu.
328 2001-05-25 Bruno Haible <haible@clisp.cons.org>
330 * src/base/digitseq/cl_asm_arm_.cc: Use #0x instead of #& to designate
331 hexadecimal constants.
333 2001-05-25 Richard Kreckel <kreckel@ginac.de>
335 * autoconf/floatparam.c (double_wordorder_bigendian_p): new symbol.
336 * src/float/dfloat/cl_DF.h: Check for double_wordorder_bigendian_p.
337 * Removed LiDIA interface since that is now outdated (namespace cln)
338 and maintained elsewhere.
339 * Adjusted dates and final touches for 1.1.1.
341 2001-05-19 Richard Kreckel <kreckel@ginac.de>
343 * INSTALL: Update toolchain info: no egcs, some more platforms.
344 * doc/cln.tex: Likewise.
346 2001-05-18 Richard Kreckel <kreckel@ginac.de>
348 * src/base/cl_low.h: prepended variables declared inside macros
349 with underscore. Fixes equal_hashcode() on various platforms.
351 2001-04-25 Richard Kreckel <kreckel@ginac.de>
353 * src/base/cl_low.h: Added several checks if NO_ASM is defined, so
354 this definition becomes actually useful. This is needed for
355 compilation on Arm until somebody fixes the assembler files for Arm.
356 * src/base/digitseq/cl_asm.h: Likewise.
357 * src/base/digitseq/cl_asm_.cc: Likewise.
358 * */Makefile.in: Added `override' in front of `CPPFLAGS +=' so
359 one can say `make CPPFLAGS=-DFOOBAR'.
361 2001-03-26 Arvid Norberg <c99ang@cs.umu.se>
363 * src/base/random/cl_random_from.cc: ported to beos.
365 2001-03-05 Richard Kreckel <kreckel@ginac.de>
367 * include/cln/modules.h (CL_JUMP_TO): Fix IA64 brokenness.
369 2001-01-28 Richard Kreckel <kreckel@ginac.de>
371 * include/cln/number.h (cl_as_N): Remove bogus comment.
373 2001-01-22 Richard Kreckel <kreckel@ginac.de>
375 * configure.in: Make build in separate builddir possible (again).
377 2001-01-22 Richard Kreckel <kreckel@ginac.de>
379 * include/cln/*.h: Change signatures of all classes' methods
380 cln::cl_foo::operator new(size_t, cl_foo*) to
381 cln::cl_foo::operator new(size_t, void*) so one can declare
382 std::vector<cln::cl_foo>, std::list<cln::cl_foo> etc. for
383 certain STL implementations (like libstdc++-v3).
385 2000-12-14 Richard Kreckel <kreckel@ginac.de>
387 * Version 1.1 released.
389 2000-12-13 Richard Kreckel <kreckel@ginac.de>
391 * */*: cl_istream -> std::istream, cl_ostream -> std::ostream.
393 2000-12-05 Richard Kreckel <kreckel@ginac.de>
395 * Makefile.in, src/Makefile.in, doc/Makefile.in: Use mkdir -p.
396 * include/cln/version.h.in, src/base/verion.cc: New files.
397 * configure.in: Generate include/cln/version.h.
398 * cln.m4: Rewrote it. Check result of cln-config without compiling.
399 Do cross-check library version and header version information.
401 2000-12-02 Christian Bauer <cbauer@ginac.de>
403 * Makefile.in, src/Makefile.in, doc/Makefile.in: Added $DESTDIR.
404 * cln.m4, cln.spec.in: some minor fixes with respect to RPM package
407 2000-11-24 Richard Kreckel <kreckel@ginac.de>
409 * */*: Removed problematic stdin, stdout and stderr definitions.
410 Use std::cin, std::cout, std::cerr instead (obsoletes 2000-10-29).
412 2000-11-20 Bruno Haible
414 * cln-config.1: change title.
416 2000-11-18 Richard Kreckel <kreckel@ginac.de>
419 * doc/cln.tex: Document package tools cln-config and cln.m4.
420 * Makefile.in: Care about cln.m4.
422 2000-11-17 Richard Kreckel <kreckel@ginac.de>
424 * cln-config.1: added manpage, as required by a couple of distros.
425 * Makefile.in, doc/Makefile.in: target install depends on installdirs.
427 2000-11-16 Richard Kreckel <kreckel@ginac.de>
429 * autoconf/aclocal.m4 (CL_GMP_SET_UINTD): New macro...
430 * configure.in: ...used here.
431 * include/cln/config.h.in: Put in macros defined by CL_GMP_SET_UINTD...
432 * include/cln/types.h: ...used here.
433 * autoconf/acgeneral.m4, autoconf/aclocal.m4: Adhere to FHS.
435 2000-11-13 Richard Kreckel <kreckel@ginac.de>
437 * src/base/digitseq/cl_asm.h: Test if (intDsize==32) for MIPS and HPPA,
438 in order to guard against an accidented configuration.
439 * src/integer/conv/cl_I_to_digits.cc (table): member b_hoch_k of
440 struct power_table_entry initialized as ULL instead of as UL, if
441 intDsize==64 (caused misprinting on MIPS w/ GMP).
442 * src/base/cl_macros.h (minus_bitm, bitc): implemented ULL, if
444 * src/integer/bitwise/cl_I_mkfx.cc (mkf_extract): Likewise.
445 * src/integer/conv/cl_I_from_L.cc (cl_I_from_L): Added trival
446 generation of Bignum for intDsize==64 and a notreached-check at end.
447 * autoconf/config.guess, autoconf/config.sub: updated from FSF.
448 * include/cln/config.h.in: Prepared support for IA64.
449 * include/cln/types.h: Likewise.
450 * include/cln/object.h: Likewise.
451 * include/cln/modules.h: Likewise.
452 * src/base/cl_macros.h (nonreturning_function): Likewise (NUE's
453 compiler claims __GNUC_MINOR__==9).
455 2000-11-03 Richard Kreckel <kreckel@ginac.de>
457 * src/base/cl_macros.h (bit, minus_bit): changed criterion for ULL from
458 HAVE_DD to HAVE_FAST_LONGLONG.
459 * src/base/cl_macros.h (bitm): implemented ULL, if HAVE_FAST_LONGLONG.
460 * src/base/cl_low.h: actually no need to include "cln/types.h" here.
461 * src/base/cl_low.h (logcount_64): always ULL, independent of HAVE_DD.
462 * src/base/random/cl_UL_random.cc (random32): a is always ULL.
464 2000-11-01 Richard Kreckel <kreckel@ginac.de>
466 * include/cln/object.h (cl_combine): define additional signatures, if
467 HAVE_LONGLONG is defined, in order to keep the compiler happy.
468 * src/base/cl_macros.h: include "cln/types.h", since we need HAVE_DD...
469 * src/base/cl_macros.h (bit): ...for this macro...
470 * src/base/cl_macros.h (minus_bit): ...and this one.
471 * src/base/cl_low.h: include "cln/types.h", since we need HAVE_DD...
472 * src/base/cl_low.h (logcount_64): ...for this macro.
473 * src/base/random/cl_UL_random.cc (random32): if HAVE_DD a is an ULL.
474 * src/integer/gcd/cl_I_gcd_aux2.cc (floorDD): fixed algorithmic bug.
475 that turned up when intDsize==32 and cl_word_size==64.
476 * src/float/dfloat/elem/cl_DF_div.cc (operator/): fixed a missing cast
477 to uint64 that turned up when intDsize==32 and cl_word_size==64.
479 2000-10-29 Richard Kreckel <kreckel@ginac.de>
481 * src/real/input/cl_R_read.cc, src/complex/input/cl_N_read.cc:
482 #undef stderr, if it's defined so cln::stderr isn't confused.
483 * src/base/input/cl_read_globals.cc: stdin should not be extern.
485 2000-09-05 Richard Kreckel <kreckel@ginac.de>
487 * include/cln/number.h (As): Fix it in namespace by suffixing `_As'
488 to the appropiate method instead of prefixing `as_'.
489 * src/complex/misc/cl_N_as.cc (cl_N_As): Likewise.
490 * src/real/misc/cl_R_as.cc (cl_R_As): Likewise.
491 * src/rational/misc/cl_RA_as.cc (cl_RA_As): Likewise.
492 * src/integer/misc/cl_I_as.cc (cl_I_As): Likewise.
493 * src/float/misc/cl_F_as.cc (cl_F_As): Likewise.
494 * src/float/sfloat/misc/cl_SF_as.cc (cl_SF_As): Likewise.
495 * src/float/lfloat/misc/cl_LF_as.cc (cl_LF_As): Likewise.
496 * src/float/ffloat/misc/cl_FF_as.cc (cl_FF_As): Likewise.
497 * src/float/dfloat/misc/cl_DF_as.cc (cl_DF_As): Likewise.
499 2000-09-05 Richard Kreckel <kreckel@ginac.de>
501 * src/complex/transcendental/cl_C_expt_C.cc (expt): fix logic for
504 2000-08-30 Richard Kreckel <kreckel@ginac.de>
506 * include/cln/number.h, cl_number::_as_cl_private_thing(): removed.
507 Rearranged for a clearer distinction between macros and remaining
508 identifiers, so Cint can parse it smoothly.
510 2000-08-29 Richard Kreckel <kreckel@ginac.de>
512 * include/cln/number.h, the(const cl_number& x): New template
515 2000-08-29 Richard Kreckel <kreckel@ginac.de>
517 * */*: Pushed CLN into a namespace `cln'. While doing so, the
518 following identifiers got their poor-man's namespace (i.e. the
519 prefix `cl_') stripped off:
520 cl_catalanconst() -> catalanconst()
521 cl_compare() -> compare()
522 cl_cos_sin() -> cos_sin()
523 cl_cos_sin_t -> cos_sin_t
524 cl_cosh_sinh() -> cosh_sinh()
525 cl_cosh_sinh_t -> cosh_sinh_t
526 cl_decoded_dfloat -> decoded_dfloat
527 cl_decoded_ffloat -> decoded_ffloat
528 cl_decoded_float -> decoded_float
529 cl_decoded_lfloat -> decoded_lfloat
530 cl_decoded_sfloat -> decoded_sfloat
531 cl_default_float_format -> default_float_format
532 cl_default_print_flags -> default_print_flags
533 cl_default_random_state -> default_random_state
534 cl_double_approx() -> double_approx()
535 cl_equal() -> equal()
536 cl_equal_hashcode() -> equal_hashcode()
537 cl_eulerconst() -> eulerconst()
538 cl_find_modint_ring() -> find_modint_ring()
539 cl_find_univpoly_ring() -> find_univ_poly_ring()
540 cl_float_approx() -> float_approx
541 cl_float_format() -> float_format()
542 cl_float_format_t -> float_format_t
543 cl_free_hook() -> free_hook()
544 cl_hermite() -> hermite()
545 cl_laguerre() -> laguerre()
546 cl_legendre() -> legandre()
547 cl_malloc_hook() -> malloc_hook()
549 cl_tschebychev() -> tschebychev()
551 NB: For functions these changes includes all signatures.
552 * include/*: moved to include/cln/*, stripped `cl_' off filenames.
553 * cln-config.in: new file.
555 2000-08-26 Bruno Haible <haible@clisp.cons.org>
557 * autoconf/acgeneral.m4 (AC_OUTPUT): Use braces in exec_prefix default
560 2000-08-18 Bruno Haible <haible@clisp.cons.org>
562 * include/cl_univpoly_modint.h: Fix typo.
564 2000-07-13 Bruno Haible <haible@clisp.cons.org>
566 * src/float/input/cl_F_read_stream.cc (number_char_p): Accept '_',
567 used as precision marker for floats.
568 Reported by Keith Briggs (in 1998) and Thomas Roessler.
569 * src/integer/input/cl_I_read_stream.cc (number_char_p): Likewise.
570 * src/rational/input/cl_RA_read_stream.cc (number_char_p): Likewise.
571 * src/real/input/cl_R_read_stream.cc (number_char_p): Likewise.
572 * src/complex/input/cl_N_read_stream.cc (number_char_p): Likewise.
574 2000-06-22 Bruno Haible <haible@clisp.cons.org>
576 * include/cl_object.h: Rename cl_word_size to cl_pointer_size.
577 * include/cl_types.h (HAVE_FAST_LONGLONG): Also define on Irix6
579 (cl_word_size): New macro.
580 * src/float/sfloat/cl_SF.h: Use cl_pointer_size instead of
583 2000-05-31 Bruno Haible <haible@clisp.cons.org>
585 * tests/exam_I_floor.cc (integer_floor_tests): Add one more entry.
586 From a sample that fails with gcc-2.95.2 on Sparc.
587 * tests/exam_I_gcd.cc (integer_gcd_tests): Likewise.
589 2000-05-30 Richard Kreckel <kreckel@ginac.de>
591 * configure.in, autoconf/aclocal.m4 (CL_GMP_H_VERSION, CL_GMP_CHECK):
593 * configure.in, include/cl_config.h.in (CL_VERSION, CL_VERSION_MINOR,
594 CL_VERSION_PATCHLEVEL): New definitions.
595 * autoconf/config.guess, autoconf/config.sub, autoconf/ltconfig,
596 autoconf/ltmain.sh: updated from FSF (libtool 1.3.5, etc).
597 * src/Makefile.in, configure.in: release-variables renamed from
599 * configure.in: default to build both shared and static library
600 (i.e. default to the most common behaviour).
602 2000-05-29 Richard Kreckel <kreckel@ginac.de>
604 * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Added missing changequote
605 environment around the patch of 2000-05-23.
607 2000-05-29 Bruno Haible <haible@clisp.cons.org>
609 * autoconf/aclocal.m4 (CL_PROG_INSTALL): Fix typo.
610 Reported by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>.
612 2000-05-27 Richard Kreckel <kreckel@ginac.de>
614 * src/float/lfloat/algebraic/cl_LF_sqrt.cc,
615 src/base/digitseq/cl_DS_sqrt.cc: Readjusted break-even points.
617 2000-05-24 Richard Kreckel <kreckel@ginac.de>
619 * autoconf/config.*: Updated to new version from FSF
620 (the new libtool wants this).
621 * src/Makefile.in: added $(LDFLAGS) to link step.
622 * src/base/digitseq/cl_2DS_div.cc, cl_2DS_recip.cc: Readjusted
625 2000-05-23 Bruno Haible <haible@clisp.cons.org>
627 * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Determine host_cpu,
628 host_vendor, host_os correctly if $host has more than two hyphens.
630 2000-05-19 Richard Kreckel <kreckel@ginac.de>
632 * src/base/digitseq/cl_DS_mul.cc: Rearranged break-even points to
633 better match present-day CPUs whenever GMP3 is used.
634 * src/base/digitseq/cl_DS_div.cc: dto.
635 * src/TUNING: Added comment about order of tuning.
636 * configure, configure.in: Safer GMP3-detection.
637 * INSTALL.generic: Clarified behaviour of --with-gmp.
638 * autoconf/config.guess: updated from Clisp-2000-03-06 sources.
640 2000-05-04 Richard Kreckel <kreckel@ginac.de>
642 * gmp/: removed completely. From now on we are going to link
643 externally against libgmp3.0 or above!
644 * configure, configure.in, Makefile.in, */Makeflags: removed support
645 of internal gmp 2.0.2, like $GMP_INCLUDES, which should be done by
646 setting $CPPFLAGS instead.
647 * Makefile.in: Added libtool inter-library dependency for -lgmp and
648 conforming interface versioning (-version-info).
649 * autoconf/ltconfig, autoconf/ltmain.sh: Updated to newer versions
652 2000-02-22 Bruno Haible <haible@clisp.cons.org>
654 * src/base/digitseq/cl_asm_mips_.cc: Starting at argument 5 the
655 parameter passing was changed for the MIPS n32 ABI.
657 2000-01-24 Richard Kreckel <kreckel@ginac.de>
659 * gmp/*: Replaced the complete mpn sources with the ones from
660 Debian since they are maintained while the ones from FSF
661 aren't and there were problems on some architectures, PowerPC
662 in particular. See the file gmp/README.CLN. This way the
663 hard links in this directory have vanished, they were causing
664 trouble for people working in AFS. This became necessary for
665 Debian, because there it woudn't compile on PPC.
667 2000-01-13 Richard Kreckel <kreckel@ginac.de>
669 * Version 1.0.3 released.
671 2000-01-13 Richard Kreckel <kreckel@ginac.de>
673 * src/base/cl_macros.h (nonreturning_function): For egcs and newer
674 use __attribute__ ((__noreturn__)) instead of the __volatile__
676 (nonreturning): Remove macro.
677 * include/*: Minor fixes to stop -ansi -pedantic from complaining.
678 * include/cl_integer.h: (doublefactorial): New declaration.
679 * src/integer/misc/combin/cl_I_doublefactorial.cc: New file.
681 1999-12-18 Bruno Haible <haible@clisp.cons.org>
683 * autoconf/acgeneral.m4 (AC_ARG_PROGRAM): Create conftestsed using
685 * autoconf/ltconfig: Improve support for recent FreeBSD 3.
686 * include/cl_GV.h (cl_GV_vectorops): Change return type from 'T' to
687 'const T', to match definition in src/vector/cl_GV_number.cc.
688 Reported by Duncan Simpson <dps@io.stargate.co.uk>.
689 * gmp/mpn/Makefile.in (.S.lo): Use 'if', not '&&', because '&&' may
692 1999-09-07 Bruno Haible <haible@clisp.cons.org>
694 * Version 1.0.2 released.
696 1999-09-06 Bruno Haible <haible@clisp.cons.org>
698 * src/rational/cl_RA.h (integerp, ratiop): Instead of returning a
699 boolean expression, write alternatives ending with either
700 "return cl_true;" or "return cl_false;". This way, g++ does a
701 better job inlining it.
702 * src/float/cl_F.h (longfloatp): Likewise.
703 * src/real/cl_R.h (rationalp, integerp, floatp): Likewise.
704 * src/complex/cl_C.h (realp, complexp): Likewise.
706 1999-09-05 Bruno Haible <haible@clisp.cons.org>
708 * include/cl_integer.h (cl_equal_hashcode): New declaration.
709 * include/cl_rational.h (cl_equal_hashcode): New declaration.
710 * include/cl_sfloat.h (cl_equal_hashcode): New declaration.
711 * include/cl_ffloat.h (cl_equal_hashcode): New declaration.
712 * include/cl_dfloat.h (cl_equal_hashcode): New declaration.
713 * include/cl_lfloat.h (cl_equal_hashcode): New declaration.
714 * include/cl_float.h (cl_equal_hashcode): New declaration.
715 * include/cl_real.h (cl_equal_hashcode): New declaration.
716 * include/cl_complex.h (cl_equal_hashcode): New declaration.
717 * src/base/cl_N.h (equal_hashcode_low, equal_hashcode_one): New macros.
718 * src/integer/misc/cl_I_eqhashcode.cc: New file.
719 * src/rational/misc/cl_RA_eqhashcode.cc: New file.
720 * src/float/sfloat/misc/cl_SF_eqhashcode.cc: New file.
721 * src/float/ffloat/misc/cl_FF_eqhashcode.cc: New file.
722 * src/float/dfloat/misc/cl_DF_eqhashcode.cc: New file.
723 * src/float/lfloat/misc/cl_LF_eqhashcode.cc: New file.
724 * src/float/misc/cl_F_eqhashcode.cc: New file.
725 * src/real/misc/cl_R_eqhashcode.cc: New file.
726 * src/complex/misc/cl_C_eqhashcode.cc: New file.
727 * doc/cln.tex: Document `cl_equal_hashcode'.
729 1999-09-05 Bruno Haible <haible@clisp.cons.org>
731 * include/cl_ring.h (cl_number_ring_ops): Add `contains' member.
732 (cl_number_ring): New class.
733 (cl_specialized_number_ring<T>): Inherit from cl_number_ring.
734 (instanceof): New function.
735 * src/integer/ring/cl_I_ring.cc (cl_I_p): New function.
736 * src/integer/misc/cl_I_as.cc (cl_I_p): Add comment.
737 * src/rational/ring/cl_RA_ring.cc (cl_RA_p): New function.
738 * src/rational/misc/cl_RA_as.cc (cl_RA_p): Add comment.
739 * src/real/ring/cl_R_ring.cc (cl_R_p): New function.
740 * src/real/misc/cl_R_as.cc (cl_R_p): Add comment.
741 * src/complex/ring/cl_C_ring.cc (cl_N_p): New function.
742 * src/complex/misc/cl_N_as.cc (cl_N_p): Add comment.
743 * doc/cln.tex: Document `instanceof'.
745 1999-09-05 Bruno Haible <haible@clisp.cons.org>
747 * include/cl_rational.h (numerator, denominator): New declarations.
748 * src/rational/elem/cl_RA_numerator.cc: New file.
749 * src/rational/elem/cl_RA_denominator.cc: New file.
750 * include/cl_integer.h (numerator, denominator): New inline functions.
751 * doc/cln.tex: Document `numerator' and `denominator'.
753 1999-09-05 Bruno Haible <haible@clisp.cons.org>
755 * src/rational/algebraic/cl_RA_rootp.cc (rootp): Fix endless loop
757 * src/rational/algebraic/cl_RA_rootp_I.cc (rootp): Likewise.
759 1999-09-05 Bruno Haible <haible@clisp.cons.org>
761 * include/cl_config.h.in: Support for sparc64 CPU.
762 * include/cl_modules.h: Likewise.
763 * include/cl_types.h: Likewise.
764 * include/cl_object.h: Likewise.
765 * include/cl_GV.h: Likewise.
766 * src/Makefile.in: Likewise.
767 * src/base/cl_alloca.h: Likewise.
768 * src/base/cl_macros.h: Likewise.
769 * src/base/cl_sysdep.h: Likewise.
770 * src/base/cl_low.h: Likewise.
771 * src/base/digitseq/cl_asm.h: Likewise.
772 * src/base/digitseq/cl_asm_.cc: Likewise.
773 * src/base/digitseq/cl_asm_sparc64.h: New file.
774 * src/base/digitseq/cl_asm_sparc64_.cc: New file.
775 * src/modinteger/cl_MI_int.h: Support for sparc64 CPU.
776 * src/polynomial/elem/cl_UP_no_ring.cc: Likewise.
777 * src/polynomial/elem/cl_UP_GF2.h: Likewise.
778 * src/polynomial/elem/cl_asm_GF2.cc: Likewise.
780 1999-09-04 Bruno Haible <haible@clisp.cons.org>
782 * src/base/digitseq/cl_asm_sparc_.cc (orc2_loop_up, orc2_loop_down):
783 Use the `orn' instruction.
785 1999-08-14 Bruno Haible <haible@clisp.cons.org>
787 Assume all platforms have <stdlib.h> and clock_t.
788 * configure.in: Don't call CL_STDLIB_H and CL_CLOCK_T.
789 * src/base/cl_base_config.h.in (CLOCK_T): Remove definition.
790 * src/base/random/cl_random_from.cc: Use clock_t instead of CLOCK_T.
791 * src/timing/cl_t_config.h.in (CLOCK_T): Remove definition.
792 * src/timing/cl_t_current2.cc: Use clock_t instead of CLOCK_T.
794 1999-07-18 Bruno Haible <haible@clisp.cons.org>
796 * gmp/config.guess: Link to autoconf/config.guess.
797 gmp/config.sub: Link to autoconf/config.sub.
798 Needed for Win32 platforms.
800 1999-07-17 Bruno Haible <haible@clisp.cons.org>
802 * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Distinguish "sparc" and
803 "sparc64" according to the C compiler, not the uname result.
805 1999-06-17 Bruno Haible <haible@clisp.cons.org>
807 * src/base/digitseq/cl_asm_sparc_.cc (compare_loop_up): Fix
808 COUNTER_LOOPS version, fortunately not used yet.
810 * include/cl_modules.h: Prepare for gcc version 3.
812 1999-06-12 Bruno Haible <haible@clisp.cons.org>
814 * src/rational/elem/cl_RA_plus.cc, src/rational/elem/cl_RA_minus.cc:
815 Change the last call from I_I_to_RT to I_I_to_RA.
817 1999-06-09 Bruno Haible <haible@clisp.cons.org>
819 * Version 1.0.1 released.
821 1999-06-09 Bruno Haible <haible@clisp.cons.org>
823 * src/integer/cl_I.h (pFN_maxlength_digits_at): Define also when
826 1999-06-08 Bruno Haible <haible@clisp.cons.org>
828 * autoconf/intparam.c (printf_underscored): Change argument type to
830 * include/cl_modules.h (CL_OUTPUT_LABEL, CL_JUMP_TO): New macros.
831 (CL_PROVIDE, CL_PROVIDE_END): Use them.
832 * include/cl_string.h (cl_heap_string::operator new): Return 1, not 0.
833 * include/cl_GV.h (cl_GV_inner<T>::operator new): Likewise.
834 * src/base/ring/cl_no_ring.cc (dummy_canonhom, dummy_expt_pos): Don't
835 cast a cl_I to void here. Works around a bug in g++-2.95.
836 * src/complex/misc/cl_C_class.cc: Include "cl_C.h".
837 * src/polynomial/elem/cl_UP_no_ring.cc (dummy_canonhom,
838 dummy_expt_pos): Don't cast a cl_I to void here. Works around a bug
840 * src/polynomial/elem/cl_asm_sparc_GF2.cc (DECLARE_FUNCTION): New
842 * src/rational/misc/cl_RA_class.cc: Include "cl_RA.h".
843 * src/vector/cl_GV_I.cc (cl_heap_GV_I_general::operator new,
844 DEFINE_cl_heap_GV_I_bits): Return 1, not 0.
845 * src/vector/cl_GV_number.cc (cl_heap_GV_number_general::operator new):
848 1999-06-01 Bruno Haible <haible@clisp.cons.org>
850 * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Canonicalize alpha
853 1999-05-29 Bruno Haible <haible@clisp.cons.org>
855 * src/base/digitseq/cl_asm_i386_.cc (DECLARE_FUNCTION): Treat
857 * src/base/digitseq/cl_asm_sparc_.cc (DECLARE_FUNCTION): Likewise.
858 * src/base/digitseq/cl_asm_m68k_.cc (DECLARE_FUNCTION): Treat
859 OpenBSD like NetBSD, and Linux/ELF like SVR4.
861 1999-05-16 Bruno Haible <haible@clisp.cons.org>
863 * src/base/cl_low.h (integerlength32) [__rs6000__]: Use old assembler
864 syntax on AIX systems and new assembler syntax on non-AIX systems.
866 1999-05-01 Bruno Haible <haible@clisp.cons.org>
868 * autoconf/config.guess, autoconf/config.sub: Upgrade to newest
869 version from GNU CVS.
871 1999-04-24 Bruno Haible <haible@clisp.cons.org>
873 * src/integer/bitwise/cl_I_logand.cc (logand): Optimize the case when
874 either operand is a positive fixnum, O(1) instead of O(N).
875 * src/integer/bitwise/cl_I_lognand.cc (lognand): Likewise.
876 * src/integer/bitwise/cl_I_logandc2.cc (logandc2): Likewise for the
879 1999-04-14 Bruno Haible <haible@clisp.cons.org>
881 * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add check whether
882 ctor/dtor needs to be exported.
883 * include/cl_config.h.in (CL_NEED_GLOBALIZE_CTORDTOR): New macro.
884 * include/cl_modules.h (CL_GLOBALIZE_JUMP_LABEL): Renamed from
886 (CL_GLOBALIZE_LABEL): New macro.
887 (CL_GLOBALIZE_CTORDTOR_LABEL): Renamed from CL_GLOBALIZE_ASM_LABEL.
888 (CL_PROVIDE): Update.
890 1999-04-12 Bruno Haible <haible@clisp.cons.org>
892 * src/Makefile.in ($(ASMFILES_S)): On HPPA, ignore preprocessing
893 errors ("unterminated string or character constant").
894 ($(ASMFILES_LO)): On HPPA, try with various settings of
895 COMPILER_PATH, in order to try /usr/ccs/bin/as and /bin/as.
897 1999-04-11 Bruno Haible <haible@clisp.cons.org>
899 * INSTALL: Mention gmp problems on MIPS.
900 * doc/cln.tex: Likewise.
902 1999-03-24 Mumit Khan <khan@xraylith.wisc.edu>
904 * src/Makefile.in (SUBDIRS): Filter out CVS and RCS directories from
906 * include/cl_modules.h (CL_GLOBALIZE_LABEL): Define for Win32.
907 (CL_GLOBALIZE_ASM_LABEL): New macro.
908 (CL_PROVIDE): Use it.
909 * src/base/random/cl_random_from.cc: Handle WIN32.
910 * src/timing/cl_t_current.cc: Likewise.
912 1999-03-15 Bruno Haible <haible@clisp.cons.org>
914 * autoconf/intparam.c (main7): Use %lX instead of %X for a `long'.
915 (main8): Adapt for C++.
917 1999-03-09 Bruno Haible <haible@clisp.cons.org>
919 * INSTALL: Mention egcs-1.1 problems on Sparc.
920 * doc/cln.tex: Likewise.
922 1999-03-08 Bruno Haible <haible@clisp.cons.org>
924 * autoconf/aclocal.m4 (CL_FPU_CONTROL): Fix the "checking for"
927 1999-02-25 Bruno Haible <haible@clisp.cons.org>
929 * autoconf/aclocal.m4: In test programs, declare `int main()', not
932 * lidia-interface/src/interfaces/integers/cln/bigint.c
933 (bigint_to_string): Fix for negative arguments.
935 * src/base/cl_low.h: Check for `__sparc__', not `SPARC'.
936 * src/base/cl_alloca.h: Likewise.
938 * src/base/cl_low.h: Eliminate CLISP style "# " comments.
939 * src/base/digitseq/cl_asm_arm_.cc,
940 src/base/digitseq/cl_asm_mips_.cc,
941 src/float/dfloat/elem/cl_DF_mul.cc: Likewise.
943 * src/modinteger/cl_MI_pow2.h,
944 src/modinteger/cl_MI_pow2m1.h,
945 src/modinteger/cl_MI_pow2p1.h: Workaround g++-2.7.2 inlining bug.
947 1999-01-18 Bruno Haible <haible@clisp.cons.org>
949 * autoconf/acgeneral.m4,
950 autoconf/acspecific.m4: Upgrade to autoconf-2.13.
951 * autoconf/config.guess, autoconf/config.sub: Likewise.
952 * autoconf/aclocal.m4 (CL_ALLOCA): Test for _MSC_VER and alloca being
953 a macro. Use ${ac_objext}.
954 * src/base/cl_macros.h (alloca): Put _MSC_VER test before the others,
955 conforming with CL_ALLOCA.
957 1999-01-12 Bruno Haible <haible@clisp.cons.org>
959 * Version 1.0 released.