]> www.ginac.de Git - cln.git/blob - ChangeLog
* autoconf/config.{guess,sub}: Update to GNU version 2002-01-02.
[cln.git] / ChangeLog
1 2002-01-20  Richard Kreckel  <kreckel@ginac.de>
2
3         * autoconf/config.{guess,sub}: Update to GNU version 2002-01-02.
4           (the old one was broken on Linux/Mips.)
5
6 2002-01-04  Richard Kreckel  <kreckel@ginac.de>
7
8         * autoconf/autoconf.m4f: get brutal in order to adhere to FHS.
9         * Version 1.1.4 released.
10
11 2002-01-03  Richard Kreckel  <kreckel@ginac.de>
12
13         * autoconf/acinclude.m4: revamp MPN-matcher.
14         * autoconf/aclocal.m4: upgrade to autoconf-2.52 infrastructure,
15           sync with CLisp from CVS.
16         * autoconf/autoconf: Likewise.
17         * autoconf/autoconf.m4f: Likewise (new file).
18         * configure.ac: Likewise (new file, replaces configure.in).
19         * configure.in: Likewise (deleted, replaced by configure.ac).
20         * autoconf/config.{guess,sub}: Update to GNU version 2001-12-13.
21         * src/Makefile.in: made VPATH safe for autoconf-2.52.
22         * include/cln/config.h.in: Add __s390__.
23
24 2001-12-31  Richard Kreckel  <kreckel@ginac.de>
25
26         * src/base/digitseq/cl_DS.h: <gmp.h> is not included extern "C"
27           any more since GMP4 has some C++ support in it.
28
29 2001-12-14  Richard Kreckel  <kreckel@ginac.de>
30
31         * include/cln/modules.h, include/cln/object.h: add support for
32           s390.
33         * src/numtheory/cl_nt_sqrtmodp.cc: workaround for GCC2.x compiler-bug
34           on s390, provided by Gerhard Tonn.
35
36 2001-11-05  Richard Kreckel  <kreckel@ginac.de>
37
38         * autoconf/ltmain.sh: Upgrade to libtool-1.4.2.
39         * autoconf/config.{guess,sub}: Update to GNU version 2001-09-07.
40         * Version 1.1.3 released.
41
42 2001-11-04  Bruno Haible  <haible@clisp.cons.org>
43
44         Interoperability with gcc-3.0 -fuse-cxa-atexit.
45         * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add test whether
46           global destructors actually exist.
47         * include/cln/modules.h (CL_PROVIDE, CL_PROVIDE_END, CL_PROVIDE_END):
48           Don't hack the global destructors if there is no global destructors
49           function.
50
51 2001-11-03  Richard Kreckel  <kreckel@ginac.de>
52
53         * src/float/transcendental/cl_F_sinx.cc (sinx_naive): For small
54           values of x, return square(x) instead of x.
55         * src/float/transcendental/cl_F_sinhx.cc (sinhx_naive): Likewise.
56
57 2001-07-25  Richard Kreckel  <kreckel@ginac.de>
58
59         * Version 1.1.2 released.
60
61 2001-07-24  Richard Kreckel  <kreckel@ginac.de>
62
63         * src/base/hash/cl_hash.h: declare _cl_hashtable_iterator<htentry> a
64           friend of cl_heap_hashtable<htentry>.
65
66 2001-07-22  Richard Kreckel  <kreckel@ginac.de>
67
68         * src/float/base/cl_ieee.cc: try to do magic to the FPU only if
69           _FPU_IEEE is really defined.
70         * include/cln/modules.h: change assembler labels from `label' to
71           `label:' on hppa, needed by Linux (see comment).
72         * autoconf/acinclude.m4: new file (for storing CLN-specific macros).
73         * Makefile.devel: adjusted.
74         * autoconf/aclocal.m4: regenerate.
75         * src/base/low/cl_low_mul.cc: moved POD variables that are declared
76           extern "C" elsewhere out of the namespace.
77         * src/base/low/cl_low_div.cc: Likewise.
78
79 2001-06-08  Bruno Haible  <haible@clisp.cons.org>
80
81         * autoconf/config.{guess,sub}: Update to GNU version 2001-05-11.
82         * autoconf/aclocal.m4: Upgrade to libtool-1.4.
83         * autoconf/ltmain.sh: Likewise.
84         * autoconf/ltconfig: Remove file.
85         * autoconf/install-sh: New file.
86         * configure.in: Add AC_CONFIG_AUX_DIR call.
87
88 2001-06-05  Richard Kreckel  <kreckel@ginac.de>
89
90         * tests/tests.cc: resolve namespace ambiguity about strcmp().
91
92 2001-05-31  Richard Kreckel  <kreckel@ginac.de>
93
94         * Version 1.1.1 released.
95
96 2001-05-28  Richard Kreckel  <kreckel@ginac.de>
97
98         * cln/cln.tex: documented problems with shared library on Sparc
99           using gcc older than 2.95.3.
100         * configure.in: Fixed typos in versioning docu.
101
102 2001-05-25  Bruno Haible  <haible@clisp.cons.org>
103
104         * src/base/digitseq/cl_asm_arm_.cc: Use #0x instead of #& to designate
105           hexadecimal constants.
106
107 2001-05-25  Richard Kreckel  <kreckel@ginac.de>
108
109         * autoconf/floatparam.c (double_wordorder_bigendian_p): new symbol.
110         * src/float/dfloat/cl_DF.h: Check for double_wordorder_bigendian_p.
111         * Removed LiDIA interface since that is now outdated (namespace cln)
112           and maintained elsewhere.
113         * Adjusted dates and final touches for 1.1.1.
114
115 2001-05-19  Richard Kreckel  <kreckel@ginac.de>
116
117         * INSTALL: Update toolchain info: no egcs, some more platforms.
118         * doc/cln.tex: Likewise.
119
120 2001-05-18  Richard Kreckel  <kreckel@ginac.de>
121
122         * src/base/cl_low.h: prepended variables declared inside macros
123           with underscore.  Fixes equal_hashcode() on various platforms.
124
125 2001-04-25  Richard Kreckel  <kreckel@ginac.de>
126
127         * src/base/cl_low.h: Added several checks if NO_ASM is defined, so
128           this definition becomes actually useful.  This is needed for 
129           compilation on Arm until somebody fixes the assembler files for Arm.
130         * src/base/digitseq/cl_asm.h: Likewise.
131         * src/base/digitseq/cl_asm_.cc: Likewise.
132         * */Makefile.in: Added `override' in front of `CPPFLAGS +=' so
133            one can say `make CPPFLAGS=-DFOOBAR'.
134
135 2001-03-26  Arvid Norberg <c99ang@cs.umu.se>
136
137         * src/base/random/cl_random_from.cc: ported to beos.
138
139 2001-03-05  Richard Kreckel  <kreckel@ginac.de>
140
141         * include/cln/modules.h (CL_JUMP_TO): Fix IA64 brokenness.
142
143 2001-01-28  Richard Kreckel  <kreckel@ginac.de>
144
145         * include/cln/number.h (cl_as_N): Remove bogus comment.
146
147 2001-01-22  Richard Kreckel  <kreckel@ginac.de>
148
149         * configure.in: Make build in separate builddir possible (again).
150
151 2001-01-22  Richard Kreckel  <kreckel@ginac.de>
152
153         * include/cln/*.h: Change signatures of all classes' methods
154           cln::cl_foo::operator new(size_t, cl_foo*) to
155           cln::cl_foo::operator new(size_t, void*) so one can declare
156           std::vector<cln::cl_foo>, std::list<cln::cl_foo> etc. for
157           certain STL implementations (like libstdc++-v3).
158
159 2000-12-14  Richard Kreckel  <kreckel@ginac.de>
160
161         * Version 1.1 released.
162
163 2000-12-13  Richard Kreckel  <kreckel@ginac.de>
164
165         * */*: cl_istream -> std::istream, cl_ostream -> std::ostream.
166
167 2000-12-05  Richard Kreckel  <kreckel@ginac.de>
168
169         * Makefile.in, src/Makefile.in, doc/Makefile.in: Use mkdir -p.
170         * include/cln/version.h.in, src/base/verion.cc: New files.
171         * configure.in: Generate include/cln/version.h.
172         * cln.m4: Rewrote it. Check result of cln-config without compiling.
173           Do cross-check library version and header version information.
174
175 2000-12-02  Christian Bauer  <cbauer@ginac.de>
176
177         * Makefile.in, src/Makefile.in, doc/Makefile.in: Added $DESTDIR.
178         * cln.m4, cln.spec.in: some minor fixes with respect to RPM package
179           building.
180
181 2000-11-24  Richard Kreckel  <kreckel@ginac.de>
182
183         * */*: Removed problematic stdin, stdout and stderr definitions.  
184           Use std::cin, std::cout, std::cerr instead (obsoletes 2000-10-29).
185
186 2000-11-20  Bruno Haible
187
188         * cln-config.1: change title.
189
190 2000-11-18  Richard Kreckel  <kreckel@ginac.de>
191
192         * cln.m4: New file.
193         * doc/cln.tex: Document package tools cln-config and cln.m4.
194         * Makefile.in: Care about cln.m4.
195
196 2000-11-17  Richard Kreckel  <kreckel@ginac.de>
197
198         * cln-config.1: added manpage, as required by a couple of distros.
199         * Makefile.in, doc/Makefile.in: target install depends on installdirs.
200
201 2000-11-16  Richard Kreckel  <kreckel@ginac.de>
202
203         * autoconf/aclocal.m4 (CL_GMP_SET_UINTD): New macro...
204         * configure.in: ...used here.
205         * include/cln/config.h.in: Put in macros defined by CL_GMP_SET_UINTD...
206         * include/cln/types.h: ...used here.
207         * autoconf/acgeneral.m4, autoconf/aclocal.m4: Adhere to FHS.
208
209 2000-11-13  Richard Kreckel  <kreckel@ginac.de>
210
211         * src/base/digitseq/cl_asm.h: Test if (intDsize==32) for MIPS and HPPA,
212           in order to guard against an accidented configuration.
213         * src/integer/conv/cl_I_to_digits.cc (table): member b_hoch_k of 
214           struct power_table_entry initialized as ULL instead of as UL, if 
215           intDsize==64 (caused misprinting on MIPS w/ GMP).
216         * src/base/cl_macros.h (minus_bitm, bitc): implemented ULL, if 
217           HAVE_FAST_LONGLONG.
218         * src/integer/bitwise/cl_I_mkfx.cc (mkf_extract): Likewise.
219         * src/integer/conv/cl_I_from_L.cc (cl_I_from_L): Added trival 
220           generation of Bignum for intDsize==64 and a notreached-check at end.
221         * autoconf/config.guess, autoconf/config.sub: updated from FSF.
222         * include/cln/config.h.in: Prepared support for IA64.
223         * include/cln/types.h: Likewise.
224         * include/cln/object.h: Likewise.
225         * include/cln/modules.h: Likewise.
226         * src/base/cl_macros.h (nonreturning_function): Likewise (NUE's 
227           compiler claims __GNUC_MINOR__==9).
228
229 2000-11-03  Richard Kreckel  <kreckel@ginac.de>
230
231         * src/base/cl_macros.h (bit, minus_bit): changed criterion for ULL from
232           HAVE_DD to HAVE_FAST_LONGLONG.
233         * src/base/cl_macros.h (bitm): implemented ULL, if HAVE_FAST_LONGLONG.
234         * src/base/cl_low.h: actually no need to include "cln/types.h" here.
235         * src/base/cl_low.h (logcount_64): always ULL, independent of HAVE_DD.
236         * src/base/random/cl_UL_random.cc (random32): a is always ULL.
237
238 2000-11-01  Richard Kreckel  <kreckel@ginac.de>
239
240         * include/cln/object.h (cl_combine): define additional signatures, if
241           HAVE_LONGLONG is defined, in order to keep the compiler happy.
242         * src/base/cl_macros.h: include "cln/types.h", since we need HAVE_DD...
243         * src/base/cl_macros.h (bit): ...for this macro...
244         * src/base/cl_macros.h (minus_bit): ...and this one.
245         * src/base/cl_low.h: include "cln/types.h", since we need HAVE_DD...
246         * src/base/cl_low.h (logcount_64): ...for this macro.
247         * src/base/random/cl_UL_random.cc (random32): if HAVE_DD a is an ULL.
248         * src/integer/gcd/cl_I_gcd_aux2.cc (floorDD): fixed algorithmic bug.
249           that turned up when intDsize==32 and cl_word_size==64.
250         * src/float/dfloat/elem/cl_DF_div.cc (operator/): fixed a missing cast
251           to uint64 that turned up when intDsize==32 and cl_word_size==64.
252
253 2000-10-29  Richard Kreckel  <kreckel@ginac.de>
254
255         * src/real/input/cl_R_read.cc, src/complex/input/cl_N_read.cc:
256           #undef stderr, if it's defined so cln::stderr isn't confused.
257         * src/base/input/cl_read_globals.cc: stdin should not be extern.
258
259 2000-09-05  Richard Kreckel  <kreckel@ginac.de>
260
261         * include/cln/number.h (As): Fix it in namespace by suffixing `_As'
262           to the appropiate method instead of prefixing `as_'.
263         * src/complex/misc/cl_N_as.cc (cl_N_As): Likewise.
264         * src/real/misc/cl_R_as.cc (cl_R_As): Likewise.
265         * src/rational/misc/cl_RA_as.cc (cl_RA_As): Likewise.
266         * src/integer/misc/cl_I_as.cc (cl_I_As): Likewise.
267         * src/float/misc/cl_F_as.cc (cl_F_As): Likewise.
268         * src/float/sfloat/misc/cl_SF_as.cc (cl_SF_As): Likewise.
269         * src/float/lfloat/misc/cl_LF_as.cc (cl_LF_As): Likewise.
270         * src/float/ffloat/misc/cl_FF_as.cc (cl_FF_As): Likewise.
271         * src/float/dfloat/misc/cl_DF_as.cc (cl_DF_As): Likewise.
272
273 2000-09-05  Richard Kreckel  <kreckel@ginac.de>
274
275         * src/complex/transcendental/cl_C_expt_C.cc (expt): fix logic for
276           the 0^y cases.
277
278 2000-08-30  Richard Kreckel  <kreckel@ginac.de>
279
280         * include/cln/number.h, cl_number::_as_cl_private_thing(): removed.
281           Rearranged for a clearer distinction between macros and remaining
282           identifiers, so Cint can parse it smoothly.
283
284 2000-08-29  Richard Kreckel  <kreckel@ginac.de>
285
286         * include/cln/number.h, the(const cl_number& x): New template
287           function.
288
289 2000-08-29  Richard Kreckel  <kreckel@ginac.de>
290
291         * */*: Pushed CLN into a namespace `cln'.  While doing so, the
292           following identifiers got their poor-man's namespace (i.e. the 
293           prefix `cl_') stripped off:
294           cl_catalanconst()        ->  catalanconst()
295           cl_compare()             ->  compare()
296           cl_cos_sin()             ->  cos_sin()
297           cl_cos_sin_t             ->  cos_sin_t
298           cl_cosh_sinh()           ->  cosh_sinh()
299           cl_cosh_sinh_t           ->  cosh_sinh_t
300           cl_decoded_dfloat        ->  decoded_dfloat
301           cl_decoded_ffloat        ->  decoded_ffloat
302           cl_decoded_float         ->  decoded_float
303           cl_decoded_lfloat        ->  decoded_lfloat
304           cl_decoded_sfloat        ->  decoded_sfloat
305           cl_default_float_format  ->  default_float_format
306           cl_default_print_flags   ->  default_print_flags
307           cl_default_random_state  ->  default_random_state
308           cl_double_approx()       ->  double_approx()
309           cl_equal()               ->  equal()
310           cl_equal_hashcode()      ->  equal_hashcode()
311           cl_eulerconst()          ->  eulerconst()
312           cl_find_modint_ring()    ->  find_modint_ring()
313           cl_find_univpoly_ring()  ->  find_univ_poly_ring()
314           cl_float_approx()        ->  float_approx
315           cl_float_format()        ->  float_format()
316           cl_float_format_t        ->  float_format_t
317           cl_free_hook()           ->  free_hook()
318           cl_hermite()             ->  hermite()
319           cl_laguerre()            ->  laguerre()
320           cl_legendre()            ->  legandre()
321           cl_malloc_hook()         ->  malloc_hook()
322           cl_pi()                  ->  pi()
323           cl_tschebychev()         ->  tschebychev()
324           cl_zeta()                ->  zeta()
325           NB: For functions these changes includes all signatures.
326         * include/*: moved to include/cln/*, stripped `cl_' off filenames.
327         * cln-config.in: new file.
328
329 2000-08-26  Bruno Haible  <haible@clisp.cons.org>
330
331         * autoconf/acgeneral.m4 (AC_OUTPUT): Use braces in exec_prefix default
332           value, not parens.
333
334 2000-08-18  Bruno Haible  <haible@clisp.cons.org>
335
336         * include/cl_univpoly_modint.h: Fix typo.
337
338 2000-07-13  Bruno Haible  <haible@clisp.cons.org>
339
340         * src/float/input/cl_F_read_stream.cc (number_char_p): Accept '_',
341           used as precision marker for floats.
342           Reported by Keith Briggs (in 1998) and Thomas Roessler.
343         * src/integer/input/cl_I_read_stream.cc (number_char_p): Likewise.
344         * src/rational/input/cl_RA_read_stream.cc (number_char_p): Likewise.
345         * src/real/input/cl_R_read_stream.cc (number_char_p): Likewise.
346         * src/complex/input/cl_N_read_stream.cc (number_char_p): Likewise.
347
348 2000-06-22  Bruno Haible  <haible@clisp.cons.org>
349
350         * include/cl_object.h: Rename cl_word_size to cl_pointer_size.
351         * include/cl_types.h (HAVE_FAST_LONGLONG): Also define on Irix6
352           with N32 ABI.
353           (cl_word_size): New macro.
354         * src/float/sfloat/cl_SF.h: Use cl_pointer_size instead of
355           cl_word_size.
356
357 2000-05-31  Bruno Haible  <haible@clisp.cons.org>
358
359         * tests/exam_I_floor.cc (integer_floor_tests): Add one more entry.
360           From a sample that fails with gcc-2.95.2 on Sparc.
361         * tests/exam_I_gcd.cc (integer_gcd_tests): Likewise.
362
363 2000-05-30  Richard Kreckel  <kreckel@ginac.de>
364
365         * configure.in, autoconf/aclocal.m4 (CL_GMP_H_VERSION, CL_GMP_CHECK):
366           New macros.
367         * configure.in, include/cl_config.h.in (CL_VERSION, CL_VERSION_MINOR,
368           CL_VERSION_PATCHLEVEL): New definitions.
369         * autoconf/config.guess, autoconf/config.sub, autoconf/ltconfig,
370           autoconf/ltmain.sh: updated from FSF (libtool 1.3.5, etc).
371         * src/Makefile.in, configure.in: release-variables renamed from 
372           CLN_* to CL_*.
373         * configure.in: default to build both shared and static library
374           (i.e. default to the most common behaviour).
375
376 2000-05-29  Richard Kreckel  <kreckel@ginac.de>
377
378         * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Added missing changequote
379           environment around the patch of 2000-05-23.
380
381 2000-05-29  Bruno Haible  <haible@clisp.cons.org>
382
383         * autoconf/aclocal.m4 (CL_PROG_INSTALL): Fix typo.
384           Reported by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>.
385
386 2000-05-27  Richard Kreckel  <kreckel@ginac.de>
387
388         * src/float/lfloat/algebraic/cl_LF_sqrt.cc,
389           src/base/digitseq/cl_DS_sqrt.cc: Readjusted break-even points.
390
391 2000-05-24  Richard Kreckel  <kreckel@ginac.de>
392
393         * autoconf/config.*: Updated to new version from FSF
394           (the new libtool wants this).
395         * src/Makefile.in: added $(LDFLAGS) to link step.
396         * src/base/digitseq/cl_2DS_div.cc, cl_2DS_recip.cc: Readjusted 
397           break-even points.
398
399 2000-05-23  Bruno Haible  <haible@clisp.cons.org>
400
401         * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Determine host_cpu,
402           host_vendor, host_os correctly if $host has more than two hyphens.
403
404 2000-05-19  Richard Kreckel  <kreckel@ginac.de>
405
406         * src/base/digitseq/cl_DS_mul.cc: Rearranged break-even points to
407           better match present-day CPUs whenever GMP3 is used.
408         * src/base/digitseq/cl_DS_div.cc: dto. 
409         * src/TUNING: Added comment about order of tuning.
410         * configure, configure.in: Safer GMP3-detection.
411         * INSTALL.generic: Clarified behaviour of --with-gmp.
412         * autoconf/config.guess: updated from Clisp-2000-03-06 sources.
413
414 2000-05-04  Richard Kreckel  <kreckel@ginac.de>
415
416         * gmp/: removed completely.  From now on we are going to link
417           externally against libgmp3.0 or above!
418         * configure, configure.in, Makefile.in, */Makeflags: removed support
419           of internal gmp 2.0.2, like $GMP_INCLUDES, which should be done by
420           setting $CPPFLAGS instead.
421         * Makefile.in: Added libtool inter-library dependency for -lgmp and
422           conforming interface versioning (-version-info).
423         * autoconf/ltconfig, autoconf/ltmain.sh: Updated to newer versions
424           from libtool 1.3.4.
425
426 2000-02-22  Bruno Haible  <haible@clisp.cons.org>
427
428         * src/base/digitseq/cl_asm_mips_.cc: Starting at argument 5 the
429           parameter passing was changed for the MIPS n32 ABI.
430
431 2000-01-24  Richard Kreckel  <kreckel@ginac.de>
432
433         * gmp/*: Replaced the complete mpn sources with the ones from
434           Debian since they are maintained while the ones from FSF
435           aren't and there were problems on some architectures, PowerPC
436           in particular.  See the file gmp/README.CLN.  This way the
437           hard links in this directory have vanished, they were causing
438           trouble for people working in AFS.  This became necessary for
439           Debian, because there it woudn't compile on PPC.
440
441 2000-01-13  Richard Kreckel  <kreckel@ginac.de>
442
443         * Version 1.0.3 released.
444
445 2000-01-13  Richard Kreckel  <kreckel@ginac.de>
446
447         * src/base/cl_macros.h (nonreturning_function): For egcs and newer
448           use __attribute__ ((__noreturn__)) instead of the __volatile__
449           storage class.
450           (nonreturning): Remove macro.
451         * include/*: Minor fixes to stop -ansi -pedantic from complaining.
452         * include/cl_integer.h: (doublefactorial): New declaration.
453         * src/integer/misc/combin/cl_I_doublefactorial.cc: New file.
454
455 1999-12-18  Bruno Haible  <haible@clisp.cons.org>
456
457         * autoconf/acgeneral.m4 (AC_ARG_PROGRAM): Create conftestsed using
458           "cat", not "echo".
459         * autoconf/ltconfig: Improve support for recent FreeBSD 3.
460         * include/cl_GV.h (cl_GV_vectorops): Change return type from 'T' to
461           'const T', to match definition in src/vector/cl_GV_number.cc.
462           Reported by Duncan Simpson <dps@io.stargate.co.uk>.
463         * gmp/mpn/Makefile.in (.S.lo): Use 'if', not '&&', because '&&' may
464           yield return code 1.
465
466 1999-09-07  Bruno Haible  <haible@clisp.cons.org>
467
468         * Version 1.0.2 released.
469
470 1999-09-06  Bruno Haible  <haible@clisp.cons.org>
471
472         * src/rational/cl_RA.h (integerp, ratiop): Instead of returning a
473           boolean expression, write alternatives ending with either
474           "return cl_true;" or "return cl_false;". This way, g++ does a
475           better job inlining it.
476         * src/float/cl_F.h (longfloatp): Likewise.
477         * src/real/cl_R.h (rationalp, integerp, floatp): Likewise.
478         * src/complex/cl_C.h (realp, complexp): Likewise.
479
480 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
481
482         * include/cl_integer.h (cl_equal_hashcode): New declaration.
483         * include/cl_rational.h (cl_equal_hashcode): New declaration.
484         * include/cl_sfloat.h (cl_equal_hashcode): New declaration.
485         * include/cl_ffloat.h (cl_equal_hashcode): New declaration.
486         * include/cl_dfloat.h (cl_equal_hashcode): New declaration.
487         * include/cl_lfloat.h (cl_equal_hashcode): New declaration.
488         * include/cl_float.h (cl_equal_hashcode): New declaration.
489         * include/cl_real.h (cl_equal_hashcode): New declaration.
490         * include/cl_complex.h (cl_equal_hashcode): New declaration.
491         * src/base/cl_N.h (equal_hashcode_low, equal_hashcode_one): New macros.
492         * src/integer/misc/cl_I_eqhashcode.cc: New file.
493         * src/rational/misc/cl_RA_eqhashcode.cc: New file.
494         * src/float/sfloat/misc/cl_SF_eqhashcode.cc: New file.
495         * src/float/ffloat/misc/cl_FF_eqhashcode.cc: New file.
496         * src/float/dfloat/misc/cl_DF_eqhashcode.cc: New file.
497         * src/float/lfloat/misc/cl_LF_eqhashcode.cc: New file.
498         * src/float/misc/cl_F_eqhashcode.cc: New file.
499         * src/real/misc/cl_R_eqhashcode.cc: New file.
500         * src/complex/misc/cl_C_eqhashcode.cc: New file.
501         * doc/cln.tex: Document `cl_equal_hashcode'.
502
503 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
504
505         * include/cl_ring.h (cl_number_ring_ops): Add `contains' member.
506           (cl_number_ring): New class.
507           (cl_specialized_number_ring<T>): Inherit from cl_number_ring.
508           (instanceof): New function.
509         * src/integer/ring/cl_I_ring.cc (cl_I_p): New function.
510         * src/integer/misc/cl_I_as.cc (cl_I_p): Add comment.
511         * src/rational/ring/cl_RA_ring.cc (cl_RA_p): New function.
512         * src/rational/misc/cl_RA_as.cc (cl_RA_p): Add comment.
513         * src/real/ring/cl_R_ring.cc (cl_R_p): New function.
514         * src/real/misc/cl_R_as.cc (cl_R_p): Add comment.
515         * src/complex/ring/cl_C_ring.cc (cl_N_p): New function.
516         * src/complex/misc/cl_N_as.cc (cl_N_p): Add comment.
517         * doc/cln.tex: Document `instanceof'.
518
519 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
520
521         * include/cl_rational.h (numerator, denominator): New declarations.
522         * src/rational/elem/cl_RA_numerator.cc: New file.
523         * src/rational/elem/cl_RA_denominator.cc: New file.
524         * include/cl_integer.h (numerator, denominator): New inline functions.
525         * doc/cln.tex: Document `numerator' and `denominator'.
526
527 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
528
529         * src/rational/algebraic/cl_RA_rootp.cc (rootp): Fix endless loop
530           in the integer case.
531         * src/rational/algebraic/cl_RA_rootp_I.cc (rootp): Likewise.
532
533 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
534
535         * include/cl_config.h.in: Support for sparc64 CPU.
536         * include/cl_modules.h: Likewise.
537         * include/cl_types.h: Likewise.
538         * include/cl_object.h: Likewise.
539         * include/cl_GV.h: Likewise.
540         * src/Makefile.in: Likewise.
541         * src/base/cl_alloca.h: Likewise.
542         * src/base/cl_macros.h: Likewise.
543         * src/base/cl_sysdep.h: Likewise.
544         * src/base/cl_low.h: Likewise.
545         * src/base/digitseq/cl_asm.h: Likewise.
546         * src/base/digitseq/cl_asm_.cc: Likewise.
547         * src/base/digitseq/cl_asm_sparc64.h: New file.
548         * src/base/digitseq/cl_asm_sparc64_.cc: New file.
549         * src/modinteger/cl_MI_int.h: Support for sparc64 CPU.
550         * src/polynomial/elem/cl_UP_no_ring.cc: Likewise.
551         * src/polynomial/elem/cl_UP_GF2.h: Likewise.
552         * src/polynomial/elem/cl_asm_GF2.cc: Likewise.
553
554 1999-09-04  Bruno Haible  <haible@clisp.cons.org>
555
556         * src/base/digitseq/cl_asm_sparc_.cc (orc2_loop_up, orc2_loop_down):
557           Use the `orn' instruction.
558
559 1999-08-14  Bruno Haible  <haible@clisp.cons.org>
560
561         Assume all platforms have <stdlib.h> and clock_t.
562         * configure.in: Don't call CL_STDLIB_H and CL_CLOCK_T.
563         * src/base/cl_base_config.h.in (CLOCK_T): Remove definition.
564         * src/base/random/cl_random_from.cc: Use clock_t instead of CLOCK_T.
565         * src/timing/cl_t_config.h.in (CLOCK_T): Remove definition.
566         * src/timing/cl_t_current2.cc: Use clock_t instead of CLOCK_T.
567
568 1999-07-18  Bruno Haible  <haible@clisp.cons.org>
569
570         * gmp/config.guess: Link to autoconf/config.guess.
571           gmp/config.sub: Link to autoconf/config.sub.
572           Needed for Win32 platforms.
573
574 1999-07-17  Bruno Haible  <haible@clisp.cons.org>
575
576         * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Distinguish "sparc" and
577           "sparc64" according to the C compiler, not the uname result.
578
579 1999-06-17  Bruno Haible  <haible@clisp.cons.org>
580
581         * src/base/digitseq/cl_asm_sparc_.cc (compare_loop_up): Fix
582           COUNTER_LOOPS version, fortunately not used yet.
583
584         * include/cl_modules.h: Prepare for gcc version 3.
585
586 1999-06-12  Bruno Haible  <haible@clisp.cons.org>
587
588         * src/rational/elem/cl_RA_plus.cc, src/rational/elem/cl_RA_minus.cc:
589           Change the last call from I_I_to_RT to I_I_to_RA.
590
591 1999-06-09  Bruno Haible  <haible@clisp.cons.org>
592
593         * Version 1.0.1 released.
594
595 1999-06-09  Bruno Haible  <haible@clisp.cons.org>
596
597         * src/integer/cl_I.h (pFN_maxlength_digits_at): Define also when
598           intDsize==64.
599
600 1999-06-08  Bruno Haible  <haible@clisp.cons.org>
601
602         * autoconf/intparam.c (printf_underscored): Change argument type to
603           `const char*'.
604         * include/cl_modules.h (CL_OUTPUT_LABEL, CL_JUMP_TO): New macros.
605           (CL_PROVIDE, CL_PROVIDE_END): Use them.
606         * include/cl_string.h (cl_heap_string::operator new): Return 1, not 0.
607         * include/cl_GV.h (cl_GV_inner<T>::operator new): Likewise.
608         * src/base/ring/cl_no_ring.cc (dummy_canonhom, dummy_expt_pos): Don't
609           cast a cl_I to void here. Works around a bug in g++-2.95.
610         * src/complex/misc/cl_C_class.cc: Include "cl_C.h".
611         * src/polynomial/elem/cl_UP_no_ring.cc (dummy_canonhom,
612            dummy_expt_pos): Don't cast a cl_I to void here. Works around a bug
613           in g++-2.95.
614         * src/polynomial/elem/cl_asm_sparc_GF2.cc (DECLARE_FUNCTION): New
615           macro.
616         * src/rational/misc/cl_RA_class.cc: Include "cl_RA.h".
617         * src/vector/cl_GV_I.cc (cl_heap_GV_I_general::operator new,
618            DEFINE_cl_heap_GV_I_bits): Return 1, not 0.
619         * src/vector/cl_GV_number.cc (cl_heap_GV_number_general::operator new):
620           Likewise.
621
622 1999-06-01  Bruno Haible  <haible@clisp.cons.org>
623
624         * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Canonicalize alpha
625           variants to alpha.
626
627 1999-05-29  Bruno Haible  <haible@clisp.cons.org>
628
629         * src/base/digitseq/cl_asm_i386_.cc (DECLARE_FUNCTION): Treat
630           OpenBSD like NetBSD.
631         * src/base/digitseq/cl_asm_sparc_.cc (DECLARE_FUNCTION): Likewise.
632         * src/base/digitseq/cl_asm_m68k_.cc (DECLARE_FUNCTION): Treat
633           OpenBSD like NetBSD, and Linux/ELF like SVR4.
634
635 1999-05-16  Bruno Haible  <haible@clisp.cons.org>
636
637         * src/base/cl_low.h (integerlength32) [__rs6000__]: Use old assembler
638           syntax on AIX systems and new assembler syntax on non-AIX systems.
639
640 1999-05-01  Bruno Haible  <haible@clisp.cons.org>
641
642         * autoconf/config.guess, autoconf/config.sub: Upgrade to newest
643           version from GNU CVS.
644
645 1999-04-24  Bruno Haible  <haible@clisp.cons.org>
646
647         * src/integer/bitwise/cl_I_logand.cc (logand): Optimize the case when
648           either operand is a positive fixnum, O(1) instead of O(N).
649         * src/integer/bitwise/cl_I_lognand.cc (lognand): Likewise.
650         * src/integer/bitwise/cl_I_logandc2.cc (logandc2): Likewise for the
651           first operand.
652
653 1999-04-14  Bruno Haible  <haible@clisp.cons.org>
654
655         * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add check whether
656           ctor/dtor needs to be exported.
657         * include/cl_config.h.in (CL_NEED_GLOBALIZE_CTORDTOR): New macro.
658         * include/cl_modules.h (CL_GLOBALIZE_JUMP_LABEL): Renamed from
659           CL_GLOBALIZE_LABEL.
660           (CL_GLOBALIZE_LABEL): New macro.
661           (CL_GLOBALIZE_CTORDTOR_LABEL): Renamed from CL_GLOBALIZE_ASM_LABEL.
662           (CL_PROVIDE): Update.
663
664 1999-04-12  Bruno Haible  <haible@clisp.cons.org>
665
666         * src/Makefile.in ($(ASMFILES_S)): On HPPA, ignore preprocessing
667           errors ("unterminated string or character constant").
668           ($(ASMFILES_LO)): On HPPA, try with various settings of
669           COMPILER_PATH, in order to try /usr/ccs/bin/as and /bin/as.
670
671 1999-04-11  Bruno Haible  <haible@clisp.cons.org>
672
673         * INSTALL: Mention gmp problems on MIPS.
674         * doc/cln.tex: Likewise.
675
676 1999-03-24  Mumit Khan  <khan@xraylith.wisc.edu>
677
678         * src/Makefile.in (SUBDIRS): Filter out CVS and RCS directories from
679           the source tree.
680         * include/cl_modules.h (CL_GLOBALIZE_LABEL): Define for Win32.
681           (CL_GLOBALIZE_ASM_LABEL): New macro.
682           (CL_PROVIDE): Use it.
683         * src/base/random/cl_random_from.cc: Handle WIN32.
684         * src/timing/cl_t_current.cc: Likewise.
685
686 1999-03-15  Bruno Haible  <haible@clisp.cons.org>
687
688         * autoconf/intparam.c (main7): Use %lX instead of %X for a `long'.
689           (main8): Adapt for C++.
690
691 1999-03-09  Bruno Haible  <haible@clisp.cons.org>
692
693         * INSTALL: Mention egcs-1.1 problems on Sparc.
694         * doc/cln.tex: Likewise.
695
696 1999-03-08  Bruno Haible  <haible@clisp.cons.org>
697
698         * autoconf/aclocal.m4 (CL_FPU_CONTROL): Fix the "checking for"
699           messages.
700
701 1999-02-25  Bruno Haible  <haible@clisp.cons.org>
702
703         * autoconf/aclocal.m4: In test programs, declare `int main()', not
704           `main()'.
705
706         * lidia-interface/src/interfaces/integers/cln/bigint.c
707           (bigint_to_string): Fix for negative arguments.
708
709         * src/base/cl_low.h: Check for `__sparc__', not `SPARC'.
710         * src/base/cl_alloca.h: Likewise.
711
712         * src/base/cl_low.h: Eliminate CLISP style "# " comments.
713         * src/base/digitseq/cl_asm_arm_.cc,
714           src/base/digitseq/cl_asm_mips_.cc,
715           src/float/dfloat/elem/cl_DF_mul.cc: Likewise.
716
717         * src/modinteger/cl_MI_pow2.h,
718           src/modinteger/cl_MI_pow2m1.h,
719           src/modinteger/cl_MI_pow2p1.h: Workaround g++-2.7.2 inlining bug.
720
721 1999-01-18  Bruno Haible  <haible@clisp.cons.org>
722
723         * autoconf/acgeneral.m4,
724           autoconf/acspecific.m4: Upgrade to autoconf-2.13.
725         * autoconf/config.guess, autoconf/config.sub: Likewise.
726         * autoconf/aclocal.m4 (CL_ALLOCA): Test for _MSC_VER and alloca being
727           a macro. Use ${ac_objext}.
728         * src/base/cl_macros.h (alloca): Put _MSC_VER test before the others,
729           conforming with CL_ALLOCA.
730
731 1999-01-12  Bruno Haible  <haible@clisp.cons.org>
732
733         * Version 1.0 released.
734