You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

2551 lines
102 KiB

2007-02-10 Richard B. Kreckel <kreckel@ginac.de>
* autoconf/ltmain.sh: Update to libtool-1.5.26.
* autoconf/config.guess: Likewise.
* autoconf/config.sub: Likewise.
* m4/libtool.m4: Likewise.
2007-02-09 Alexei Sheplyakov <varg@theor.jinr.ru>
Richard B. Kreckel <kreckel@ginac.de>
Avoid compiler warning about ignored 'flatten' attribute directive:
* m4/cc.m4 (CL_ATTRIBUTE_FLATTEN): New macro...
* configure.ac: ...used here...
* include/cln/config.h.in: ...defining CL_HAVE_ATTRIBUTE_FLATTEN,...
* src/base/cl_maybe_inline.h: ...used to prevent a warning here.
2007-02-07 Richard B. Kreckel <kreckel@ginac.de>
* include/cln/integer.h: Enable modifying operators by default.
* include/cln/rational.h: Likewise.
* include/cln/sfloat.h: Likewise.
* include/cln/ffloat.h: Likewise.
* include/cln/dfloat.h: Likewise.
* include/cln/lfloat.h: Likewise.
* include/cln/float.h: Likewise.
* include/cln/real.h: Likewise.
* include/cln/complex.h: Likewise.
* doc/cln.texi: Document that.
2007-02-06 Richard B. Kreckel <kreckel@ginac.de>
Fix crash in output of huge numbers:
* src/integer/conv/cl_I_to_digits.cc: Make erglen uintC.
* src/integer/output/cl_I_print_string.cc: Make B_baselen uintC.
2007-02-04 Richard B. Kreckel <kreckel@ginac.de>
Fix cl_F output of more than 2^32 decimal digits:
* src/base/string/cl_sstring.cc (cl_sstring): make len uintC.
* src/base/string/cl_sstring.h: Likewise.
2007-01-23 Bruno Haible <bruno@clisp.org>
Allow 64-bit builds on MacOS X 10.5.
* m4/general.m4 (CL_CANONICAL_HOST_CPU): Test for x86_64 CPU if
"uname -m" returns "i386".
Reported by Ron Garret <ron@flownet.com>.
2007-01-20 Bruno Haible <bruno@clisp.org>
Avoid some gcc warnings.
* autoconf/floatparam.c (flipped_double): Use a union instead of a
type-punning cast.
* include/cln/number.h (union ffloatjanus, union dfloatjanus): Remove
declarations.
(cl_float_to_FF_pointer, cl_double_to_DF_pointer): Change argument
type.
(CL_DEFINE_FLOAT_CONSTRUCTOR, CL_DEFINE_DOUBLE_CONSTRUCTOR): Update.
* src/float/ffloat/cl_FF.h (cl_float_to_FF_pointer): Change argument
type.
(cl_float_to_FF): Remove function.
* src/float/ffloat/conv/cl_FF_from_float.cc (FAST_FLOAT): Define.
(cl_float_to_FF_pointer): Change argument type.
* src/float/dfloat/cl_DF.h (cl_double_to_DF_pointer): Change argument
type.
(cl_double_to_DF): Remove function.
* src/float/dfloat/conv/cl_DF_from_double.cc (FAST_DOUBLE): Define.
(cl_double_to_DF_pointer): Change argument type.
* src/float/lfloat/cl_LF_impl.h (LF_decode): Mark the mantlen_zuweisung
assignment as possibly unused.
* src/base/cl_low.h (mulu32): Mark the hi_zuweisung assignment as
possibly unused.
* src/float/transcendental/cl_LF_zeta_int.cc (compute_zeta_cvz2):
Remove unused local variable.
2007-01-19 Richard B. Kreckel <kreckel@ginac.de>
* Version 1.2.0 released.
2007-01-19 Richard B. Kreckel <kreckel@ginac.de>
* doc/Makefile.in: texi2html -split_chapter doesn't generate
cln_toc.html any more.
* doc/cln.texi: Add table of contents in TeX output.
2007-01-18 Alexei Sheplyakov <varg@theor.jinr.ru>
Fix linking problems on some platforms caused by inline/non-inline
versions of same functions (obsoletes MAYBE_INLINE):
* src/base/cl_maybe_inline.h: New file.
* src/base/cl_inline2.h: New file.
* src/base/cl_inline.h: New file.
* src/base/string/cl_st_make0.h: New file.
* src/base/cl_macros.h: Pull in cl_maybe_inline.h.
* src/base/string/cl_st_concat1.cc: Use new CL_INLINE macros and the
new *_inline functions.
* src/base/string/cl_st_concat2.cc: Likewise.
* src/base/string/cl_st_concat3.cc: Likewise.
* src/complex/algebraic/cl_C_abs.cc: Likewise.
* src/complex/algebraic/cl_C_abs_aux.cc: Likewise.
* src/complex/algebraic/cl_C_signum.cc: Likewise.
* src/complex/algebraic/cl_DF_hypot.cc: Likewise.
* src/complex/algebraic/cl_FF_hypot.cc: Likewise.
* src/complex/algebraic/cl_LF_hypot.cc: Likewise.
* src/complex/algebraic/cl_SF_hypot.cc: Likewise.
* src/complex/transcendental/cl_C_acosh.cc: Likewise.
* src/complex/transcendental/cl_C_asinh_aux.cc: Likewise.
* src/complex/transcendental/cl_C_atanh_aux.cc: Likewise.
* src/float/dfloat/division/cl_DF_fceil.cc: Likewise.
* src/float/dfloat/elem/cl_DF_div.cc: Likewise.
* src/float/dfloat/elem/cl_DF_ffloor.cc: Likewise.
* src/float/dfloat/elem/cl_DF_minusp.cc: Likewise.
* src/float/dfloat/elem/cl_DF_mul.cc: Likewise.
* src/float/dfloat/elem/cl_DF_plusp.cc: Likewise.
* src/float/dfloat/elem/cl_DF_zerop.cc: Likewise.
* src/float/dfloat/misc/cl_DF_abs.cc: Likewise.
* src/float/dfloat/misc/cl_DF_digits.cc: Likewise.
* src/float/dfloat/misc/cl_DF_eqhashcode.cc: Likewise.
* src/float/dfloat/misc/cl_DF_exponent.cc: Likewise.
* src/float/dfloat/misc/cl_DF_idecode.cc: Likewise.
* src/float/dfloat/misc/cl_DF_precision.cc: Likewise.
* src/float/dfloat/misc/cl_DF_sign.cc: Likewise.
* src/float/dfloat/misc/cl_DF_signum.cc: Likewise.
* src/float/elem/cl_F_minusp.cc: Likewise.
* src/float/elem/cl_F_plusp.cc: Likewise.
* src/float/elem/cl_F_zerop.cc: Likewise.
* src/float/ffloat/division/cl_FF_fceil.cc: Likewise.
* src/float/ffloat/elem/cl_FF_div.cc: Likewise.
* src/float/ffloat/elem/cl_FF_ffloor.cc: Likewise.
* src/float/ffloat/elem/cl_FF_minusp.cc: Likewise.
* src/float/ffloat/elem/cl_FF_mul.cc: Likewise.
* src/float/ffloat/elem/cl_FF_plusp.cc: Likewise.
* src/float/ffloat/elem/cl_FF_zerop.cc: Likewise.
* src/float/ffloat/misc/cl_FF_abs.cc: Likewise.
* src/float/ffloat/misc/cl_FF_digits.cc: Likewise.
* src/float/ffloat/misc/cl_FF_eqhashcode.cc: Likewise.
* src/float/ffloat/misc/cl_FF_exponent.cc: Likewise.
* src/float/ffloat/misc/cl_FF_idecode.cc: Likewise.
* src/float/ffloat/misc/cl_FF_precision.cc: Likewise.
* src/float/ffloat/misc/cl_FF_sign.cc: Likewise.
* src/float/ffloat/misc/cl_FF_signum.cc: Likewise.
* src/float/lfloat/division/cl_LF_fceil.cc: Likewise.
* src/float/lfloat/elem/cl_LF_compare.cc: Likewise.
* src/float/lfloat/elem/cl_LF_ffloor.cc: Likewise.
* src/float/lfloat/elem/cl_LF_minusp.cc: Likewise.
* src/float/lfloat/elem/cl_LF_plusp.cc: Likewise.
* src/float/lfloat/elem/cl_LF_to_I.cc: Likewise.
* src/float/lfloat/elem/cl_LF_zerop.cc: Likewise.
* src/float/lfloat/misc/cl_LF_abs.cc: Likewise.
* src/float/lfloat/misc/cl_LF_digits.cc: Likewise.
* src/float/lfloat/misc/cl_LF_eqhashcode.cc: Likewise.
* src/float/lfloat/misc/cl_LF_exponent.cc: Likewise.
* src/float/lfloat/misc/cl_LF_idecode.cc: Likewise.
* src/float/lfloat/misc/cl_LF_precision.cc: Likewise.
* src/float/lfloat/misc/cl_LF_shortenrel.cc: Likewise.
* src/float/lfloat/misc/cl_LF_shortenwith.cc: Likewise.
* src/float/lfloat/misc/cl_LF_sign.cc: Likewise.
* src/float/lfloat/misc/cl_LF_signum.cc: Likewise.
* src/float/misc/cl_F_abs.cc: Likewise.
* src/float/misc/cl_F_digits.cc: Likewise.
* src/float/misc/cl_F_eqhashcode.cc: Likewise.
* src/float/misc/cl_F_exponent.cc: Likewise.
* src/float/misc/cl_F_idecode.cc: Likewise.
* src/float/misc/cl_F_precision.cc: Likewise.
* src/float/misc/cl_F_sign.cc: Likewise.
* src/float/misc/cl_F_signum.cc: Likewise.
* src/float/sfloat/division/cl_SF_fceil.cc: Likewise.
* src/float/sfloat/division/cl_SF_ffloor.cc: Likewise.
* src/float/sfloat/elem/cl_SF_compare.cc: Likewise.
* src/float/sfloat/elem/cl_SF_minus.cc: Likewise.
* src/float/sfloat/elem/cl_SF_minusp.cc: Likewise.
* src/float/sfloat/elem/cl_SF_plusp.cc: Likewise.
* src/float/sfloat/elem/cl_SF_uminus.cc: Likewise.
* src/float/sfloat/elem/cl_SF_zerop.cc: Likewise.
* src/float/sfloat/misc/cl_SF_abs.cc: Likewise.
* src/float/sfloat/misc/cl_SF_digits.cc: Likewise.
* src/float/sfloat/misc/cl_SF_eqhashcode.cc: Likewise.
* src/float/sfloat/misc/cl_SF_exponent.cc: Likewise.
* src/float/sfloat/misc/cl_SF_idecode.cc: Likewise.
* src/float/sfloat/misc/cl_SF_precision.cc: Likewise.
* src/float/sfloat/misc/cl_SF_sign.cc: Likewise.
* src/float/sfloat/misc/cl_SF_signum.cc: Likewise.
* src/float/transcendental/cl_F_atanhx.cc: Likewise.
* src/float/transcendental/cl_F_atanx.cc: Likewise.
* src/float/transcendental/cl_F_exp.cc: Likewise.
* src/float/transcendental/cl_F_expx.cc: Likewise.
* src/float/transcendental/cl_F_lnx.cc: Likewise.
* src/float/transcendental/cl_F_sinhx.cc: Likewise.
* src/float/transcendental/cl_F_sinx.cc: Likewise.
* src/float/transcendental/cl_F_tan.cc: Likewise.
* src/float/transcendental/cl_F_tanh.cc: Likewise.
* src/integer/conv/cl_I_from_DS.cc: Likewise.
* src/integer/conv/cl_I_from_NDS.cc: Likewise.
* src/integer/conv/cl_I_from_NUDS.cc: Likewise.
* src/integer/conv/cl_I_from_UDS.cc: Likewise.
* src/integer/misc/cl_I_eqhashcode.cc: Likewise.
* src/integer/misc/cl_I_signum.cc: Likewise.
* src/integer/ring/cl_I_ring.cc: Likewise.
* src/rational/elem/cl_RA_minusp.cc: Likewise.
* src/rational/misc/cl_RA_eqhashcode.cc: Likewise.
* src/rational/misc/cl_RA_signum.cc: Likewise.
* src/rational/ring/cl_RA_ring.cc: Likewise.
* src/real/algebraic/cl_RA_sqrt.cc: Likewise.
* src/real/algebraic/cl_R_sqrt.cc: Likewise.
* src/real/conv/cl_F_from_R_def.cc: Likewise.
* src/real/elem/cl_R_minusp.cc: Likewise.
* src/real/elem/cl_R_zerop.cc: Likewise.
* src/real/misc/cl_R_eqhashcode.cc: Likewise.
* src/real/misc/cl_R_signum.cc: Likewise.
* src/real/transcendental/cl_R_tan.cc: Likewise.
* src/real/transcendental/cl_R_tanh.cc: Likewise.
* src/base/string/cl_st_make0.cc: Remove obsolete MAYBE_INLINE.
* src/rational/misc/Makeflags: Help compiler include cl_I_eqhashcode.cc.
2008-01-15 Bruno Haible <bruno@clisp.org>
* doc/cln.texi: Renamed from doc/cln.tex. Add @node lines and @menu
lists.
* doc/addnodes.el: Remove file.
* doc/Makefile.in (${PACKAGE}.texi): Remove rule.
(EMACS): Remove variable.
(maintainer-clean): Don't remove ${PACKAGE}.texi.
Reported by Alexei Sheplyakov <varg@theor.jinr.ru>.
2008-01-11 Richard B. Kreckel <kreckel@ginac.de>
* include/cln/float.h (cos_sin_t, cosh_sinh_t): Add default ctor.
2008-01-11 Richard B. Kreckel <kreckel@ginac.de>
Make some functions more memory efficient:
* src/float/transcendental/cl_LF_tran.h (eval_rational_series): The
evaluation of streamed rational series may profit from shift-counting Q,
too. Introduce a template parameter to determine whether shift-counting
is to be used or not.
* src/float/transcendental/cl_LF_ratseries_pqb.cc: Introduce template
parameter.
* src/float/transcendental/cl_LF_ratseries_pqa.cc: Likewise.
* src/float/transcendental/cl_LF_ratseries_pqab.cc: Likewise.
* src/float/transcendental/cl_LF_ratseries_qa.cc: Likewise.
* src/float/transcendental/cl_LF_ratseries_qab.cc: Likewise.
* src/float/transcendental/cl_LF_ratseries_q.cc: Likewise, added
overload for streamed expansion.
* src/float/transcendental/cl_LF_ratseries_qb.cc: Likewise.
* src/float/transcendental/cl_LF_ratseries_pq.cc: Introduce template
parameter, added overload for streamed expansion using shift-counts.
* src/float/transcendental/cl_LF_zeta3.cc: Adapt to above changes.
* src/float/transcendental/cl_LF_pi.cc: Likewise.
* src/float/transcendental/cl_LF_eulerconst.cc: Likewise.
* src/float/transcendental/cl_LF_catalanconst.cc: Likewise.
* src/float/transcendental/cl_LF_cossin_aux.cc: Likewise.
* src/float/transcendental/cl_LF_coshsinh_aux.cc: Likewise.
* src/float/transcendental/cl_LF_atanh_recip.cc: Use streamed series.
* src/float/transcendental/cl_LF_atan_recip.cc: Likewise.
* src/float/transcendental/cl_LF_exp1.cc: Likewise.
* src/float/transcendental/cl_LF_exp_aux.cc: Likewise.
* src/float/transcendental/cl_LF_ratseries.cc: Removed.
2008-01-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Richard B. Kreckel <kreckel@ginac.de>
Cater to the fact that g++ 4.3 will use a different naming for
the global constructor suffix in shared and static objects.
* m4/c++-constructors.m4 (CL_GLOBAL_CONSTRUCTORS): Add test for
the global constructor suffix, define CL_GLOBAL_CONSTRUCTOR_SUFFIX_PIC
and CL_GLOBAL_CONSTRUCTOR_SUFFIX_NOPIC appropriately.
* include/cln/config.h.in: Provide templates to be filled in by
configure.
* include/cln/modules.h (CL_PROVIDE, CL_REQUIRE): Use
CL_GLOBAL_CONSTRUCTOR_SUFFIX_PIC, CL_GLOBAL_CONSTRUCTOR_SUFFIX_NOPIC.
2007-12-19 Richard B. Kreckel <kreckel@ginac.de>
* m4/general.m4 (CL_CANONICAL_HOST_CPU): Force host_cpu=rs6000 for
powerpc64 if userland is 32 bit.
2007-12-18 Richard B. Kreckel <kreckel@ginac.de>
* autoconf/ltmain.sh: Update to libtool-1.5.24.
* autoconf/config.guess: Likewise.
* autoconf/config.sub: Likewise.
* m4/libtool.m4: Likewise.
2007-12-18 Richard B. Kreckel <kreckel@ginac.de>
* src/float/transcendental/cl_F_lnx.cc: Make actuallen of type uintC.
* src/float/transcendental/cl_F_expx.cc: Likewise.
* src/float/transcendental/cl_F_sinhx.cc: Likewise.
* src/float/transcendental/cl_F_sinx.cc: Likewise.
2007-12-17 Richard B. Kreckel <kreckel@ginac.de>
Silly workaround for silly bug in gmp.h:
* m4/gmp.m4 (CL_GMP_SET_UINTD): Swap #include <gmp.h> and <stdio.h>.
2007-12-17 Richard B. Kreckel <kreckel@ginac.de>
* src/polynomial/elem/cl_UP_GF2.h (gf2_mul_table): define for sparc64.
2007-12-04 Richard B. Kreckel <kreckel@ginac.de>
* include/cln/types.h ([su]intE): 64-bit exponents for MIPS and RS6000.
2007-12-03 Richard B. Kreckel <kreckel@ginac.de>
* src/float/lfloat/cl_LF.h (cl_heap_lfloat): Change len type to uintC.
2007-11-28 Richard B. Kreckel <kreckel@ginac.de>
* include/cln/object.h: Don't redefine cl_word_alignment on sparc64.
* src/base/digitseq/cl_asm_sparc64_.cc: Declare use of global
register %g2 as scratch register within this file.
Reported by Paul Irofti <bulibuta@gmail.com> and Sven Verdoolaege
<skimo@kotnet.org>.
2007-11-03 Richard B. Kreckel <kreckel@ginac.de>
* src/base/digitseq/cl_asm_i386_.cc (compare_loop_up,
compare_loop_down): Fix empty ranges.
2007-10-12 Richard B. Kreckel <kreckel@ginac.de>
Fix compilation on CYGWIN:
* src/float/transcendental/cl_LF_zeta_int.cc: Avoid leading underscores
in variable names.
* src/float/transcendental/cl_LF_eulerconst.cc: Likewise.
Reported by Chris Bouchard <cbouchrd@uiuc.edu>.
2007-10-10 Richard B. Kreckel <kreckel@ginac.de>
* src/base/cl_low.h: Add missing linefeeds in SPARC 64 inline assembler.
* src/base/low/cl_low_div.cc (divu_6464_6464_): Fix a copy-paste typo.
Reported by Sven Verdoolaege <skimo@kotnet.org>.
2007-10-02 Richard B. Kreckel <kreckel@ginac.de>
On popular demand (Debian bug #286266, Ubuntu bug #128851):
* examples/pi.cc: Output no more than requested number of digits.
2007-10-01 Richard B. Kreckel <kreckel@ginac.de>
* autoconf/config.guess, autoconf/config.sub: updated from automake-1.9.
2007-09-19 Richard B. Kreckel <kreckel@ginac.de>
* doc/cln.tex: Put entire document in @dircategory Mathematics.
* doc/Makefile.in: texi2html -split_chapter suddenly uses subdirectory.
* Makefile.in: Don't install non-existing cln-config* and cln.m4.
2007-09-18 Richard B. Kreckel <kreckel@ginac.de>
* include/cln/modules.h (CL_JUMP_TO): Use a pc relative jump on m68k.
See <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=388000>.
2007-09-16 Richard B. Kreckel <kreckel@ginac.de>
* */*: Convert encoding from ISO 8859-1 to UTF-8.
2007-09-13 Richard B. Kreckel <kreckel@ginac.de>
Truncated binary splitting for even more memory efficiency:
* src/float/transcendental/cl_LF_tran.h: Added new overloads. See below.
* src/float/transcendental/cl_LF_ratseries_stream_pq.cc: Removed and
moved everything to...
* src/float/transcendental/cl_LF_ratseries_pq.cc: ...here. Added an
overload for truncated expansion.
* src/float/transcendental/cl_LF_ratseries_stream_pqa.cc: Removed and
moved everything to...
* src/float/transcendental/cl_LF_ratseries_pqa.cc: ...here. Added an
overload for truncated expansion.
* src/float/transcendental/cl_LF_ratseries_stream_pqb.cc: Removed and
moved everything to...
* src/float/transcendental/cl_LF_ratseries_pqb.cc: ...here. Added an
overload for truncated expansion.
* src/float/transcendental/cl_LF_ratseries_stream_pqab.cc: Removed and
moved everything to...
* src/float/transcendental/cl_LF_ratseries_pqab.cc: ...here. Added an
overload for truncated expansion.
* src/float/transcendental/cl_LF_ratsumseries_pqcd_aux.cc: Added
overloads for streamed and truncated expansion.
* src/float/transcendental/cl_LF_ratsumseries_pqcd.cc: Likewise.
* src/float/transcendental/cl_LF_ratsumseries_stream_pqd_aux.cc: Removed
and moved everything to...
* src/float/transcendental/cl_LF_ratsumseries_pqd_aux.cc: ...here. Added