Richard Kreckel [Thu, 3 Jan 2002 17:06:07 +0000 (17:06 +0000)]
* autoconf/acinclude.m4: revamp MPN-matcher.
* autoconf/aclocal.m4: upgrade to autoconf-2.52 infrastructure,
sync with CLisp from CVS.
* autoconf/autoconf: Likewise.
* autoconf/autoconf.m4f: Likewise (new file).
* configure.ac: Likewise (new file, replaces configure.in).
* configure.in: Likewise (deleted, replaced by configure.ac).
* autoconf/config.{guess,sub}: Update to GNU version 2001-12-13.
* src/Makefile.in: made VPATH safe for autoconf-2.52.
* include/cln/config.h.in: Add __s390__.
Richard Kreckel [Fri, 14 Dec 2001 18:49:11 +0000 (18:49 +0000)]
* include/cln/modules.h, include/cln/object.h: add support for
s390.
* src/numtheory/cl_nt_sqrtmodp.cc: workaround for GCC2.x compiler-bug
on s390, provided by Gerhard Tonn.
Richard Kreckel [Sat, 3 Nov 2001 19:07:50 +0000 (19:07 +0000)]
* src/float/transcendental/cl_F_sinx.cc (sinx_naive): For small
values of x, return square(x) instead of x.
* src/float/transcendental/cl_F_sinhx.cc (sinhx_naive): Likewise.
Richard Kreckel [Sun, 22 Jul 2001 12:54:54 +0000 (12:54 +0000)]
* src/float/base/cl_ieee.cc: try to do magic to the FPU only if
_FPU_IEEE is really defined.
* include/cln/modules.h: change assembler labels from `label' to
`label:' on hppa, needed by Linux (see comment).
* autoconf/acinclude.m4: new file (for storing CLN-specific macros).
* Makefile.devel: adjusted.
* autoconf/aclocal.m4: regenerate.
* src/base/low/cl_low_mul.cc: moved POD variables that are declared
extern "C" elsewhere out of the namespace.
* src/base/low/cl_low_div.cc: Likewise.
Richard Kreckel [Thu, 31 May 2001 20:00:51 +0000 (20:00 +0000)]
* configure.in: adjust lt-versions, taking into account that a
change in prototype breaks compatibility in C++. :-(
* INSTALL: sync compiler options with doc/cln.tex.
* NEWS: adjust date.
Richard Kreckel [Wed, 25 Apr 2001 15:00:33 +0000 (15:00 +0000)]
* src/base/cl_low.h: Added several checks if NO_ASM is defined, so
this definition becomes actually useful. This is needed for
compilation on Arm until somebody fixes the assembler files for Arm.
* src/base/digitseq/cl_asm.h: Likewise.
* src/base/digitseq/cl_asm_.cc: Likewise.
* */Makefile.in: Added `override' in front of `CPPFLAGS +=' so
one can say `make CPPFLAGS=-DFOOBAR'.
Richard Kreckel [Mon, 22 Jan 2001 13:12:59 +0000 (13:12 +0000)]
* include/cln/*.h: Change signatures of all classes' methods
cln::cl_foo::operator new(size_t, cl_foo*) to
cln::cl_foo::operator new(size_t, void*) so one can declare
std::vector<cln::cl_foo>, std::list<cln::cl_foo> etc. for
certain STL implementations (like libstdc++-v3).
Richard Kreckel [Tue, 5 Dec 2000 15:38:25 +0000 (15:38 +0000)]
* Makefile.in, src/Makefile.in, doc/Makefile.in: Use mkdir -p.
* include/cln/version.h.in, src/base/verion.cc: New files.
* configure.in: Generate include/cln/version.h.
* cln.m4: Rewrote it. Check result of cln-config without compiling.
Do cross-check library version and header version information.
Richard Kreckel [Thu, 16 Nov 2000 18:39:55 +0000 (18:39 +0000)]
* autoconf/aclocal.m4 (CL_GMP_SET_UINTD): New macro...
* configure.in: ...used here.
* include/cln/config.h.in: Put in macros defined by CL_GMP_SET_UINTD...
* include/cln/types.h: ...used here.
* autoconf/acgeneral.m4, autoconf/aclocal.m4: Adhere to FHS.
Richard Kreckel [Mon, 13 Nov 2000 16:16:54 +0000 (16:16 +0000)]
* src/base/digitseq/cl_asm.h: Test if (intDsize==32) for MIPS and HPPA,
in order to guard against an accidented configuration.
* src/integer/conv/cl_I_to_digits.cc (table): member b_hoch_k of
struct power_table_entry initialized as ULL instead of as UL, if
intDsize==64 (caused misprinting on MIPS w/ GMP).
* src/base/cl_macros.h (minus_bitm, bitc): implemented ULL, if
HAVE_FAST_LONGLONG.
* src/integer/bitwise/cl_I_mkfx.cc (mkf_extract): Likewise.
* src/integer/conv/cl_I_from_L.cc (cl_I_from_L): Added trival
generation of Bignum for intDsize==64 and a notreached-check at end.
* autoconf/config.guess, autoconf/config.sub: updated from FSF.
* include/cln/config.h.in: Prepared support for IA64.
* include/cln/types.h: Likewise.
* include/cln/object.h: Likewise.
* include/cln/modules.h: Likewise.
* src/base/cl_macros.h (nonreturning_function): Likewise (NUE's
compiler claims __GNUC_MINOR__==9).
* src/base/cl_macros.h (bit, minus_bit): changed criterion for ULL from
HAVE_DD to HAVE_FAST_LONGLONG.
* src/base/cl_macros.h (bitm): implemented ULL, if HAVE_FAST_LONGLONG.
* src/base/cl_low.h: actually no need to include "cln/types.h" here.
* src/base/cl_low.h (logcount_64): always ULL, independent of HAVE_DD.
* src/base/random/cl_UL_random.cc (random32): a is always ULL.
Richard Kreckel [Fri, 3 Nov 2000 10:04:06 +0000 (10:04 +0000)]
* include/cln/object.h (cl_combine): define additional signatures, if
HAVE_LONGLONG is defined, in order to keep the compiler happy.
* src/base/cl_macros.h: include "cln/types.h", since we need HAVE_DD...
* src/base/cl_macros.h (bit): ...for this macro...
* src/base/cl_macros.h (minus_bit): ...and this one.
* src/base/cl_low.h: include "cln/types.h", since we need HAVE_DD...
* src/base/cl_low.h (logcount_64): ...for this macro.
* src/base/random/cl_UL_random.cc (random32): if HAVE_DD a is an ULL.
* src/integer/gcd/cl_I_gcd_aux2.cc (floorDD): fixed algorithmic bug
that turned up when intDsize==32 and cl_word_size==64.
* src/float/dfloat/elem/cl_DF_div.cc (operator/): fixed a missing cast
to uint64 that turned up when intDsize==32 and cl_word_size==64.
Richard Kreckel [Wed, 1 Nov 2000 18:31:57 +0000 (18:31 +0000)]
* include/cln/object.h (cl_combine): define additional signatures, if
HAVE_LONGLONG is defined, in order to keep the compiler happy.
* src/base/cl_macros.h: include "cln/types.h", since we need HAVE_DD...
* src/base/cl_macros.h (bit): ...for this macro...
* src/base/cl_macros.h (minus_bit): ...and this one.
* src/base/cl_low.h: include "cln/types.h", since we need HAVE_DD...
* src/base/cl_low.h (logcount_64): ...for this macro.
* src/base/random/cl_UL_random.cc (random32): if HAVE_DD a is an ULL.
* src/integer/gcd/cl_I_gcd_aux2.cc (floorDD): fixed algorithmic bug
that turned up when intDsize==32 and cl_word_size==64.
* src/float/dfloat/elem/cl_DF_div.cc (operator/): fixed a missing cast
to uint64 that turned up when intDsize==32 and cl_word_size==64.
Richard Kreckel [Mon, 30 Oct 2000 17:44:15 +0000 (17:44 +0000)]
* src/real/input/cl_R_read.cc, src/complex/input/cl_N_read.cc:
#undef stderr, if it's defined so cln::stderr isn't confused.
* src/base/input/cl_read_globals.cc: stdin should not be extern.
Richard Kreckel [Wed, 30 Aug 2000 22:12:05 +0000 (22:12 +0000)]
* include/cln/number.h, cl_number::_as_cl_private_thing(): removed.
Rearranged for a clearer distinction between macros and remaining
identifiers, so Cint can parse it smoothly.
* Changelog: *trival* documentation changes have nix verloren.
* doc/cln.info, doc/cln.texi: Removed non-sources from CVS.
Richard Kreckel [Mon, 28 Aug 2000 22:07:37 +0000 (22:07 +0000)]
* All Files have been modified for inclusion of namespace cln;
I am too lazy for a detailed discussion of all the changes.
Many identifiers got their `cl_' stripped off. Ok, this is a
clumpsy CVS log-entry. Promise: more will soon go into the
file ChangeLog. I apologize for the inconvenience. :-(
Richard Kreckel [Tue, 30 May 2000 19:02:39 +0000 (19:02 +0000)]
- configure.in, autoconf/aclocal.m4 (CL_GMP_H_VERSION, CL_GMP_CHECK):
New macros.
- configure.in, include/cl_config.h.in (CL_VERSION, CL_VERSION_MINOR,
CL_VERSION_PATCHLEVEL): New definitions.
- autoconf/config.guess, autoconf/config.sub, autoconf/ltconfig,
autoconf/ltmain.sh: updated from FSF (libtool 1.3.5, etc).
- src/Makefile.in, configure.in: release-variables renamed from
CLN_* to CL_*.
- configure.in: default to build both shared and static library
(i.e. default to the most common behaviour).
Richard Kreckel [Wed, 24 May 2000 17:00:25 +0000 (17:00 +0000)]
- autoconf/config.*: Updated to new version from FSF
(the new libtool wants this).
- src/Makefile.in: added $(LDFLAGS) to link step.
- src/base/digitseq/cl_2DS_div.cc, cl_2DS_recip.cc: Adjusted
break-even points.
- Changelog, NEWS: updated.
Richard Kreckel [Mon, 8 May 2000 21:14:41 +0000 (21:14 +0000)]
- Added some $(LDFLAGS) in Makefile.in's so executables will find libgmp.
- Wrote a check to see if libgmp can be used.
- Added libtool interface versioning (-version-info) for the library.
- Added libtool inter-library dependency for -lgmp. (Libtool should care
if this works on the current platform.)
Richard Kreckel [Fri, 5 May 2000 18:01:35 +0000 (18:01 +0000)]
- Upgraded texinfo.tex to newer version 1999-10-01.07, which also
triggered lots of style changes.
- Documented use of external GMP.
- Fixed some index entries.
Richard Kreckel [Fri, 28 Jan 2000 12:27:57 +0000 (12:27 +0000)]
- gmp/*: Replaced the complete mpn sources with the ones from Debian
since they are maintained while the ones from FSF aren't and there
were problems on some architectures, PowerPC in particular. See the
file gmp/README.CLN. This way the hard links in this directory have
vanished, they were causing trouble for people working in AFS and also
with CVS.