Bruno Haible
afdca11f60
If a directory doesn't exist, fail instead of doing infinite recursion.
20 years ago
Richard Kreckel
48bd67094d
Speed up the linking step
* src/Makefile.in: Use -objectlist for linking libcln.la.
20 years ago
Richard Kreckel
bf3efa7255
* autoconf/ltmain.sh: Upgrade to libtool-1.5.16.
* m4/libtool.m4: Upgrade to libtool-1.5.16 (without Comeau patch).
20 years ago
Richard Kreckel
5395692316
* doc/cln.tex: Document what to do on a x86_64 machine with 32-bit userland.
20 years ago
Richard Kreckel
6d4cabf35e
Fix crashes in find_univpoly_ring and related functions
* include/cln/modinteger.h: Remove vptr from cl_heap_modint_ring;
remove declaration of cl_class cl_class_modint_ring.
* include/cln/univpoly.h: Remove vptr from cl_heap_univpoly_ring;
remove declaration of cl_class_univpoly_ring.
* include/cln/object.h: cl_class_flags_modint_ring: New #define...
* src/modinteger/cl_MI.cc: ...used in cl_class_modint_ring.
* src/modinteger/cl_MI_fix16.h: No vptr, but static dtor and type flag.
* src/modinteger/cl_MI_fix29.h: Likewise.
* src/modinteger/cl_MI_fix32.h: Likewise.
* src/modinteger/cl_MI_int32.h: Likewise.
* src/modinteger/cl_MI_montgom.h: Likewise.
* src/modinteger/cl_MI_pow2: Likewise.
* src/modinteger/cl_MI_pow2m1.h: Likewise.
* src/modinteger/cl_MI_pow2p1.h: Likewise.
* src/modinteger/cl_MI_std.h: Likewise.
* src/polynomial/elem/cl_UP.cc (cl_make_univpoly_ring): Compare with
cl_class_flags_modint_ring, not with cl_class_modint_ring.
* src/polynomial/elem/cl_UP_GF2.h (cl_class_num_univpoly_ring): New.
* src/polynomial/elem/cl_UP_MI.h (cl_class_modint_univpoly_ring): New.
* src/polynomial/elem/cl_UP_gen.h (cl_class_gen_univpoly_ring): New.
* src/polynomial/elem/cl_UP_number.h (cl_class_num_univpoly_ring): New.
Reported by Ralf Goertz <R_Goertz@web.de>.
20 years ago
Richard Kreckel
d27593cce6
* m4/cc.m4: Emit a warning if g++ is used and optimization turned off.
20 years ago
Richard Kreckel
95464ffca5
Make GCC compiler flags default to -O
* m4/cc.m4: New file...
* configure.ac: ...used here.
* autoconf/aclocal.m4: Regenerate.
20 years ago
Richard Kreckel
63aedca00b
* include/cln/string.h: Declare cl_string.
20 years ago
Richard Kreckel
c14014b041
* autoconf/ltmain.sh: Upgrade to libtool-1.5.14.
* m4/libtool.m4: Upgrade to libtool-1.5.14 with Comeau patch.
* autoconf/aclocal.m4: Regenerate.
20 years ago
Richard Kreckel
b4bf50e16a
* src/Makefile.in: Use $CXX instead of $CC when linking.
20 years ago
Richard Kreckel
5332b309a5
* examples/perfnum.cc: update to presumed 42st Mersenne prime.
20 years ago
Richard Kreckel
1f0efb29d4
Disambiguate binary operators of CLN types with float/double
* include/cln/dfloat.h: Add binary operator overloads for arguments of
type double.
* include/cln/ffloat.h: Likewise, for arguments of type float.
* include/cln/float.h: Likewise, both for arguments of types double and
float.
* include/cln/real.h: Likewise.
Reported by Isidro Cachadiña Gutiérrez <icacha@unex.es>.
----------------------------------------------------------------------
include/cln/dfloat.h include/cln/ffloat.h CVS: include/cln/float.h
include/cln/real.h CVS:
----------------------------------------------------------------------
20 years ago
Richard Kreckel
1dbaa44490
* Version 1.1.9 released.
20 years ago
Richard Kreckel
57023a0ee9
* src/Makefile.in: Let config.status set LDFLAGS.
20 years ago
Richard Kreckel
337a21d2e0
* cln.pc.in: Fix typo.
* Makefile.in (INSTALL_SCRIPT): Added, to be used for scripts like
cln-config. Allows us to do special things to binaries, like
installing them with install -s.
* doc/Makefile.in: add/remove the cln.info from the installed
$(infodir)/dir unless this is debian install-info (code copied from
what GNU automake would produce).
20 years ago
Richard Kreckel
7792c43d12
* src/integer/input/cl_I_read_stream.cc (read_integer): Fix a bug
that caused radix specifiers to not work when reading from a stream.
* src/rational/input/cl_RA_read_stream.cc (read_rational): Likewise.
* src/real/input/cl_R_read_stream.cc (read_real): Likewise.
* src/float/input/cl_F_read_stream.cc (read_float): Likewise.
* src/complex/input/cl_N_read_stream.cc (read_complex): Likewise.
20 years ago
Richard Kreckel
ccc9b05698
* src/base/cl_low.h: Add mulu64 assembler macro for ia64.
20 years ago
Richard Kreckel
1bf866178f
* src/base/cl_low.h: Add mul and div macros for x86_64.
20 years ago
Richard Kreckel
b31a3a904d
* src/integer/conv/cl_I_from_digits.cc (digits_to_I): Fix thinko in
new code for base power of two.
20 years ago
Richard Kreckel
abe559d7d8
* src/integer/conv/cl_I_to_digits (I_to_digits): Fix an elusive stack
overwriting problem. That was the real cause for Debian bug#246319.
* src/integer/output/cl_I_print.cc (print_integer): Revert workaround
for the bug fixed above.
20 years ago
Richard Kreckel
b8a5b7150b
* include/cln/types.h: Use 64 bit digits on x86_64 CPU.
20 years ago
Richard Kreckel
ac82f8ef8b
* src/integer/conv/cl_I_from_digits.cc (digits_to_I): Speedup when
the base is a power of two.
20 years ago
Richard Kreckel
8548d5d0a5
* src/integer/conv/cl_I_to_digits.cc (I_to_digits): Fix bug in base 32.
21 years ago
Richard Kreckel
089003015a
Support for little-endian Mips, second shot
* src/base/digitseq/cl_asm_mipsel_.cc: New file...
* src/base/digitseq/cl_asm_cc: ...used here.
* src/base/digitseq/cl_asm.h: Include cl_asm_mips.h for any endianness.
* include/cln/object.h: Set alignment for mipsel explicitly.
21 years ago
Richard Kreckel
abbb561b2c
Support for little-endian Mips
* include/cln/config.h.in: Add __mipsel__.
* include/cln/modules.h: For Mips, this is endianness-agnostic.
* src/base/digitseq/cl_asm_.cc, src/base/digitseq/cl_asm.h:
Mask out assembler for little-endian Mips.
21 years ago
Bruno Haible
6562d864cb
Update benchmark results.
21 years ago
Richard Kreckel
16e2a598fa
* Revert indentation (after re-re-reading again).
21 years ago
Richard Kreckel
d1f8f38f31
2004-08-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* cln/examples/e.cc: remove extra semicolon.
21 years ago
Bruno Haible
2750a105b0
Regenerated aclocal.m4.
21 years ago
Bruno Haible
52984aafb8
Upgrade to libtool-1.5.6.
21 years ago
Bruno Haible
2b4e46a517
Fix link error on MacOS X.
21 years ago
Richard Kreckel
7b767b87c6
* Version 1.1.8 released.
21 years ago
Richard Kreckel
ff6e2344d0
*** empty log message ***
21 years ago
Richard Kreckel
7a0e86b187
* src/base/cl_macros.h: alloca(3) has size_t argument type.
21 years ago
Richard Kreckel
684ae5ac17
* include/cln/floatformat.h: Do define a type here.
21 years ago
Richard Kreckel
e2abb14636
* include/cln/modules.h (CL_JUMP_TO): Fix AMD64 brokenness.
21 years ago
Richard Kreckel
47c6606172
* Document jacobi, isprobprime and nextprobprime.
21 years ago
Richard Kreckel
541905ab43
* Remove unused labels.
21 years ago
Richard Kreckel
f2f5fb349d
* Make template specializations explicit.
21 years ago
Richard Kreckel
a8369235e2
* Change all C include headers to ISO style within C++ code.
21 years ago
Bruno Haible
98306ce28a
Fix autoconf problem with ftime().
21 years ago
Richard Kreckel
00a938019a
* rational/transcendental/cl_RA_logp.cc: fix bug where base is
reciprocal of an integer.
21 years ago
Richard Kreckel
4016593313
* examples/perfnum.cc: update to presumed 40th Mersenne prime.
21 years ago
Richard Kreckel
2cebc3f5dc
* Version 1.1.7 released.
21 years ago
Richard Kreckel
769f6fee48
* examples/pi.cc and examples/pi.1: New files.
* examples/Makefile.in: Build the pi executable.
21 years ago
Richard Kreckel
85a244e45d
* src/Makefile.in: Fix for parallel build: wait for subdir objects to
be finished before creating the library.
21 years ago
Richard Kreckel
852b7a29c4
* src/integer/output/cl_I_print.cc (print_integer): workaround
GCC compiler bug (cf. Debian bug#246319).
21 years ago
Richard Kreckel
eb40e45ebc
* m4/gmp.m4 (CL_GMP_CHECK): Do not lose LIBS setting with config.cache enabled.
21 years ago
Bruno Haible
ffca5a5837
Fix a bug occurring with extremely high exponents.
21 years ago
Bruno Haible
b68181a566
Fix an extreme case in long-float multiplication.
21 years ago