2000-05-27 Richard Kreckel * src/float/lfloat/algebraic/cl_LF_sqrt.cc, src/base/digitseq/cl_DS_sqrt.cc: Readjusted break-even points. 2000-05-24 Richard Kreckel * autoconf/config.*: Updated to new version from FSF (the new libtool wants this). * src/Makefile.in: added $(LDFLAGS) to link step. * src/base/digitseq/cl_2DS_div.cc, cl_2DS_recip.cc: Readjusted break-even points. 2000-05-23 Bruno Haible * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Determine host_cpu, host_vendor, host_os correctly if $host has more than two hyphens. 2000-05-19 Richard Kreckel * src/base/digitseq/cl_DS_mul.cc: Rearranged break-even points to better match present-day CPUs whenever GMP3 is used. * src/base/digitseq/cl_DS_div.cc: dto. * src/TUNING: Added comment about order of tuning. * configure, configure.in: Safer GMP3-detection. * INSTALL.generic: Clarified behaviour of --with-gmp. * autoconf/config.guess: updated from Clisp-2000-03-06 sources. 2000-05-05 Richard Kreckel * doc/cln.tex: Added index entries. * doc/texinfo.tex: Upgraded to newer version 1999-10-01.07. * doc/*: Changes triggered. 2000-05-04 Richard Kreckel * gmp/: removed completely. From now on we are going to link externally against libgmp3.0 or above! * configure, configure.in, Makefile.in, */Makeflags: removed support of internal gmp 2.0.2, like $GMP_INCLUDES, which should be done by setting $CPPFLAGS instead. * Makefile.in: Added libtool inter-library dependency for -lgmp and conforming interface versioning (-version-info). * autoconf/ltconfig, autoconf/ltmain.sh: Updated to newer versions from libtool 1.3.4. 2000-02-22 Bruno Haible * src/base/digitseq/cl_asm_mips_.cc: Starting at argument 5 the parameter passing was changed for the MIPS n32 ABI. 2000-01-24 Richard Kreckel * gmp/*: Replaced the complete mpn sources with the ones from Debian since they are maintained while the ones from FSF aren't and there were problems on some architectures, PowerPC in particular. See the file gmp/README.CLN. This way the hard links in this directory have vanished, they were causing trouble for people working in AFS. This became necessary for Debian, because there it woudn't compile on PPC. 2000-01-13 Richard Kreckel * Version 1.0.3 released. 2000-01-13 Richard Kreckel * src/base/cl_macros.h (nonreturning_function): For egcs and newer use __attribute__ ((__noreturn__)) instead of the __volatile__ storage class. (nonreturning): Remove macro. * include/*: Minor fixes to stop -ansi -pedantic from complaining. * include/cl_integer.h: (doublefactorial): New declaration. * src/integer/misc/combin/cl_I_doublefactorial.cc: New file. 1999-12-18 Bruno Haible * autoconf/acgeneral.m4 (AC_ARG_PROGRAM): Create conftestsed using "cat", not "echo". * autoconf/ltconfig: Improve support for recent FreeBSD 3. * include/cl_GV.h (cl_GV_vectorops): Change return type from 'T' to 'const T', to match definition in src/vector/cl_GV_number.cc. Reported by Duncan Simpson . * gmp/mpn/Makefile.in (.S.lo): Use 'if', not '&&', because '&&' may yield return code 1. 1999-09-07 Bruno Haible * Version 1.0.2 released. 1999-09-06 Bruno Haible * src/rational/cl_RA.h (integerp, ratiop): Instead of returning a boolean expression, write alternatives ending with either "return cl_true;" or "return cl_false;". This way, g++ does a better job inlining it. * src/float/cl_F.h (longfloatp): Likewise. * src/real/cl_R.h (rationalp, integerp, floatp): Likewise. * src/complex/cl_C.h (realp, complexp): Likewise. 1999-09-05 Bruno Haible * include/cl_integer.h (cl_equal_hashcode): New declaration. * include/cl_rational.h (cl_equal_hashcode): New declaration. * include/cl_sfloat.h (cl_equal_hashcode): New declaration. * include/cl_ffloat.h (cl_equal_hashcode): New declaration. * include/cl_dfloat.h (cl_equal_hashcode): New declaration. * include/cl_lfloat.h (cl_equal_hashcode): New declaration. * include/cl_float.h (cl_equal_hashcode): New declaration. * include/cl_real.h (cl_equal_hashcode): New declaration. * include/cl_complex.h (cl_equal_hashcode): New declaration. * src/base/cl_N.h (equal_hashcode_low, equal_hashcode_one): New macros. * src/integer/misc/cl_I_eqhashcode.cc: New file. * src/rational/misc/cl_RA_eqhashcode.cc: New file. * src/float/sfloat/misc/cl_SF_eqhashcode.cc: New file. * src/float/ffloat/misc/cl_FF_eqhashcode.cc: New file. * src/float/dfloat/misc/cl_DF_eqhashcode.cc: New file. * src/float/lfloat/misc/cl_LF_eqhashcode.cc: New file. * src/float/misc/cl_F_eqhashcode.cc: New file. * src/real/misc/cl_R_eqhashcode.cc: New file. * src/complex/misc/cl_C_eqhashcode.cc: New file. * doc/cln.tex: Document `cl_equal_hashcode'. 1999-09-05 Bruno Haible * include/cl_ring.h (cl_number_ring_ops): Add `contains' member. (cl_number_ring): New class. (cl_specialized_number_ring): Inherit from cl_number_ring. (instanceof): New function. * src/integer/ring/cl_I_ring.cc (cl_I_p): New function. * src/integer/misc/cl_I_as.cc (cl_I_p): Add comment. * src/rational/ring/cl_RA_ring.cc (cl_RA_p): New function. * src/rational/misc/cl_RA_as.cc (cl_RA_p): Add comment. * src/real/ring/cl_R_ring.cc (cl_R_p): New function. * src/real/misc/cl_R_as.cc (cl_R_p): Add comment. * src/complex/ring/cl_C_ring.cc (cl_N_p): New function. * src/complex/misc/cl_N_as.cc (cl_N_p): Add comment. * doc/cln.tex: Document `instanceof'. 1999-09-05 Bruno Haible * include/cl_rational.h (numerator, denominator): New declarations. * src/rational/elem/cl_RA_numerator.cc: New file. * src/rational/elem/cl_RA_denominator.cc: New file. * include/cl_integer.h (numerator, denominator): New inline functions. * doc/cln.tex: Document `numerator' and `denominator'. 1999-09-05 Bruno Haible * src/rational/algebraic/cl_RA_rootp.cc (rootp): Fix endless loop in the integer case. * src/rational/algebraic/cl_RA_rootp_I.cc (rootp): Likewise. 1999-09-05 Bruno Haible * include/cl_config.h.in: Support for sparc64 CPU. * include/cl_modules.h: Likewise. * include/cl_types.h: Likewise. * include/cl_object.h: Likewise. * include/cl_GV.h: Likewise. * src/Makefile.in: Likewise. * src/base/cl_alloca.h: Likewise. * src/base/cl_macros.h: Likewise. * src/base/cl_sysdep.h: Likewise. * src/base/cl_low.h: Likewise. * src/base/digitseq/cl_asm.h: Likewise. * src/base/digitseq/cl_asm_.cc: Likewise. * src/base/digitseq/cl_asm_sparc64.h: New file. * src/base/digitseq/cl_asm_sparc64_.cc: New file. * src/modinteger/cl_MI_int.h: Support for sparc64 CPU. * src/polynomial/elem/cl_UP_no_ring.cc: Likewise. * src/polynomial/elem/cl_UP_GF2.h: Likewise. * src/polynomial/elem/cl_asm_GF2.cc: Likewise. 1999-09-04 Bruno Haible * src/base/digitseq/cl_asm_sparc_.cc (orc2_loop_up, orc2_loop_down): Use the `orn' instruction. 1999-08-14 Bruno Haible Assume all platforms have and clock_t. * configure.in: Don't call CL_STDLIB_H and CL_CLOCK_T. * src/base/cl_base_config.h.in (CLOCK_T): Remove definition. * src/base/random/cl_random_from.cc: Use clock_t instead of CLOCK_T. * src/timing/cl_t_config.h.in (CLOCK_T): Remove definition. * src/timing/cl_t_current2.cc: Use clock_t instead of CLOCK_T. 1999-07-18 Bruno Haible * gmp/config.guess: Link to autoconf/config.guess. gmp/config.sub: Link to autoconf/config.sub. Needed for Win32 platforms. 1999-07-17 Bruno Haible * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Distinguish "sparc" and "sparc64" according to the C compiler, not the uname result. 1999-06-17 Bruno Haible * src/base/digitseq/cl_asm_sparc_.cc (compare_loop_up): Fix COUNTER_LOOPS version, fortunately not used yet. * include/cl_modules.h: Prepare for gcc version 3. 1999-06-12 Bruno Haible * src/rational/elem/cl_RA_plus.cc, src/rational/elem/cl_RA_minus.cc: Change the last call from I_I_to_RT to I_I_to_RA. 1999-06-09 Bruno Haible * Version 1.0.1 released. 1999-06-09 Bruno Haible * src/integer/cl_I.h (pFN_maxlength_digits_at): Define also when intDsize==64. 1999-06-08 Bruno Haible * autoconf/intparam.c (printf_underscored): Change argument type to `const char*'. * include/cl_modules.h (CL_OUTPUT_LABEL, CL_JUMP_TO): New macros. (CL_PROVIDE, CL_PROVIDE_END): Use them. * include/cl_string.h (cl_heap_string::operator new): Return 1, not 0. * include/cl_GV.h (cl_GV_inner::operator new): Likewise. * src/base/ring/cl_no_ring.cc (dummy_canonhom, dummy_expt_pos): Don't cast a cl_I to void here. Works around a bug in g++-2.95. * src/complex/misc/cl_C_class.cc: Include "cl_C.h". * src/polynomial/elem/cl_UP_no_ring.cc (dummy_canonhom, dummy_expt_pos): Don't cast a cl_I to void here. Works around a bug in g++-2.95. * src/polynomial/elem/cl_asm_sparc_GF2.cc (DECLARE_FUNCTION): New macro. * src/rational/misc/cl_RA_class.cc: Include "cl_RA.h". * src/vector/cl_GV_I.cc (cl_heap_GV_I_general::operator new, DEFINE_cl_heap_GV_I_bits): Return 1, not 0. * src/vector/cl_GV_number.cc (cl_heap_GV_number_general::operator new): Likewise. 1999-06-01 Bruno Haible * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Canonicalize alpha variants to alpha. 1999-05-29 Bruno Haible * src/base/digitseq/cl_asm_i386_.cc (DECLARE_FUNCTION): Treat OpenBSD like NetBSD. * src/base/digitseq/cl_asm_sparc_.cc (DECLARE_FUNCTION): Likewise. * src/base/digitseq/cl_asm_m68k_.cc (DECLARE_FUNCTION): Treat OpenBSD like NetBSD, and Linux/ELF like SVR4. 1999-05-16 Bruno Haible * src/base/cl_low.h (integerlength32) [__rs6000__]: Use old assembler syntax on AIX systems and new assembler syntax on non-AIX systems. 1999-05-01 Bruno Haible * autoconf/config.guess, autoconf/config.sub: Upgrade to newest version from GNU CVS. 1999-04-24 Bruno Haible * src/integer/bitwise/cl_I_logand.cc (logand): Optimize the case when either operand is a positive fixnum, O(1) instead of O(N). * src/integer/bitwise/cl_I_lognand.cc (lognand): Likewise. * src/integer/bitwise/cl_I_logandc2.cc (logandc2): Likewise for the first operand. 1999-04-14 Bruno Haible * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add check whether ctor/dtor needs to be exported. * include/cl_config.h.in (CL_NEED_GLOBALIZE_CTORDTOR): New macro. * include/cl_modules.h (CL_GLOBALIZE_JUMP_LABEL): Renamed from CL_GLOBALIZE_LABEL. (CL_GLOBALIZE_LABEL): New macro. (CL_GLOBALIZE_CTORDTOR_LABEL): Renamed from CL_GLOBALIZE_ASM_LABEL. (CL_PROVIDE): Update. 1999-04-12 Bruno Haible * src/Makefile.in ($(ASMFILES_S)): On HPPA, ignore preprocessing errors ("unterminated string or character constant"). ($(ASMFILES_LO)): On HPPA, try with various settings of COMPILER_PATH, in order to try /usr/ccs/bin/as and /bin/as. 1999-04-11 Bruno Haible * INSTALL: Mention gmp problems on MIPS. * doc/cln.tex: Likewise. 1999-03-24 Mumit Khan * src/Makefile.in (SUBDIRS): Filter out CVS and RCS directories from the source tree. * include/cl_modules.h (CL_GLOBALIZE_LABEL): Define for Win32. (CL_GLOBALIZE_ASM_LABEL): New macro. (CL_PROVIDE): Use it. * src/base/random/cl_random_from.cc: Handle WIN32. * src/timing/cl_t_current.cc: Likewise. 1999-03-15 Bruno Haible * autoconf/intparam.c (main7): Use %lX instead of %X for a `long'. (main8): Adapt for C++. 1999-03-09 Bruno Haible * INSTALL: Mention egcs-1.1 problems on Sparc. * doc/cln.tex: Likewise. 1999-03-08 Bruno Haible * autoconf/aclocal.m4 (CL_FPU_CONTROL): Fix the "checking for" messages. 1999-02-25 Bruno Haible * autoconf/aclocal.m4: In test programs, declare `int main()', not `main()'. * lidia-interface/src/interfaces/integers/cln/bigint.c (bigint_to_string): Fix for negative arguments. * src/base/cl_low.h: Check for `__sparc__', not `SPARC'. * src/base/cl_alloca.h: Likewise. * src/base/cl_low.h: Eliminate CLISP style "# " comments. * src/base/digitseq/cl_asm_arm_.cc, src/base/digitseq/cl_asm_mips_.cc, src/float/dfloat/elem/cl_DF_mul.cc: Likewise. * src/modinteger/cl_MI_pow2.h, src/modinteger/cl_MI_pow2m1.h, src/modinteger/cl_MI_pow2p1.h: Workaround g++-2.7.2 inlining bug. 1999-01-18 Bruno Haible * autoconf/acgeneral.m4, autoconf/acspecific.m4: Upgrade to autoconf-2.13. * autoconf/config.guess, autoconf/config.sub: Likewise. * autoconf/aclocal.m4 (CL_ALLOCA): Test for _MSC_VER and alloca being a macro. Use ${ac_objext}. * src/base/cl_macros.h (alloca): Put _MSC_VER test before the others, conforming with CL_ALLOCA. 1999-01-12 Bruno Haible * Version 1.0 released.