]> www.ginac.de Git - cln.git/log
cln.git
16 years agoReplace CL_REQUIRE/CL_PROVIDE(cl_DF_globals) with portable code.
Alexei Sheplyakov [Thu, 21 Aug 2008 11:24:30 +0000 (15:24 +0400)]
Replace CL_REQUIRE/CL_PROVIDE(cl_DF_globals) with portable code.

The order of initialization of non-local objects in different compilation units
is not specified in C++. Hence special care should be taken to avoid static
initialization order fiasco. CLN solved the problem with some evil (GCC
specific, and even GCC-version-specific) hack. Replace it with a technique
similar to one used in STL to initialize std::cout and friends.

16 years agoReplace CL_REQUIRE/CL_PROVIDE(cl_C_ring) with portable code.
Alexei Sheplyakov [Thu, 21 Aug 2008 11:18:34 +0000 (15:18 +0400)]
Replace CL_REQUIRE/CL_PROVIDE(cl_C_ring) with portable code.

The order of initialization of non-local objects in different compilation units
is not specified in C++. Hence special care should be taken to avoid static
initialization order fiasco. CLN solved the problem with some evil (GCC
specific, and even GCC-version-specific) hack. Replace it with a technique
similar to one used in STL to initialize std::cout and friends.

16 years agoReplace CL_REQUIRE/CL_PROVIDE(cl_symbol) with portable code.
Alexei Sheplyakov [Thu, 21 Aug 2008 11:17:50 +0000 (15:17 +0400)]
Replace CL_REQUIRE/CL_PROVIDE(cl_symbol) with portable code.

The order of initialization of non-local objects in different compilation units
is not specified in C++. Hence special care should be taken to avoid static
initialization order fiasco. CLN solved the problem with some evil (GCC
specific, and even GCC-version-specific) hack. Replace it with a technique
similar to one used in STL to initialize std::cout and friends.

16 years agoReplace CL_REQUIRE/CL_PROVIDE(cl_st_null) with portable code.
Alexei Sheplyakov [Thu, 21 Aug 2008 11:17:06 +0000 (15:17 +0400)]
Replace CL_REQUIRE/CL_PROVIDE(cl_st_null) with portable code.

The order of initialization of non-local objects in different compilation units
is not specified in C++. Hence special care should be taken to avoid static
initialization order fiasco. CLN solved the problem with some evil (GCC
specific, and even GCC-version-specific) hack. Replace it with a technique
similar to one used in STL to initialize std::cout and friends.

16 years agoReplace CL_REQUIRE/CL_PROVIDE(cl_no_ring) with portable code.
Alexei Sheplyakov [Thu, 21 Aug 2008 11:15:09 +0000 (15:15 +0400)]
Replace CL_REQUIRE/CL_PROVIDE(cl_no_ring) with portable code.

The order of initialization of non-local objects in different compilation units
is not specified in C++. Hence special care should be taken to avoid static
initialization order fiasco. CLN solved the problem with some evil (GCC
specific, and even GCC-version-specific) hack. Replace it with a technique
similar to one used in STL to initialize std::cout and friends.

16 years agoReplace CL_REQUIRE/CL_PROVIDE(cl_random_def) with portable code.
Alexei Sheplyakov [Thu, 21 Aug 2008 11:11:08 +0000 (15:11 +0400)]
Replace CL_REQUIRE/CL_PROVIDE(cl_random_def) with portable code.

The order of initialization of non-local objects in different compilation units
is not specified in C++. Hence special care should be taken to avoid static
initialization order fiasco. CLN solved the problem with some evil (GCC
specific, and even GCC-version-specific) hack. Replace it with a technique
similar to one used in STL to initialize std::cout and friends.

16 years agoReplace CL_REQUIRE/CL_PROVIDE(cl_prin_globals) with portable code.
Alexei Sheplyakov [Thu, 21 Aug 2008 09:56:15 +0000 (13:56 +0400)]
Replace CL_REQUIRE/CL_PROVIDE(cl_prin_globals) with portable code.

The order of initialization of non-local objects in different compilation units
is not specified in C++. Hence special care should be taken to avoid static
initialization order fiasco. CLN solved the problem with some evil (GCC
specific, and even GCC-version-specific) hack. Replace it with a technique
similar to one used in STL to initialize std::cout and friends.

16 years agoreplace CL_REQUIRE/CL_PROVIDE(cl_0_ring) with (more) portable code.
Alexei Sheplyakov [Thu, 21 Aug 2008 09:05:39 +0000 (13:05 +0400)]
replace CL_REQUIRE/CL_PROVIDE(cl_0_ring) with (more) portable code.

The order of initialization of non-local objects in different compilation units
is not specified in C++. Hence special care should be taken to avoid static
initialization order fiasco. CLN solved the problem with some evil (GCC
specific, and even GCC-version-specific) hack. Replace it with a technique
similar to one used in STL to initialize std::cout and friends.

16 years agoCorrect typo in definition of binomial.
Richard Kreckel [Mon, 2 Jun 2008 20:29:42 +0000 (20:29 +0000)]
Correct typo in definition of binomial.

(Reported by Warren Weckesser.)

16 years agoRemove support for K&R C compilers.
Bruno Haible [Sun, 25 May 2008 08:12:47 +0000 (08:12 +0000)]
Remove support for K&R C compilers.

16 years agoFix sparc64 build with -DNO_ASM and reduce compiler warnings.
Richard Kreckel [Mon, 21 Apr 2008 20:56:29 +0000 (20:56 +0000)]
Fix sparc64 build with -DNO_ASM and reduce compiler warnings.

16 years agoFix last ChangeLog entry.
Bruno Haible [Sat, 19 Apr 2008 01:41:10 +0000 (01:41 +0000)]
Fix last ChangeLog entry.

16 years agoFix a bug in FN_to_NDS in configurations where intDsize < intPsize.
Bruno Haible [Fri, 18 Apr 2008 23:56:32 +0000 (23:56 +0000)]
Fix a bug in FN_to_NDS in configurations where intDsize < intPsize.

16 years agoFix VPATH build [Alexei Sheplyakov].
Richard Kreckel [Mon, 7 Apr 2008 21:32:02 +0000 (21:32 +0000)]
Fix VPATH build [Alexei Sheplyakov].

16 years agoRe-esatblish 1.2.0 ABI, broken 2008-02-22 [Alexei Sheplyakov].
Richard Kreckel [Mon, 7 Apr 2008 21:30:53 +0000 (21:30 +0000)]
Re-esatblish 1.2.0 ABI, broken 2008-02-22 [Alexei Sheplyakov].

* src/float/input/cl_F_readparsed.cc: Add obsolete signature with index
args uintL.
* src/integer/input/cl_I_readparsed.cc: Likewise.
* src/rational/input/cl_RA_readparsed.cc: Likewise.

16 years agoFinalize release 1.2.2. cln_1-2-2
Richard Kreckel [Sat, 5 Apr 2008 21:03:28 +0000 (21:03 +0000)]
Finalize release 1.2.2.

16 years agoPrepare for Release 1.2.2.
Richard Kreckel [Fri, 4 Apr 2008 22:34:55 +0000 (22:34 +0000)]
Prepare for Release 1.2.2.

16 years agoRe-establish ABI, broken 2008-01-20.
Richard Kreckel [Fri, 4 Apr 2008 22:09:56 +0000 (22:09 +0000)]
Re-establish ABI, broken 2008-01-20.

* src/float/ffloat/conv/cl_FF_from_float.cc: Add obsolete signature of
cl_float_to_FF_pointer.
* src/float/dfloat/conv/cl_DF_from_double.cc: Add obsolete signature of
cl_double_to_DF_pointer.

16 years agoFix hack from 2008-01-20 that broke on ARM.
Bruno Haible [Tue, 1 Apr 2008 00:51:50 +0000 (00:51 +0000)]
Fix hack from 2008-01-20 that broke on ARM.

16 years agoFinalize release 1.2.1. cln_1-2-1
Richard Kreckel [Mon, 24 Mar 2008 21:55:10 +0000 (21:55 +0000)]
Finalize release 1.2.1.

16 years agoNew file, for recreating the build prerequisites after a CVS checkout.
Bruno Haible [Mon, 24 Mar 2008 02:05:40 +0000 (02:05 +0000)]
New file, for recreating the build prerequisites after a CVS checkout.

16 years agoFix bug introduced on 2008-02-23.
Bruno Haible [Mon, 24 Mar 2008 02:03:41 +0000 (02:03 +0000)]
Fix bug introduced on 2008-02-23.

16 years agoOptional support for configure --with-gmp=GMP-PREFIX.
Richard Kreckel [Sat, 15 Mar 2008 21:13:51 +0000 (21:13 +0000)]
Optional support for configure --with-gmp=GMP-PREFIX.

16 years agoSupport for gcc-4.3 snapshots.
Bruno Haible [Sun, 24 Feb 2008 18:56:36 +0000 (18:56 +0000)]
Support for gcc-4.3 snapshots.

16 years agoChange "make alls" and "make allo" to recurse into subdirectories.
Bruno Haible [Sat, 23 Feb 2008 18:06:32 +0000 (18:06 +0000)]
Change "make alls" and "make allo" to recurse into subdirectories.
* src/Makefile.in (alls-local): Renamed from alls.
(allo-local): Renamed from allo.
(SUBDIRS_TARGET_ALL): Renamed from SUBDIRS_TARGET.
(alls, allo): New rules.
(SUBDIRS_TARGET_ALLS, SUBDIRS_TARGET_ALLO): New variables.

16 years agoMake index variables uintC.
Richard Kreckel [Fri, 22 Feb 2008 21:30:26 +0000 (21:30 +0000)]
Make index variables uintC.

16 years ago * More robust definition of CL_HAVE_ATTRIBUTE_FLATTEN.
Richard Kreckel [Fri, 15 Feb 2008 23:51:10 +0000 (23:51 +0000)]
* More robust definition of CL_HAVE_ATTRIBUTE_FLATTEN.

16 years ago* (CL_HAVE_ATTRIBUTE_FLATTEN) Fix broken macro name.
Richard Kreckel [Tue, 12 Feb 2008 21:51:53 +0000 (21:51 +0000)]
* (CL_HAVE_ATTRIBUTE_FLATTEN) Fix broken macro name.

16 years ago* Upgrade to files from libtool 1.5.26.
Richard Kreckel [Sun, 10 Feb 2008 21:37:28 +0000 (21:37 +0000)]
* Upgrade to files from libtool 1.5.26.

16 years agoAvoid compiler warning about ignored 'flatten' attribute directive.
Richard Kreckel [Sat, 9 Feb 2008 16:44:17 +0000 (16:44 +0000)]
Avoid compiler warning about ignored 'flatten' attribute directive.

16 years agoEnable modifying operators by default.
Richard Kreckel [Thu, 7 Feb 2008 00:13:05 +0000 (00:13 +0000)]
Enable modifying operators by default.

16 years agoEnable modifying operators by default.
Richard Kreckel [Wed, 6 Feb 2008 23:58:21 +0000 (23:58 +0000)]
Enable modifying operators by default.

16 years agoFix crash in output of huge numbers.
Richard Kreckel [Wed, 6 Feb 2008 08:11:34 +0000 (08:11 +0000)]
Fix crash in output of huge numbers.

16 years ago Fix cl_F output of more than 2^32 decimal digits:
Richard Kreckel [Mon, 4 Feb 2008 23:51:56 +0000 (23:51 +0000)]
    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.

16 years agoAllow 64-bit builds on MacOS X 10.5.
Bruno Haible [Wed, 23 Jan 2008 12:07:02 +0000 (12:07 +0000)]
Allow 64-bit builds on MacOS X 10.5.

16 years ago* CLN-1.2.1 (libcln.so.5.0.1)
Richard Kreckel [Tue, 22 Jan 2008 21:54:38 +0000 (21:54 +0000)]
* CLN-1.2.1 (libcln.so.5.0.1)

16 years agoAvoid some gcc warnings.
Bruno Haible [Tue, 22 Jan 2008 00:19:25 +0000 (00:19 +0000)]
Avoid some gcc warnings.

16 years agoAvoid gcc warning about "unused variable".
Bruno Haible [Tue, 22 Jan 2008 00:19:14 +0000 (00:19 +0000)]
Avoid gcc warning about "unused variable".

16 years agoAvoid gcc warnings about "statement without effect".
Bruno Haible [Tue, 22 Jan 2008 00:18:56 +0000 (00:18 +0000)]
Avoid gcc warnings about "statement without effect".

16 years agoAvoid gcc warnings about type-punning and "... break strict-aliasing rules".
Bruno Haible [Tue, 22 Jan 2008 00:18:15 +0000 (00:18 +0000)]
Avoid gcc warnings about type-punning and "... break strict-aliasing rules".

16 years agoAdd OS X Leopard (as reported by Ron Garret).
Richard Kreckel [Mon, 21 Jan 2008 17:58:37 +0000 (17:58 +0000)]
Add OS X Leopard (as reported by Ron Garret).

16 years ago* Update to fixes in doc subdir. cln_1-2-0
Richard Kreckel [Sat, 19 Jan 2008 20:50:30 +0000 (20:50 +0000)]
* Update to fixes in doc subdir.

16 years ago* Add table of contents in TeX output.
Richard Kreckel [Sat, 19 Jan 2008 20:50:15 +0000 (20:50 +0000)]
* Add table of contents in TeX output.

16 years agodoc/Makefile.in: texi2html -split_chapter doesn't generate cln_toc.html
Richard Kreckel [Sat, 19 Jan 2008 20:49:57 +0000 (20:49 +0000)]
doc/Makefile.in: texi2html -split_chapter doesn't generate cln_toc.html
any more.

16 years ago* Release 1.2.0.
Richard Kreckel [Sat, 19 Jan 2008 20:21:26 +0000 (20:21 +0000)]
* Release 1.2.0.

16 years ago* Mention Alexei's fixes for 'woe32'.
Richard Kreckel [Sat, 19 Jan 2008 20:21:11 +0000 (20:21 +0000)]
* Mention Alexei's fixes for 'woe32'.
* Insert release date.

16 years agoFix linking problems on some platforms caused by inline/non-inline versions
Richard Kreckel [Sat, 19 Jan 2008 20:10:36 +0000 (20:10 +0000)]
Fix linking problems on some platforms caused by inline/non-inline versions
of same functions (obsoletes MAYBE_INLINE) [by Alexei Sheplyakov].

16 years agoFix linking problems on some platforms caused by inline/non-inline versions
Richard Kreckel [Fri, 18 Jan 2008 22:59:06 +0000 (22:59 +0000)]
Fix linking problems on some platforms caused by inline/non-inline versions
of same functions (obsoletes MAYBE_INLINE) [by Alexei Sheplyakov].

16 years agoDon't generate cln.texi from cln.tex any more.
Bruno Haible [Tue, 15 Jan 2008 11:16:10 +0000 (11:16 +0000)]
Don't generate cln.texi from cln.tex any more.

16 years agoAdd @node lines and @menu lists.
Bruno Haible [Tue, 15 Jan 2008 11:12:32 +0000 (11:12 +0000)]
Add @node lines and @menu lists.

16 years agoRenamed from cln.tex.
Bruno Haible [Tue, 15 Jan 2008 11:10:51 +0000 (11:10 +0000)]
Renamed from cln.tex.

16 years agoRenamed to cln.texi.
Bruno Haible [Tue, 15 Jan 2008 11:10:37 +0000 (11:10 +0000)]
Renamed to cln.texi.

16 years agoRemove the conversion step .tex -> .texi.
Bruno Haible [Tue, 15 Jan 2008 11:09:00 +0000 (11:09 +0000)]
Remove the conversion step .tex -> .texi.

16 years ago * Clarify that GMP and intDsize cannot be tuned separately.
Richard Kreckel [Mon, 14 Jan 2008 14:52:09 +0000 (14:52 +0000)]
* Clarify that GMP and intDsize cannot be tuned separately.

16 years ago * Fix missing templatization of truncated series.
Richard Kreckel [Fri, 11 Jan 2008 23:17:04 +0000 (23:17 +0000)]
* Fix missing templatization of truncated series.

16 years ago * include/cln/float.h (cos_sin_t, cosh_sinh_t): Add default ctor.
Richard Kreckel [Fri, 11 Jan 2008 22:01:42 +0000 (22:01 +0000)]
    * include/cln/float.h (cos_sin_t, cosh_sinh_t): Add default ctor.

16 years ago * Some more details.
Richard Kreckel [Fri, 11 Jan 2008 17:21:25 +0000 (17:21 +0000)]
* Some more details.

16 years ago * Update a little.
Richard Kreckel [Fri, 11 Jan 2008 17:16:15 +0000 (17:16 +0000)]
* Update a little.

16 years ago Make some functions more memory efficient:
Richard Kreckel [Fri, 11 Jan 2008 16:50:15 +0000 (16:50 +0000)]
    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.

16 years ago * Fix typos in dead code introduced in CLN 1.1.0.
Richard Kreckel [Thu, 10 Jan 2008 17:22:54 +0000 (17:22 +0000)]
* Fix typos in dead code introduced in CLN 1.1.0.

16 years ago* Incorporate minor results from GCC version tests.
Richard Kreckel [Wed, 9 Jan 2008 13:36:26 +0000 (13:36 +0000)]
* Incorporate minor results from GCC version tests.

16 years ago Cater to the fact that g++ 4.3 will use a different naming for
Richard Kreckel [Sun, 6 Jan 2008 22:02:58 +0000 (22:02 +0000)]
    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.

16 years ago* Prepare for release in a couple of days.
Richard Kreckel [Wed, 2 Jan 2008 12:24:08 +0000 (12:24 +0000)]
* Prepare for release in a couple of days.

16 years ago * m4/general.m4 (CL_CANONICAL_HOST_CPU): Force host_cpu=rs6000 for
Richard Kreckel [Tue, 18 Dec 2007 23:01:19 +0000 (23:01 +0000)]
    * m4/general.m4 (CL_CANONICAL_HOST_CPU): Force host_cpu=rs6000 for
         powerpc64 if userland is 32 bit.

16 years ago * include/cln/integer.h: Fix minor documentation typos.
Richard Kreckel [Tue, 18 Dec 2007 22:33:26 +0000 (22:33 +0000)]
    * include/cln/integer.h: Fix minor documentation typos.

16 years ago * autoconf/ltmain.sh: Update to libtool-1.5.24.
Richard Kreckel [Tue, 18 Dec 2007 22:19:14 +0000 (22:19 +0000)]
    * autoconf/ltmain.sh: Update to libtool-1.5.24.
        * autoconf/config.guess: Likewise.
        * autoconf/config.sub: Likewise.
        * m4/libtool.m4: Likewise.

16 years ago * src/float/transcendental/cl_F_lnx.cc: Make actuallen of type uintC.
Richard Kreckel [Tue, 18 Dec 2007 00:00:18 +0000 (00:00 +0000)]
    * 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.

16 years ago Silly workaround for silly bug in gmp.h:
Richard Kreckel [Mon, 17 Dec 2007 21:16:10 +0000 (21:16 +0000)]
    Silly workaround for silly bug in gmp.h:
        * m4/gmp.m4 (CL_GMP_SET_UINTD): Swap #include <gmp.h> and <stdio.h>.

16 years ago * src/polynomial/elem/cl_UP_GF2.h (gf2_mul_table): define for sparc64.
Richard Kreckel [Mon, 17 Dec 2007 19:48:58 +0000 (19:48 +0000)]
    * src/polynomial/elem/cl_UP_GF2.h (gf2_mul_table): define for sparc64.

16 years ago * include/cln/types.h ([su]intE): 64-bit exponents for MIPS and RS6000.
Richard Kreckel [Tue, 4 Dec 2007 08:24:08 +0000 (08:24 +0000)]
    * include/cln/types.h ([su]intE): 64-bit exponents for MIPS and RS6000.

16 years ago * src/float/lfloat/cl_LF.h (cl_heap_lfloat): Change len type to uintC.
Richard Kreckel [Mon, 3 Dec 2007 23:03:36 +0000 (23:03 +0000)]
    * src/float/lfloat/cl_LF.h (cl_heap_lfloat): Change len type to uintC.

16 years ago * include/cln/object.h: Don't redefine cl_word_alignment on sparc64.
Richard Kreckel [Wed, 28 Nov 2007 22:45:51 +0000 (22:45 +0000)]
    * 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>.

17 years agoSpecify instruction width explicitly.
Bruno Haible [Sun, 4 Nov 2007 09:17:49 +0000 (09:17 +0000)]
Specify instruction width explicitly.

17 years ago * src/base/digitseq/cl_asm_i386_.cc (compare_loop_up,
Richard Kreckel [Sat, 3 Nov 2007 22:47:30 +0000 (22:47 +0000)]
    * src/base/digitseq/cl_asm_i386_.cc (compare_loop_up,
        compare_loop_down): Fix empty ranges.

17 years ago Fix compilation on CYGWIN:
Richard Kreckel [Fri, 12 Oct 2007 21:44:21 +0000 (21:44 +0000)]
    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>.

17 years ago * src/base/cl_low.h: Add missing linefeeds in SPARC 64 inline assembler.
Richard Kreckel [Tue, 9 Oct 2007 22:26:28 +0000 (22:26 +0000)]
    * 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>.

17 years agoOn popular demand (Debian bug #286266, Ubuntu bug #128851):
Richard Kreckel [Mon, 1 Oct 2007 22:47:50 +0000 (22:47 +0000)]
On popular demand (Debian bug #286266, Ubuntu bug #128851):
* examples/pi.cc: Output no more than requested number of digits.

17 years ago* autoconf/config.guess, autoconf/config.sub: updated from automake-1.9.
Richard Kreckel [Mon, 1 Oct 2007 21:35:12 +0000 (21:35 +0000)]
* autoconf/config.guess, autoconf/config.sub: updated from automake-1.9.

17 years ago * doc/cln.tex: Put entire document in @dircategory Mathematics.
Richard Kreckel [Wed, 19 Sep 2007 00:00:39 +0000 (00:00 +0000)]
    * 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.

17 years ago * Belated happy new year!
Richard Kreckel [Tue, 18 Sep 2007 22:46:04 +0000 (22:46 +0000)]
* Belated happy new year!

17 years ago * include/cln/modules.h (CL_JUMP_TO): Use a pc relative jump on m68k.
Richard Kreckel [Tue, 18 Sep 2007 21:56:18 +0000 (21:56 +0000)]
    * 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>.

17 years ago * */*: Convert encoding from ISO 8859-1 to UTF-8.
Richard Kreckel [Sat, 15 Sep 2007 21:34:15 +0000 (21:34 +0000)]
    * */*: Convert encoding from ISO 8859-1 to UTF-8.

17 years ago * Announce memory savings.
Richard Kreckel [Thu, 13 Sep 2007 19:56:51 +0000 (19:56 +0000)]
* Announce memory savings.

17 years ago Truncated binary splitting for even more memory efficiency:
Richard Kreckel [Thu, 13 Sep 2007 19:47:51 +0000 (19:47 +0000)]
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
an overload for truncated expansion.
* src/float/transcendental/cl_LF_ratsumseries_stream_pqd.cc: Removed
and moved everything to...
* src/float/transcendental/cl_LF_ratsumseries_pqd.cc: ...here. Added an
overload for truncated expansion.
* src/float/transcendental/cl_LF_pi.cc: Use truncated series.
* src/float/transcendental/cl_LF_catalanconst.cc: Likewise.
* src/float/transcendental/cl_LF_eulerconst.cc: Likewise.
* src/float/transcendental/cl_LF_zeta_int.cc: Likewise.
* src/float/transcendental/cl_LF_zeta3.cc: Likewise.

17 years agoMore memory efficient Euler-Mascheroni constant:
Richard Kreckel [Fri, 7 Sep 2007 19:45:30 +0000 (19:45 +0000)]
More memory efficient Euler-Mascheroni constant:
* src/float/transcendental/cl_LF_tran.h (cl_pqd_series_stream): New.
* src/float/transcendental/cl_LF_ratsumseries_stream_pqd.cc: New file.
* src/float/transcendental/cl_LF_ratsumseries_stream_pqd_aux.cc: New file.
* src/float/transcendental/cl_LF_eulerconst.cc: Compute series coefficients
on demand, using a series stream object.

17 years agoBeautify GMP test macro.
Richard Kreckel [Thu, 6 Sep 2007 20:27:43 +0000 (20:27 +0000)]
Beautify GMP test macro.

17 years ago * src/base/digitseq/cl_DS_div.cc (cl_recip_suitable): uintC arguments.
Richard Kreckel [Thu, 2 Aug 2007 17:34:35 +0000 (17:34 +0000)]
    * src/base/digitseq/cl_DS_div.cc (cl_recip_suitable): uintC arguments.

17 years ago * */*: Remove cl_boolean, cl_true, and cl_false in favor of built-in
Richard Kreckel [Wed, 1 Aug 2007 22:07:36 +0000 (22:07 +0000)]
    * */*: Remove cl_boolean, cl_true, and cl_false in favor of built-in
        C++ bool, true, and false.

17 years ago Remove exception hooks in favor of real C++ exceptions:
Richard Kreckel [Sat, 28 Jul 2007 17:11:46 +0000 (17:11 +0000)]
    Remove exception hooks in favor of real C++ exceptions:
        * include/cln/exception.h: New file...
        * include/cln/cln.h: ...included here...
        * include/cln/rational.h: ...and here.
        * include/cln/abort.h: Removed.
        * include/cln/integer.h (ash_exception, exquo_exception): Add exception
        types.
        * include/cln/float.h (floating_point_exception,
        floating_point_nan_exception, floating_point_overflow_exception,
        floating_point_underflow_exception): Likewise.
        * include/cln/number_io.h (read_number_exception,
        read_number_bad_syntax_exception, read_number_junk_exception,
        read_number_eof_exception): Likewise.
        * include/cln/object.h (CL_DEFINE_CONVERTER): Replace dynamic assertion
        with a compile-time assertion.
        * include/cln/GV.h: Replace nonreturning functions with exceptions.
        * include/cln/modinteger.h: Likewise.
        * include/cln/SV.h: Likewise.
        * include/cln/ring.h: Likewise.
        * include/cln/string.h: Likewise.
        * include/cln/univpoly.h: Likewise.
        * src/base/cl_abort.cc: Removed.
        * src/base/cl_N_err_d0.cc: Removed.
        * src/base/cl_d0_exception.cc: New file.
        * src/base/cl_as_err.cc: Removed.
        * src/base/cl_as_exception.cc: New file.
        * src/base/cl_notreached.cc: Removed.
        * src/base/cl_notreached_exception.cc: New file.
        * src/base/input/cl_read_err_bad.cc: Removed.
        * src/base/input/cl_read_bad_syntax_exception.cc: New file.
        * src/base/input/cl_read_err_junk.cc: Removed.
        * src/base/input/cl_read_junk_exception.cc: New file.
        * src/base/input/cl_read_err_eof.cc: Removed.
        * src/base/input/cl_read_eof_exception.cc: New file.
        * src/base/cl_N.h (cl_as_error): Removed (see cln/exception.h).
        * src/base/macros.h (NOTREACHED): Throw.
        * src/base/cl_malloc.cc (xmalloc): Throw.
        * src/base/digitseq/cl_2DS_div.cc: Throw.
        * src/base/digitseq/cl_DS_div.cc: Throw.
        * src/base/digitseq/cl_DS_mul.cc: Throw.
        * src/base/digitseq/cl_DS_mul_fftc.h: Throw.
        * src/base/digitseq/cl_DS_mul_fftcs.h: Throw.
        * src/base/digitseq/cl_DS_mul_fftm.h: Throw.
        * src/base/digitseq/cl_DS_mul_fftp.h: Throw.
        * src/base/digitseq/cl_DS_mul_fftp3.h: Throw.
        * src/base/digitseq/cl_DS_mul_fftp3m.h: Throw.
        * src/base/digitseq/cl_DS_mul_fftr.h: Throw.
        * src/base/digitseq/cl_DS_mul_nuss.h: Throw.
        * src/base/digitseq/cl_DS_recipsqrt.cc: Throw.
        * src/base/digitseq/cl_DS_sqrt.cc: Throw.
        * src/base/hash/cl_hash.h: Throw.
        * src/base/hash/cl_hash1.h: Throw.
        * src/base/hash/cl_hash1weak.h: Throw.
        * src/base/hash/cl_hash2.h: Throw.
        * src/base/hash/cl_hash2weak.h: Throw.
        * src/base/hash/cl_hashset.h: Throw.
        * src/base/hash/cl_hashuniq.h: Throw.
        * src/base/hash/cl_hashuniqweak.h: Throw.
        * src/base/proplist/cl_pl_add.cc: Throw.
        * src/base/ring/cl_no_ring.cc: Throw.
        * src/base/string/cl_spushstring.h: Throw.
        * src/base/symbol/cl_symbol.cc: Throw.
        * src/integer/bitwise/cl_I_ash.h: Removed (see cln/integer.h.)
        * src/integer/bitwise/cl_I_asherr.cc: Removed.
        * src/integer/bitwise/cl_I_ash_exception.cc: New file.
        * src/integer/division/cl_I_exquoerr.cc: Removed.
        * src/integer/division/cl_I_exquo_exception.cc: New file.
        * src/integer/cl_I.h: Throw.
        * src/integer/division/cl_I_exquopos.cc: Throw.
        * src/integer/bitwise/cl_I_logbitp_I.cc: Throw.
        * src/integer/bitwise/cl_I_ash.cc: Throw.
        * src/integer/bitwise/cl_I_ash_I.cc: Throw.
        * src/integer/division/cl_I_exquo.cc: Throw.
        * src/integer/gcd/cl_I_gcd_aux2.cc: Throw.
        * src/integer/conv/cl_I_to_L.cc: Throw.
        * src/integer/conv/cl_I_to_Q.cc: Throw.
        * src/integer/conv/cl_I_to_UL.cc: Throw.
        * src/integer/conv/cl_I_to_UQ.cc: Throw.
        * src/integer/conv/cl_I_to_digits.cc: Throw.
        * src/integer/elem/cl_I_div.cc: Throw.
        * src/integer/algebraic/cl_I_sqrt.cc: Throw.
        * src/integer/input/cl_I_read.cc: Throw.
        * src/integer/input/cl_I_read_stream.cc: Throw.
        * src/integer/misc/cl_I_as.cc: Throw.
        * src/rational/elem/cl_RA_from_I_I_div.cc: Throw.
        * src/rational/elem/cl_RA_recip.cc: Throw.
        * src/rational/input/cl_RA_read.cc: Throw.
        * src/rational/input/cl_RA_read_stream.cc: Throw.
        * src/rational/input/cl_RA_readparsed.cc: Throw.
        * src/rational/misc/cl_RA_as.cc: Throw.
        * src/float/base/cl_F_err_nan.cc: Removed.
        * src/float/base/cl_F_nan_exception.cc: New file.
        * src/float/base/cl_F_err_un.cc: Removed.
        * src/float/base/cl_F_underflow_exception.cc: New file.
        * src/float/base/cl_F_err_ov.cc: Removed.
        * src/float/base/cl_F_overflow_exception.cc: New file.
        * src/float/cl_F.h (cl_error_floating_point_nan,
        cl_error_floating_point_overflow, cl_error_floating_point_underflow):
        Removed (see cln/float.h.)
        * src/float/sfloat/cl_SF.h: Throw.
        * src/float/sfloat/elem/cl_SF_div.cc: Throw.
        * src/float/sfloat/elem/cl_SF_from_RA.cc: Throw.
        * src/float/sfloat/elem/cl_SF_scale.cc: Throw.
        * src/float/sfloat/elem/cl_SF_scale_I.cc: Throw.
        * src/float/sfloat/misc/cl_SF_as.cc: Throw.
        * src/float/ffloat/cl_FF.h: Throw.
        * src/float/ffloat/conv/cl_FF_from_float.cc: Throw.
        * src/float/ffloat/elem/cl_FF_div.cc: Throw.
        * src/float/ffloat/elem/cl_FF_from_RA.cc: Throw.
        * src/float/ffloat/elem/cl_FF_scale.cc: Throw.
        * src/float/ffloat/elem/cl_FF_scale_I.cc: Throw.
        * src/float/ffloat/misc/cl_FF_as.cc: Throw.
        * src/float/dfloat/cl_DF.h: Throw.
        * src/float/dfloat/conv/cl_DF_from_double.cc: Throw.
        * src/float/dfloat/elem/cl_DF_div.cc: Throw.
        * src/float/dfloat/elem/cl_DF_from_RA.cc: Throw.
        * src/float/dfloat/elem/cl_DF_scale.cc: Throw.
        * src/float/dfloat/elem/cl_DF_scale_I.cc: Throw.
        * src/float/dfloat/misc/cl_DF_as.cc: Throw.
        * src/float/lfloat/algebraic/cl_LF_sqrt.cc: Throw.
        * src/float/lfloat/elem/cl_LF_1plus.cc: Throw.
        * src/float/lfloat/elem/cl_LF_I_div.cc: Throw.
        * src/float/lfloat/elem/cl_LF_I_mul.cc: Throw.
        * src/float/lfloat/elem/cl_LF_div.cc: Throw.
        * src/float/lfloat/elem/cl_LF_from_I.cc: Throw.
        * src/float/lfloat/elem/cl_LF_mul.cc: Throw.
        * src/float/lfloat/elem/cl_LF_scale.cc: Throw.
        * src/float/lfloat/elem/cl_LF_scale_I.cc: Throw.
        * src/float/lfloat/elem/cl_LF_square.cc: Throw.
        * src/float/lfloat/misc/cl_LF_as.cc: Throw.
        * src/float/lfloat/misc/cl_LF_shorten.cc: Throw.
        * src/float/lfloat/misc/cl_LF_shortenrel.cc: Throw.
        * src/float/lfloat/misc/cl_LF_shortenwith.cc: Throw.
        * src/float/input/cl_F_read.cc: Throw.
        * src/float/input/cl_F_read_stream.cc: Throw.
        * src/float/misc/cl_F_as.cc: Throw.
        * src/float/misc/cl_F_shortenrel.cc: Throw.
        * src/float/transcendental/cl_LF_coshsinh_aux.cc: Throw.
        * src/float/transcendental/cl_LF_cossin_aux.cc: Throw.
        * src/float/transcendental/cl_LF_exp_aux.cc: Throw.
        * src/float/transcendental/cl_LF_ratseries_a.cc: Throw.
        * src/float/transcendental/cl_LF_ratseries_ab.cc: Throw.
        * src/float/transcendental/cl_LF_ratseries_b.cc: Throw.
        * src/float/transcendental/cl_LF_ratseries_p.cc: Throw.
        * src/float/transcendental/cl_LF_ratseries_pa.cc: Throw.
        * src/float/transcendental/cl_LF_ratseries_pab.cc: Throw.
        * src/float/transcendental/cl_LF_ratseries_pb.cc: Throw.
        * src/float/transcendental/cl_LF_ratseries_pq.cc: Throw.
        * src/float/transcendental/cl_LF_ratseries_pqa.cc: Throw.
        * src/float/transcendental/cl_LF_ratseries_pqab.cc: Throw.
        * src/float/transcendental/cl_LF_ratseries_pqb.cc: Throw.
        * src/float/transcendental/cl_LF_ratseries_q.cc: Throw.
        * src/float/transcendental/cl_LF_ratseries_qa.cc: Throw.
        * src/float/transcendental/cl_LF_ratseries_qab.cc: Throw.
        * src/float/transcendental/cl_LF_ratseries_qb.cc: Throw.
        * src/float/transcendental/cl_LF_ratseries_stream_pq.cc: Throw.
        * src/float/transcendental/cl_LF_ratseries_stream_pqa.cc: Throw.
        * src/float/transcendental/cl_LF_ratseries_stream_pqab.cc: Throw.
        * src/float/transcendental/cl_LF_ratseries_stream_pqb.cc: Throw.
        * src/float/transcendental/cl_LF_ratsumseries_pqcd_aux.cc: Throw.
        * src/float/transcendental/cl_LF_ratsumseries_pqd.cc: Throw.
        * src/float/transcendental/cl_LF_ratsumseries_pqd_aux.cc: Throw.
        * src/float/transcendental/cl_LF_zeta_int.cc: Throw.
        * src/real/elem/cl_R_div.cc: Throw.
        * src/real/format-output/cl_fmt_cardinal.cc: Throw.
        * src/real/format-output/cl_fmt_newroman.cc: Throw.
        * src/real/format-output/cl_fmt_oldroman.cc: Throw.
        * src/real/input/cl_R_read.cc: Throw.
        * src/real/input/cl_R_read_stream.cc: Throw.
        * src/real/misc/cl_R_as.cc: Throw.
        * src/real/random/cl_R_random.cc: Throw.
        * src/real/transcendental/cl_R_atan2.cc: Throw.
        * src/real/transcendental/cl_R_log.cc: Throw.
        * src/complex/input/cl_N_read.cc: Throw.
        * src/complex/input/cl_N_read_stream.cc: Throw.
        * src/complex/misc/cl_N_as.cc: Throw.
        * src/complex/transcendental/cl_C_atanh_aux.cc: Throw.
        * src/complex/transcendental/cl_C_expt_C.cc: Throw.
        * src/complex/transcendental/cl_C_log.cc: Throw.
        * src/complex/transcendental/cl_C_log2.cc: Throw.
        * src/numtheory/cl_nt_cornacchia1.cc: Throw.
        * src/numtheory/cl_nt_cornacchia4.cc: Throw.
        * src/numtheory/cl_nt_isprobprime.cc: Throw.
        * src/numtheory/cl_nt_jacobi.cc: Throw.
        * src/numtheory/cl_nt_jacobi_low.cc: Throw.
        * src/numtheory/cl_nt_sqrtmodp.cc: Throw.
        * src/modinteger/cl_MI.cc: Throw.
        * src/modinteger/cl_MI_int.h: Throw.
        * src/modinteger/cl_MI_montgom.h: Throw.
        * src/modinteger/cl_MI_pow2.h: Throw.
        * src/modinteger/cl_MI_rshift.cc: Throw.
        * src/modinteger/cl_MI_std.h: Throw.
        * src/polynomial/elem/cl_UP_GF2.h: Throw.
        * src/polynomial/elem/cl_UP_MI.h: Throw.
        * src/polynomial/elem/cl_UP_gen.h: Throw.
        * src/polynomial/elem/cl_UP_named.cc: Throw.
        * src/polynomial/elem/cl_UP_no_ring.cc (uninitialized_error,
        uninitialized_ring): Removed (see cln/ring.h.)
        * src/polynomial/elem/cl_UP_number.h: Throw.
        * src/polynomial/elem/cl_UP_unnamed.cc: Throw.
        * src/vector/cl_GV_I.cc: Throw.
        * src/vector/cl_GV_number.cc: Throw.
        * tests/timediv2adic-compare.cc: Use default abort(), not cl_abort().
        * tests/timeprint-compare.cc: Likewise.
        * tests/timerecip2adic-compare.cc: Likewise.
        * doc/cln.tex: Document the exception classes.
        * examples/contfrac.cc: Use try/catch instead of setjmp/longjmp.
        * INSTALL: undocument -fno-exceptions.
        * README: Add exceptions to list of used C++ features.

17 years ago* Update texinfo.tex (the old one contained buggy \ifpdf statements that
Richard Kreckel [Fri, 27 Jul 2007 14:56:20 +0000 (14:56 +0000)]
* Update texinfo.tex (the old one contained buggy \ifpdf statements that
  made new TeX installations create a PDF file and no PS file.)

17 years ago * cln.spec.in (Source0): Package is bzip2-compressed.
Richard Kreckel [Wed, 20 Jun 2007 20:47:08 +0000 (20:47 +0000)]
    * cln.spec.in (Source0): Package is bzip2-compressed.
        Reported by Markus Grabner <grabner@icg.tugraz.at>.

17 years ago * include/cln/integer.h (cl_I_to_E, cl_I_to_UE): New functions.
Richard Kreckel [Thu, 31 May 2007 20:22:13 +0000 (20:22 +0000)]
    * include/cln/integer.h (cl_I_to_E, cl_I_to_UE): New functions.
        * src/float/transcendental/cl_LF_exp_aux.cc: Make lq argument an uintE.
        * src/float/transcendental/cl_LF_cossin_aux.cc: Likewise.
        * src/float/transcendental/cl_LF_coshsinh_aux.cc: Likewise.
        * src/float/transcendental/cl_F_tran.h: Change declaration of lq.
        * src/float/transcendental/cl_F_lnx.cc: Fix some exponent types.
        * src/float/transcendental/cl_F_expx.cc: Likewise.
        * src/float/transcendental/cl_F_sinh.cc: Likewise.
        * src/float/transcendental/cl_F_atanx.cc: Likewise.
        * src/float/transcendental/cl_F_coshsinh.cc: Likewise.
        * src/float/transcendental/cl_LF_cossin.cc: Likewise.
        * src/float/transcendental/cl_LF_coshsinh.cc: Likewise.

17 years agoAdd reference to Lupas' paper.
Bruno Haible [Sun, 29 Apr 2007 19:51:09 +0000 (19:51 +0000)]
Add reference to Lupas' paper.

17 years ago More memory efficient constants:
Richard Kreckel [Sun, 8 Apr 2007 21:29:47 +0000 (21:29 +0000)]
    More memory efficient constants:
        * src/float/transcendental/cl_LF_pi.cc (compute_pi_ramanujan_163_fast):
        Compute series coefficients on demand, using a series stream object.
        * src/float/transcendental/cl_LF_zeta3.cc (zeta3): Likewise.
        * src/float/transcendental/cl_LF_catalanconst.cc
        (compute_catalanconst_ramanujan_fast): Likewise.
        (compute_catalanconst_lupas): New function.
        (compute_catalanconst): Simplify, based on new benchmark.

17 years ago* Happy New Year!
Richard Kreckel [Mon, 2 Apr 2007 20:41:41 +0000 (20:41 +0000)]
* Happy New Year!

17 years ago* Document removal of cln-config.
Richard Kreckel [Mon, 2 Apr 2007 20:41:11 +0000 (20:41 +0000)]
* Document removal of cln-config.

17 years ago Debian Bug#412103:
Richard Kreckel [Mon, 2 Apr 2007 20:40:07 +0000 (20:40 +0000)]
    Debian Bug#412103:
        * cln.pc.in: list -lgmp in Libs.private instead of in Libs.
        * doc/cln.tex: Undocument cln-config, properly document pkg-config.
        * cln-config.1.in: Remove.
        * cln-config.in: Remove.
        * cln.m4: Remove.
        * configure.ac: Don't output cln-config and cln-config.1.

17 years ago* Another $EXEECT missing, reported by Fabian Seoane.
Richard Kreckel [Wed, 17 Jan 2007 20:36:24 +0000 (20:36 +0000)]
* Another $EXEECT missing, reported by Fabian Seoane.

17 years agoMake it work with gcc-4.3 snapshots.
Bruno Haible [Tue, 2 Jan 2007 21:41:07 +0000 (21:41 +0000)]
Make it work with gcc-4.3 snapshots.

17 years agoAvoid using undeclared function exit().
Bruno Haible [Tue, 19 Dec 2006 14:50:43 +0000 (14:50 +0000)]
Avoid using undeclared function exit().