]> www.ginac.de Git - cln.git/log
cln.git
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().

17 years ago Extend the exponent range from 32 bits to 64 bits on selected platforms.
Richard Kreckel [Mon, 11 Dec 2006 17:31:06 +0000 (17:31 +0000)]
    Extend the exponent range from 32 bits to 64 bits on selected platforms.
        * include/cln/number.h: Add signatures for operations with long long.
        * include/cln/complex_class.h: Likewise.
        * include/cln/real_class.h: Likewise.
        * include/cln/real.h: Likewise.
        * include/cln/rational_class.h: Likewise.
        * include/cln/rational.h: Likewise.
        * include/cln/integer_class.h: Likewise.
        * include/cln/integer.h: Likewise.
        * include/cln/float.h: Likewise.
        * include/cln/lfloat.h: Likewise.
        * include/cln/types.h (sintE and uintE): New types for exponents.
        * include/cln/*float.h: Use the new types for exponents.
        * include/cln/floatformat.h (float_format_t): Make underlying type
        compatible with sintE.
        * doc/cln.tex: Document changed float_exponent return value.
        * src/float/cl_F.h: Likewise.
        * src/float/ffloat/misc/cl_FF_exponent.cc: Likewise.
        * src/float/input/cl_F_read.cc: Likewise.
        * src/float/lfloat/cl_LF.h: Likewise.
        * src/float/lfloat/cl_LF_impl.h: Likewise.
        * src/float/lfloat/algebraic/cl_LF_sqrt.cc: Likewise.
        * src/float/lfloat/elem/cl_LF_1plus.cc: Likewise.
        * src/float/lfloat/elem/cl_LF_I_div.cc: Likewise.
        * src/float/lfloat/elem/cl_LF_I_mul.cc: Likewise.
        * src/float/lfloat/elem/cl_LF_compare.cc: Likewise.
        * src/float/lfloat/elem/cl_LF_div.cc: Likewise.
        * src/float/lfloat/elem/cl_LF_from_I.cc: Likewise.
        * src/float/lfloat/elem/cl_LF_fround.cc: Likewise.
        * src/float/lfloat/elem/cl_LF_ftrunc.cc: Likewise.
        * src/float/lfloat/elem/cl_LF_futrunc.cc: Likewise.
        * src/float/lfloat/elem/cl_LF_mul.cc: Likewise.
        * src/float/lfloat/elem/cl_LF_scale.cc: Likewise.
        * src/float/lfloat/elem/cl_LF_scale_I.cc: Likewise.
        * src/float/lfloat/elem/cl_LF_square.cc: Likewise.
        * src/float/lfloat/elem/cl_LF_to_I.cc: Likewise.
        * src/float/lfloat/misc/cl_LF_decode.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_shortenrel.cc: Likewise.
        * src/float/lfloat/misc/cl_LF_shortenwith.cc: Likewise.
        * src/float/misc/cl_F_decode.cc: Likewise.
        * src/float/misc/cl_F_exponent.cc: Likewise.
        * src/float/misc/cl_F_shortenrel.cc: Likewise.
        * src/float/misc/cl_float_format.cc: Likewise.
        * src/float/output/cl_F_dprint.cc: Likewise.
        * src/float/sfloat/misc/cl_SF_exponent.cc: Likewise.
        * src/float/transcendental/cl_F_atanhx.cc: Likewise.
        * src/float/transcendental/cl_F_atanx.cc: Likewise.
        * src/float/transcendental/cl_F_cosh.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_LF_pi.cc: Likewise.
        * src/integer/cl_I.h: Likewise.
        * src/complex/algebraic/cl_LF_hypot.cc: Likewise.
        * src/complex/elem/division/cl_C_LF_recip.cc: Likewise.
        * src/float/dfloat/misc/cl_DF_exponent.cc: Likewise.
        * src/integer/conv/cl_I_from_Q2.cc: Added.
        * src/base/cl_low.h (isqrtC): New function, for 64 bit falls back to...
        * src/base/low/cl_low_isqrt.cc (isqrt): ...this new implementation.
        * src/base/cl_macros.h (bitc): Make sure 64 bit is used if required by
        exponent operations.
        * examples/pi.cc: Support more than 646456614 decimal digits.

18 years ago * src/base/digitseq/cl_DS.h: #undef DS, needed for i386-Solaris.
Richard Kreckel [Thu, 2 Nov 2006 21:13:31 +0000 (21:13 +0000)]
    * src/base/digitseq/cl_DS.h: #undef DS, needed for i386-Solaris.

18 years ago* tests/Makefile.in (VPATH): Fix syntax error.
Richard Kreckel [Wed, 11 Oct 2006 19:11:18 +0000 (19:11 +0000)]
* tests/Makefile.in (VPATH): Fix syntax error.

18 years ago * examples/perfnum.cc: update to presumed 44th Mersenne prime.
Richard Kreckel [Thu, 14 Sep 2006 20:03:51 +0000 (20:03 +0000)]
    * examples/perfnum.cc: update to presumed 44th Mersenne prime.

18 years ago* More details about conversion to fixnums.
Richard Kreckel [Sat, 9 Sep 2006 21:47:20 +0000 (21:47 +0000)]
* More details about conversion to fixnums.

18 years ago* More ${EXEEXT} patches by Sheplyakov Alexei.
Richard Kreckel [Wed, 6 Sep 2006 20:12:09 +0000 (20:12 +0000)]
* More ${EXEEXT} patches by Sheplyakov Alexei.

18 years ago* Even more $EXEEXT stuff.
Richard Kreckel [Wed, 16 Aug 2006 21:48:06 +0000 (21:48 +0000)]
* Even more $EXEEXT stuff.

18 years ago* Add some missing ${EXEEXT} pieces.
Richard Kreckel [Wed, 16 Aug 2006 21:45:02 +0000 (21:45 +0000)]
* Add some missing ${EXEEXT} pieces.

18 years ago * tests/Makefile.in: MinGW support for make check
Richard Kreckel [Tue, 15 Aug 2006 20:29:51 +0000 (20:29 +0000)]
    * tests/Makefile.in: MinGW support for make check
        (Patch by Sheplyakov Alexei <varg@theor.jinr.ru> to add ${EXEEXT}).
        * Makefile.in: Convert from $(VAR) to ${VAR} syntax.
        * benchmarks/Makefile.in: Likewise.
        * doc/Makefile.in: Likewise.
        * examples/Makefile.in: Likewise.
        * src/Makefile.in: Likewise.
        * tests/Makefile.in: Likewise.

18 years ago * configure.ac: Re-enable shared lib on non-MinGW platforms, sigh.
Richard Kreckel [Sun, 6 Aug 2006 14:47:33 +0000 (14:47 +0000)]
    * configure.ac: Re-enable shared lib on non-MinGW platforms, sigh.

18 years ago* configure.ac: Disable shared lib on MinGW.
Richard Kreckel [Fri, 4 Aug 2006 23:06:37 +0000 (23:06 +0000)]
* configure.ac: Disable shared lib on MinGW.

18 years ago * m4/param.m4: Add support for MinGW.
Richard Kreckel [Thu, 3 Aug 2006 21:48:43 +0000 (21:48 +0000)]
    * m4/param.m4: Add support for MinGW.
        * src/base/random/cl_random_from.cc: Fix for last patch.

18 years ago2006-07-23 Sheplyakov Alexei <varg@theor.jinr.ru>
Richard Kreckel [Sun, 23 Jul 2006 22:00:22 +0000 (22:00 +0000)]
2006-07-23  Sheplyakov Alexei  <varg@theor.jinr.ru>

        * src/base/random/cl_random_from.cc: Add support for MinGW.

18 years ago * Update compiler information.
Richard Kreckel [Tue, 13 Jun 2006 18:48:21 +0000 (18:48 +0000)]
* Update compiler information.

18 years ago * m4/general.m4 (CL_CANONICAL_HOST_CPU): Force host_cpu=i386 for x86_64
Richard Kreckel [Tue, 13 Jun 2006 18:31:18 +0000 (18:31 +0000)]
    * m4/general.m4 (CL_CANONICAL_HOST_CPU): Force host_cpu=i386 for x86_64
        if userland is 32 bit.
        * include/cln/config.h.in: Simplify __x86_64__ selection.
        * src/base/digitseq/cl_asm_x86_64_.cc: Remove.

18 years ago * src/base/digitseq/cl_DS.h (struct DS): Change len type to uintC.
Richard Kreckel [Fri, 9 Jun 2006 21:37:03 +0000 (21:37 +0000)]
    * src/base/digitseq/cl_DS.h (struct DS): Change len type to uintC.

18 years ago2006-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Richard Kreckel [Tue, 30 May 2006 21:56:04 +0000 (21:56 +0000)]
2006-05-30  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

        * m4/gettimeofday.m4 (CL_GETTIMEOFDAY): Fix M4 quoting.

18 years agoFreeBSD, NetBSD are normal Unices.
Bruno Haible [Sat, 20 May 2006 15:32:03 +0000 (15:32 +0000)]
FreeBSD, NetBSD are normal Unices.

18 years ago * include/cln/modules.h (CL_JUMP_TO): Fix for Intel Mac.
Richard Kreckel [Sun, 7 May 2006 21:05:24 +0000 (21:05 +0000)]
  * include/cln/modules.h (CL_JUMP_TO): Fix for Intel Mac.

18 years ago* Belated Happy New Year!
Richard Kreckel [Thu, 27 Apr 2006 20:51:14 +0000 (20:51 +0000)]
* Belated Happy New Year!

18 years agoPrepare for autoconf-2.60.
Bruno Haible [Tue, 25 Apr 2006 16:35:29 +0000 (16:35 +0000)]
Prepare for autoconf-2.60.

18 years ago2006-04-25 Bruno Haible <bruno@clisp.org>
Richard Kreckel [Mon, 24 Apr 2006 22:55:26 +0000 (22:55 +0000)]
2006-04-25  Bruno Haible  <bruno@clisp.org>
            Richard B. Kreckel  <kreckel@ginac.de>

Make it theoretically possible to use bignums and long-floats with
more than 2^32 significant digits or bits.
* doc/cln.tex (logcount): Change return type to uintC.
(struct cl_byte): Change elements to uintC.
(integer_length, ord2, power2p): Change return type to uintC.
(scale_float): Change argument type to sintC.
(float_digits, float_precision): Change return type to uintC.
* examples/atan_recip.cc: Use uintC instead of uintL where appropriate.
* examples/atanh_recip.cc: Likewise.
* include/cln/GV.h: Likewise.
* include/cln/GV_complex.h: Likewise.
* include/cln/GV_integer.h: Likewise.
* include/cln/GV_modinteger.h: Likewise.
* include/cln/GV_number.h: Likewise.
* include/cln/GV_rational.h: Likewise.
* include/cln/GV_real.h: Likewise.
* include/cln/SV.h: Likewise.
* include/cln/SV_complex.h: Likewise.
* include/cln/SV_integer.h: Likewise.
* include/cln/SV_number.h: Likewise.
* include/cln/SV_rational.h: Likewise.
* include/cln/SV_real.h: Likewise.
* include/cln/SV_ringelt.h: Likewise.
* include/cln/dfloat.h: Likewise.
* include/cln/ffloat.h: Likewise.
* include/cln/float.h: Likewise.
* include/cln/integer.h: Likewise.
* include/cln/lfloat.h: Likewise.
* include/cln/modinteger.h: Likewise.
* include/cln/sfloat.h: Likewise.
* src/base/cl_low.h (integerlengthC): New macro.
* src/base/digitseq/cl_2DS_div.cc: Use uintC instead of uintL where
appropriate.
* src/base/digitseq/cl_2DS_recip.cc: Likewise.
* src/base/digitseq/cl_DS.h: Likewise.
* src/base/digitseq/cl_DS_mul.c: Likewise.
* src/base/digitseq/cl_DS_mul_fftc.h: Likewise.
* src/base/digitseq/cl_DS_mul_fftcs.h: Likewise.
* src/base/digitseq/cl_DS_mul_fftm.h: Likewise.
* src/base/digitseq/cl_DS_mul_fftp.h: Likewise.
* src/base/digitseq/cl_DS_mul_fftp3.h: Likewise.
* src/base/digitseq/cl_DS_mul_fftp3m.h: Likewise.
* src/base/digitseq/cl_DS_mul_fftr.h: Likewise.
* src/base/digitseq/cl_DS_mul_kara.h: Likewise.
* src/base/digitseq/cl_DS_mul_nuss.h: Likewise.
* src/base/digitseq/cl_DS_recip.cc: Likewise.
* src/base/digitseq/cl_DS_recipsqrt.cc: Likewise.
* src/base/digitseq/cl_DS_sqrt.cc: Likewise.
* src/base/digitseq/cl_DS_trandom.cc: Likewise.
* src/complex/input/cl_N_read.cc: Likewise.
* src/complex/transcendental/cl_C_asinh_aux.cc: Likewise.
* src/complex/transcendental/cl_C_expt_C.cc: Likewise.
* src/float/cl_F.h: Likewise.
* src/float/conv/cl_F_from_F_f.cc: Likewise.
* src/float/conv/cl_F_from_I_f.cc: Likewise.
* src/float/conv/cl_F_from_RA_f.cc: Likewise.
* src/float/dfloat/conv/cl_I_to_double.cc: Likewise.
* src/float/dfloat/conv/cl_RA_to_double.cc: Likewise.
* src/float/dfloat/elem/cl_DF_from_I.cc: Likewise.
* src/float/dfloat/elem/cl_DF_from_RA.cc: Likewise.
* src/float/dfloat/elem/cl_DF_scale.cc: Likewise.
* src/float/dfloat/misc/cl_DF_digits.cc: Likewise.
* src/float/dfloat/misc/cl_DF_precision.cc: Likewise.
* src/float/elem/cl_F_scale.cc: Likewise.
* src/float/ffloat/conv/cl_I_to_float.cc: Likewise.
* src/float/ffloat/conv/cl_RA_to_float.cc: Likewise.
* src/float/ffloat/elem/cl_FF_from_I.cc: Likewise.
* src/float/ffloat/elem/cl_FF_from_RA.cc: Likewise.
* src/float/ffloat/elem/cl_FF_scale.cc: Likewise.
* src/float/ffloat/misc/cl_FF_digits.cc: Likewise.
* src/float/ffloat/misc/cl_FF_precision.cc: Likewise.
* src/float/input/cl_F_read.cc: Likewise.
* src/float/lfloat/algebraic/cl_LF_sqrt.cc: Likewise.
* src/float/lfloat/elem/cl_LF_1plus.cc: Likewise.
* src/float/lfloat/elem/cl_LF_I_div.cc: Likewise.
* src/float/lfloat/elem/cl_LF_I_mul.cc: Likewise.
* src/float/lfloat/elem/cl_LF_div.cc: Likewise.
* src/float/lfloat/elem/cl_LF_from_I.cc: Likewise.
* src/float/lfloat/elem/cl_LF_from_RA.cc: Likewise.
* src/float/lfloat/elem/cl_LF_fround.cc: Likewise.
* src/float/lfloat/elem/cl_LF_ftrunc.cc: Likewise.
* src/float/lfloat/elem/cl_LF_futrunc.cc: Likewise.
* src/float/lfloat/elem/cl_LF_scale.cc: Likewise.
* src/float/lfloat/elem/cl_LF_to_I.cc: Likewise.
* src/float/lfloat/misc/cl_LF_digits.cc: Likewise.
* src/float/lfloat/misc/cl_LF_idecode.cc: Likewise.
* src/float/lfloat/misc/cl_LF_leninc.cc: Likewise.
* src/float/lfloat/misc/cl_LF_lenincx.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/misc/cl_F_digits.cc: Likewise.
* src/float/misc/cl_F_epsneg.cc: Likewise.
* src/float/misc/cl_F_epspos.cc: Likewise.
* src/float/misc/cl_F_leastneg.cc: Likewise.
* src/float/misc/cl_F_leastpos.cc: Likewise.
* src/float/misc/cl_F_mostneg.cc: Likewise.
* src/float/misc/cl_F_mostpos.cc: Likewise.
* src/float/misc/cl_F_precision.cc: Likewise.
* src/float/misc/cl_F_rational.cc: Likewise.
* src/float/misc/cl_F_shortenrel.cc: Likewise.
* src/float/output/cl_F_dprint.cc: Likewise.
* src/float/random/cl_F_random.cc: Likewise.
* src/float/sfloat/elem/cl_SF_from_I.cc: Likewise.
* src/float/sfloat/elem/cl_SF_from_RA.cc: Likewise.
* src/float/sfloat/elem/cl_SF_scale.cc: Likewise.
* src/float/sfloat/misc/cl_SF_digits.cc: Likewise.
* src/float/sfloat/misc/cl_SF_precision.cc: Likewise.
* src/float/transcendental/cl_F_atanhx.cc: Likewise.
* src/float/transcendental/cl_F_atanx.cc: Likewise.
* src/float/transcendental/cl_F_catalanconst_f.cc: Likewise.
* src/float/transcendental/cl_F_cos.cc: Likewise.
* src/float/transcendental/cl_F_cosh.cc: Likewise.
* src/float/transcendental/cl_F_coshsinh.cc: Likewise.
* src/float/transcendental/cl_F_cossin.cc: Likewise.
* src/float/transcendental/cl_F_eulerconst_f.cc: Likewise.
* src/float/transcendental/cl_F_exp1_f.cc: Likewise.
* src/float/transcendental/cl_F_expx.cc: Likewise.
* src/float/transcendental/cl_F_ln10_f.cc: Likewise.
* src/float/transcendental/cl_F_ln2_f.cc: Likewise.
* src/float/transcendental/cl_F_lnx.cc: Likewise.
* src/float/transcendental/cl_F_pi_f.cc: Likewise.
* src/float/transcendental/cl_F_sin.cc: Likewise.
* src/float/transcendental/cl_F_sinh.cc: Likewise.
* src/float/transcendental/cl_F_sinhx.cc: Likewise.
* src/float/transcendental/cl_F_sinx.cc: Likewise.
* src/float/transcendental/cl_F_tran.h: Likewise.
* src/float/transcendental/cl_F_zeta_int_f.cc: Likewise.
* src/float/transcendental/cl_LF_atan_recip.cc: Likewise.
* src/float/transcendental/cl_LF_atanh_recip.cc: Likewise.
* src/float/transcendental/cl_LF_catalanconst.cc: Likewise.
* src/float/transcendental/cl_LF_coshsinh_aux.cc: Likewise.
* src/float/transcendental/cl_LF_cossin_aux.cc: Likewise.
* src/float/transcendental/cl_LF_eulerconst.cc: Likewise.
* src/float/transcendental/cl_LF_exp1.cc: Likewise.
* src/float/transcendental/cl_LF_exp_aux.cc: Likewise.
* src/float/transcendental/cl_LF_pi.cc: Likewise.
* src/float/transcendental/cl_LF_ratseries.cc: Likewise.
* src/float/transcendental/cl_LF_ratseries_.cc: Likewise.
* src/float/transcendental/cl_LF_ratseries_a.cc: Likewise.
* src/float/transcendental/cl_LF_ratseries_ab.cc: Likewise.
* src/float/transcendental/cl_LF_ratseries_b.cc: Likewise.
* src/float/transcendental/cl_LF_ratseries_p.cc: Likewise.
* src/float/transcendental/cl_LF_ratseries_pa.cc: Likewise.
* src/float/transcendental/cl_LF_ratseries_pab.cc: Likewise.
* src/float/transcendental/cl_LF_ratseries_pb.cc: Likewise.
* src/float/transcendental/cl_LF_ratseries_pq.cc: Likewise.
* src/float/transcendental/cl_LF_ratseries_pqa.cc: Likewise.
* src/float/transcendental/cl_LF_ratseries_pqab.cc: Likewise.
* src/float/transcendental/cl_LF_ratseries_pqb.cc: Likewise.
* src/float/transcendental/cl_LF_ratseries_q.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_qb.cc: Likewise.
* src/float/transcendental/cl_LF_ratseries_stream_pq.cc: Likewise.
* src/float/transcendental/cl_LF_ratseries_stream_pqa.cc: Likewise.
* src/float/transcendental/cl_LF_ratseries_stream_pqab.cc: Likewise.
* src/float/transcendental/cl_LF_ratseries_stream_pqb.cc: Likewise.
* src/float/transcendental/cl_LF_ratsumseries_pqcd.cc: Likewise.
* src/float/transcendental/cl_LF_ratsumseries_pqcd_aux.cc: Likewise.
* src/float/transcendental/cl_LF_ratsumseries_pqd.cc: Likewise.
* src/float/transcendental/cl_LF_ratsumseries_pqd_aux.cc: Likewise.
* src/float/transcendental/cl_LF_tran.h: Likewise.
* src/float/transcendental/cl_LF_zeta3.cc: Likewise.
* src/float/transcendental/cl_LF_zeta_int.cc: Likewise.
* src/integer/algebraic/cl_I_rootp_I.cc: Likewise.
* src/integer/algebraic/cl_I_rootp_aux.cc: Likewise.
* src/integer/bitwise/cl_I_ash.cc: Likewise.
* src/integer/bitwise/cl_I_ash_I.cc: Likewise.
* src/integer/bitwise/cl_I_byte.h: Likewise.
* src/integer/bitwise/cl_I_fullbyte.cc: Likewise.
* src/integer/bitwise/cl_I_ilength.cc: Likewise.
* src/integer/bitwise/cl_I_ldb.cc: Likewise.
* src/integer/bitwise/cl_I_ldbtest.cc: Likewise.
* src/integer/bitwise/cl_I_ldbx.cc: Likewise.
* src/integer/bitwise/cl_I_ldbxtest.cc: Likewise.
* src/integer/bitwise/cl_I_logbitp.cc: Likewise.
* src/integer/bitwise/cl_I_logbitp_I.cc: Likewise.
* src/integer/bitwise/cl_I_logcount.cc: Likewise.
* src/integer/bitwise/cl_I_mkf.cc: Likewise.
* src/integer/bitwise/cl_I_mkfx.cc: Likewise.
* src/integer/cl_I.h: Likewise.
* src/integer/conv/cl_I_to_digits.cc: Likewise.
* src/integer/conv/cl_I_digits_need.cc: Likewise.
* src/integer/conv/cl_I_from_digits.cc: Likewise.
* src/integer/gcd/cl_I_gcd.cc: Likewise.
* src/integer/gcd/cl_I_xgcd.cc: Likewise.
* src/integer/misc/cl_I_eqhashcode.cc: Likewise.
* src/integer/misc/cl_I_ord2.cc: Likewise.
* src/integer/misc/cl_I_power2p.cc: Likewise.
* src/integer/output/cl_I_cached_power.h (cached_power_table): allow
for 40 elements.
* src/integer/output/cl_I_decstring.cc: Use uintC instead of uintL
where appropriate.
* src/integer/output/cl_I_print.cc: Likewise.
* src/integer/output/cl_I_print_string.cc: Likewise.
* src/modinteger/cl_MI.cc: Likewise.
* src/modinteger/cl_MI_lshift.cc: Likewise.
* src/modinteger/cl_MI_montgom.h: Likewise.
* src/modinteger/cl_MI_pow2.h: Likewise.
* src/modinteger/cl_MI_pow2m1.h: Likewise.
* src/modinteger/cl_MI_pow2p1.h: Likewise.
* src/modinteger/cl_MI_rshift.cc: Likewise.
* src/modinteger/cl_MI_std.h: Likewise.
* src/numtheory/cl_IF_millerrabin.cc: Likewise.
* src/numtheory/cl_nt_isprobprime.cc: Likewise.
* src/numtheory/cl_nt_sqrtmodp.cc: Likewise.
* src/polynomial/elem/cl_UP_GF2.h: Likewise.
* src/real/conv/cl_F_from_R_f.cc: Likewise.
* src/real/format-output/cl_fmt_floatstring.cc: Likewise.
* src/real/input/cl_R_read.cc: Likewise.
* src/vector/cl_GV_I.cc: Likewise.
* src/vector/cl_GV_I_copy.cc: Likewise.
* src/vector/cl_GV_number.cc: Likewise.
* src/vector/cl_GV_number_copy.cc: Likewise.
* src/vector/cl_SV_copy.cc: Likewise.
* src/vector/cl_SV_number.cc: Likewise.
* src/vector/cl_SV_ringelt.cc: Likewise.
* tests/main.cc: Likewise.
* tests/test_I_ilength.cc: Likewise.
* tests/test_I_ord2.cc: Likewise.

18 years agoPrepare for autoconf-2.60.
Bruno Haible [Wed, 19 Apr 2006 16:10:18 +0000 (16:10 +0000)]
Prepare for autoconf-2.60.

18 years ago* Cumulative patch including Bruno's work on large fixnums on 64 bit machines.
Richard Kreckel [Wed, 22 Mar 2006 21:45:15 +0000 (21:45 +0000)]
* Cumulative patch including Bruno's work on large fixnums on 64 bit machines.

18 years ago* Updated to 43rd known Mersenne prime.
Richard Kreckel [Wed, 28 Dec 2005 21:34:03 +0000 (21:34 +0000)]
* Updated to 43rd known Mersenne prime.

18 years ago* Updated for main branch.
Richard Kreckel [Sat, 17 Dec 2005 18:21:46 +0000 (18:21 +0000)]
* Updated for main branch.

18 years ago* Add support for OpenBSD. cln_1-1_maintenance-branchpoint
Richard Kreckel [Thu, 15 Dec 2005 23:54:03 +0000 (23:54 +0000)]
* Add support for OpenBSD.