]> www.ginac.de Git - cln.git/blob - ChangeLog
Initial revision
[cln.git] / ChangeLog
1 2000-01-13  Richard Kreckel  <kreckel@ginac.de>
2
3         * Version 1.0.3 released.
4
5 2000-01-13  Richard Kreckel  <kreckel@ginac.de>
6
7         * src/base/cl_macros.h (nonreturning_function): For egcs and newer
8           use __attribute__ ((__noreturn__)) instead of the __volatile__
9           storage class.
10           (nonreturning): Remove macro.
11         * include/*: Minor fixes to stop -ansi -pedantic from complaining.
12         * include/cl_integer.h: (doublefactorial): New declaration.
13         * src/integer/misc/combin/cl_I_doublefactorial.cc: New file.
14
15 1999-12-18  Bruno Haible  <haible@clisp.cons.org>
16
17         * autoconf/acgeneral.m4 (AC_ARG_PROGRAM): Create conftestsed using
18           "cat", not "echo".
19         * autoconf/ltconfig: Improve support for recent FreeBSD 3.
20         * include/cl_GV.h (cl_GV_vectorops): Change return type from 'T' to
21           'const T', to match definition in src/vector/cl_GV_number.cc.
22           Reported by Duncan Simpson <dps@io.stargate.co.uk>.
23         * gmp/mpn/Makefile.in (.S.lo): Use 'if', not '&&', because '&&' may
24           yield return code 1.
25
26 1999-09-07  Bruno Haible  <haible@clisp.cons.org>
27
28         * Version 1.0.2 released.
29
30 1999-09-06  Bruno Haible  <haible@clisp.cons.org>
31
32         * src/rational/cl_RA.h (integerp, ratiop): Instead of returning a
33           boolean expression, write alternatives ending with either
34           "return cl_true;" or "return cl_false;". This way, g++ does a
35           better job inlining it.
36         * src/float/cl_F.h (longfloatp): Likewise.
37         * src/real/cl_R.h (rationalp, integerp, floatp): Likewise.
38         * src/complex/cl_C.h (realp, complexp): Likewise.
39
40 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
41
42         * include/cl_integer.h (cl_equal_hashcode): New declaration.
43         * include/cl_rational.h (cl_equal_hashcode): New declaration.
44         * include/cl_sfloat.h (cl_equal_hashcode): New declaration.
45         * include/cl_ffloat.h (cl_equal_hashcode): New declaration.
46         * include/cl_dfloat.h (cl_equal_hashcode): New declaration.
47         * include/cl_lfloat.h (cl_equal_hashcode): New declaration.
48         * include/cl_float.h (cl_equal_hashcode): New declaration.
49         * include/cl_real.h (cl_equal_hashcode): New declaration.
50         * include/cl_complex.h (cl_equal_hashcode): New declaration.
51         * src/base/cl_N.h (equal_hashcode_low, equal_hashcode_one): New macros.
52         * src/integer/misc/cl_I_eqhashcode.cc: New file.
53         * src/rational/misc/cl_RA_eqhashcode.cc: New file.
54         * src/float/sfloat/misc/cl_SF_eqhashcode.cc: New file.
55         * src/float/ffloat/misc/cl_FF_eqhashcode.cc: New file.
56         * src/float/dfloat/misc/cl_DF_eqhashcode.cc: New file.
57         * src/float/lfloat/misc/cl_LF_eqhashcode.cc: New file.
58         * src/float/misc/cl_F_eqhashcode.cc: New file.
59         * src/real/misc/cl_R_eqhashcode.cc: New file.
60         * src/complex/misc/cl_C_eqhashcode.cc: New file.
61         * doc/cln.tex: Document `cl_equal_hashcode'.
62
63 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
64
65         * include/cl_ring.h (cl_number_ring_ops): Add `contains' member.
66           (cl_number_ring): New class.
67           (cl_specialized_number_ring<T>): Inherit from cl_number_ring.
68           (instanceof): New function.
69         * src/integer/ring/cl_I_ring.cc (cl_I_p): New function.
70         * src/integer/misc/cl_I_as.cc (cl_I_p): Add comment.
71         * src/rational/ring/cl_RA_ring.cc (cl_RA_p): New function.
72         * src/rational/misc/cl_RA_as.cc (cl_RA_p): Add comment.
73         * src/real/ring/cl_R_ring.cc (cl_R_p): New function.
74         * src/real/misc/cl_R_as.cc (cl_R_p): Add comment.
75         * src/complex/ring/cl_C_ring.cc (cl_N_p): New function.
76         * src/complex/misc/cl_N_as.cc (cl_N_p): Add comment.
77         * doc/cln.tex: Document `instanceof'.
78
79 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
80
81         * include/cl_rational.h (numerator, denominator): New declarations.
82         * src/rational/elem/cl_RA_numerator.cc: New file.
83         * src/rational/elem/cl_RA_denominator.cc: New file.
84         * include/cl_integer.h (numerator, denominator): New inline functions.
85         * doc/cln.tex: Document `numerator' and `denominator'.
86
87 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
88
89         * src/rational/algebraic/cl_RA_rootp.cc (rootp): Fix endless loop
90           in the integer case.
91         * src/rational/algebraic/cl_RA_rootp_I.cc (rootp): Likewise.
92
93 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
94
95         * include/cl_config.h.in: Support for sparc64 CPU.
96         * include/cl_modules.h: Likewise.
97         * include/cl_types.h: Likewise.
98         * include/cl_object.h: Likewise.
99         * include/cl_GV.h: Likewise.
100         * src/Makefile.in: Likewise.
101         * src/base/cl_alloca.h: Likewise.
102         * src/base/cl_macros.h: Likewise.
103         * src/base/cl_sysdep.h: Likewise.
104         * src/base/cl_low.h: Likewise.
105         * src/base/digitseq/cl_asm.h: Likewise.
106         * src/base/digitseq/cl_asm_.cc: Likewise.
107         * src/base/digitseq/cl_asm_sparc64.h: New file.
108         * src/base/digitseq/cl_asm_sparc64_.cc: New file.
109         * src/modinteger/cl_MI_int.h: Support for sparc64 CPU.
110         * src/polynomial/elem/cl_UP_no_ring.cc: Likewise.
111         * src/polynomial/elem/cl_UP_GF2.h: Likewise.
112         * src/polynomial/elem/cl_asm_GF2.cc: Likewise.
113
114 1999-09-04  Bruno Haible  <haible@clisp.cons.org>
115
116         * src/base/digitseq/cl_asm_sparc_.cc (orc2_loop_up, orc2_loop_down):
117           Use the `orn' instruction.
118
119 1999-08-14  Bruno Haible  <haible@clisp.cons.org>
120
121         Assume all platforms have <stdlib.h> and clock_t.
122         * configure.in: Don't call CL_STDLIB_H and CL_CLOCK_T.
123         * src/base/cl_base_config.h.in (CLOCK_T): Remove definition.
124         * src/base/random/cl_random_from.cc: Use clock_t instead of CLOCK_T.
125         * src/timing/cl_t_config.h.in (CLOCK_T): Remove definition.
126         * src/timing/cl_t_current2.cc: Use clock_t instead of CLOCK_T.
127
128 1999-07-18  Bruno Haible  <haible@clisp.cons.org>
129
130         * gmp/config.guess: Link to autoconf/config.guess.
131           gmp/config.sub: Link to autoconf/config.sub.
132           Needed for Win32 platforms.
133
134 1999-07-17  Bruno Haible  <haible@clisp.cons.org>
135
136         * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Distinguish "sparc" and
137           "sparc64" according to the C compiler, not the uname result.
138
139 1999-06-17  Bruno Haible  <haible@clisp.cons.org>
140
141         * src/base/digitseq/cl_asm_sparc_.cc (compare_loop_up): Fix
142           COUNTER_LOOPS version, fortunately not used yet.
143
144         * include/cl_modules.h: Prepare for gcc version 3.
145
146 1999-06-12  Bruno Haible  <haible@clisp.cons.org>
147
148         * src/rational/elem/cl_RA_plus.cc, src/rational/elem/cl_RA_minus.cc:
149           Change the last call from I_I_to_RT to I_I_to_RA.
150
151 1999-06-09  Bruno Haible  <haible@clisp.cons.org>
152
153         * Version 1.0.1 released.
154
155 1999-06-09  Bruno Haible  <haible@clisp.cons.org>
156
157         * src/integer/cl_I.h (pFN_maxlength_digits_at): Define also when
158           intDsize==64.
159
160 1999-06-08  Bruno Haible  <haible@clisp.cons.org>
161
162         * autoconf/intparam.c (printf_underscored): Change argument type to
163           `const char*'.
164         * include/cl_modules.h (CL_OUTPUT_LABEL, CL_JUMP_TO): New macros.
165           (CL_PROVIDE, CL_PROVIDE_END): Use them.
166         * include/cl_string.h (cl_heap_string::operator new): Return 1, not 0.
167         * include/cl_GV.h (cl_GV_inner<T>::operator new): Likewise.
168         * src/base/ring/cl_no_ring.cc (dummy_canonhom, dummy_expt_pos): Don't
169           cast a cl_I to void here. Works around a bug in g++-2.95.
170         * src/complex/misc/cl_C_class.cc: Include "cl_C.h".
171         * src/polynomial/elem/cl_UP_no_ring.cc (dummy_canonhom,
172            dummy_expt_pos): Don't cast a cl_I to void here. Works around a bug
173           in g++-2.95.
174         * src/polynomial/elem/cl_asm_sparc_GF2.cc (DECLARE_FUNCTION): New
175           macro.
176         * src/rational/misc/cl_RA_class.cc: Include "cl_RA.h".
177         * src/vector/cl_GV_I.cc (cl_heap_GV_I_general::operator new,
178            DEFINE_cl_heap_GV_I_bits): Return 1, not 0.
179         * src/vector/cl_GV_number.cc (cl_heap_GV_number_general::operator new):
180           Likewise.
181
182 1999-06-01  Bruno Haible  <haible@clisp.cons.org>
183
184         * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Canonicalize alpha
185           variants to alpha.
186
187 1999-05-29  Bruno Haible  <haible@clisp.cons.org>
188
189         * src/base/digitseq/cl_asm_i386_.cc (DECLARE_FUNCTION): Treat
190           OpenBSD like NetBSD.
191         * src/base/digitseq/cl_asm_sparc_.cc (DECLARE_FUNCTION): Likewise.
192         * src/base/digitseq/cl_asm_m68k_.cc (DECLARE_FUNCTION): Treat
193           OpenBSD like NetBSD, and Linux/ELF like SVR4.
194
195 1999-05-16  Bruno Haible  <haible@clisp.cons.org>
196
197         * src/base/cl_low.h (integerlength32) [__rs6000__]: Use old assembler
198           syntax on AIX systems and new assembler syntax on non-AIX systems.
199
200 1999-05-01  Bruno Haible  <haible@clisp.cons.org>
201
202         * autoconf/config.guess, autoconf/config.sub: Upgrade to newest
203           version from GNU CVS.
204
205 1999-04-24  Bruno Haible  <haible@clisp.cons.org>
206
207         * src/integer/bitwise/cl_I_logand.cc (logand): Optimize the case when
208           either operand is a positive fixnum, O(1) instead of O(N).
209         * src/integer/bitwise/cl_I_lognand.cc (lognand): Likewise.
210         * src/integer/bitwise/cl_I_logandc2.cc (logandc2): Likewise for the
211           first operand.
212
213 1999-04-14  Bruno Haible  <haible@clisp.cons.org>
214
215         * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add check whether
216           ctor/dtor needs to be exported.
217         * include/cl_config.h.in (CL_NEED_GLOBALIZE_CTORDTOR): New macro.
218         * include/cl_modules.h (CL_GLOBALIZE_JUMP_LABEL): Renamed from
219           CL_GLOBALIZE_LABEL.
220           (CL_GLOBALIZE_LABEL): New macro.
221           (CL_GLOBALIZE_CTORDTOR_LABEL): Renamed from CL_GLOBALIZE_ASM_LABEL.
222           (CL_PROVIDE): Update.
223
224 1999-04-12  Bruno Haible  <haible@clisp.cons.org>
225
226         * src/Makefile.in ($(ASMFILES_S)): On HPPA, ignore preprocessing
227           errors ("unterminated string or character constant").
228           ($(ASMFILES_LO)): On HPPA, try with various settings of
229           COMPILER_PATH, in order to try /usr/ccs/bin/as and /bin/as.
230
231 1999-04-11  Bruno Haible  <haible@clisp.cons.org>
232
233         * INSTALL: Mention gmp problems on MIPS.
234         * doc/cln.tex: Likewise.
235
236 1999-03-24  Mumit Khan  <khan@xraylith.wisc.edu>
237
238         * src/Makefile.in (SUBDIRS): Filter out CVS and RCS directories from
239           the source tree.
240         * include/cl_modules.h (CL_GLOBALIZE_LABEL): Define for Win32.
241           (CL_GLOBALIZE_ASM_LABEL): New macro.
242           (CL_PROVIDE): Use it.
243         * src/base/random/cl_random_from.cc: Handle WIN32.
244         * src/timing/cl_t_current.cc: Likewise.
245
246 1999-03-15  Bruno Haible  <haible@clisp.cons.org>
247
248         * autoconf/intparam.c (main7): Use %lX instead of %X for a `long'.
249           (main8): Adapt for C++.
250
251 1999-03-09  Bruno Haible  <haible@clisp.cons.org>
252
253         * INSTALL: Mention egcs-1.1 problems on Sparc.
254         * doc/cln.tex: Likewise.
255
256 1999-03-08  Bruno Haible  <haible@clisp.cons.org>
257
258         * autoconf/aclocal.m4 (CL_FPU_CONTROL): Fix the "checking for"
259           messages.
260
261 1999-02-25  Bruno Haible  <haible@clisp.cons.org>
262
263         * autoconf/aclocal.m4: In test programs, declare `int main()', not
264           `main()'.
265
266         * lidia-interface/src/interfaces/integers/cln/bigint.c
267           (bigint_to_string): Fix for negative arguments.
268
269         * src/base/cl_low.h: Check for `__sparc__', not `SPARC'.
270         * src/base/cl_alloca.h: Likewise.
271
272         * src/base/cl_low.h: Eliminate CLISP style "# " comments.
273         * src/base/digitseq/cl_asm_arm_.cc,
274           src/base/digitseq/cl_asm_mips_.cc,
275           src/float/dfloat/elem/cl_DF_mul.cc: Likewise.
276
277         * src/modinteger/cl_MI_pow2.h,
278           src/modinteger/cl_MI_pow2m1.h,
279           src/modinteger/cl_MI_pow2p1.h: Workaround g++-2.7.2 inlining bug.
280
281 1999-01-18  Bruno Haible  <haible@clisp.cons.org>
282
283         * autoconf/acgeneral.m4,
284           autoconf/acspecific.m4: Upgrade to autoconf-2.13.
285         * autoconf/config.guess, autoconf/config.sub: Likewise.
286         * autoconf/aclocal.m4 (CL_ALLOCA): Test for _MSC_VER and alloca being
287           a macro. Use ${ac_objext}.
288         * src/base/cl_macros.h (alloca): Put _MSC_VER test before the others,
289           conforming with CL_ALLOCA.
290
291 1999-01-12  Bruno Haible  <haible@clisp.cons.org>
292
293         * Version 1.0 released.
294