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
691b059de5
* Remove unused variables.
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 Cachadia Gutirrez <icacha@unex.es>.
----------------------------------------------------------------------
include/cln/dfloat.h include/cln/ffloat.h CVS: include/cln/float.h
include/cln/real.h CVS:
----------------------------------------------------------------------
20 years ago
Bruno Haible
2691282fd9
Add index entry for 'cast'.
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
3eceee89a2
* Prepare imminent release: bump CL_REVISION and CL_VERSION_PATCHLEVEL.
20 years ago
Richard Kreckel
0f1e4d1769
* pass --libdir to ./configure (because it's done so in GiNaC).
20 years ago
Richard Kreckel
014ef8d674
* Add Linux/x86_64 and Linux/mips and update the timing.
20 years ago
Richard Kreckel
b53f33a60e
* Also filter out SCCS subdirs while recursing and searching for
source files (for those folks using BitKeeper).
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
Bruno Haible
4cd11d0eff
Put the table of contents at the beginning, not at the end.
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.
20 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.
20 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
2503cd33e1
Regenerated.
21 years ago
Bruno Haible
52984aafb8
Upgrade to libtool-1.5.6.
21 years ago
Bruno Haible
5849757ed2
Update comment.
21 years ago
Bruno Haible
2b4e46a517
Fix link error on MacOS X.
21 years ago
Bruno Haible
c9868f7f21
Same benchmarks in Common Lisp. Posted in comp.lang.lisp on 2001-09-19.
http://groups.google.de/groups?q=%2B%22bignum+operations%22+%2Bhaible&hl=de&lr=&ie=UTF-8&selm=rok7yuj3vu.fsf%40honolulu.ilog.fr&rnum=1
21 years ago
Bruno Haible
7f511d0bbe
Moved here from timebench1.lsp.
21 years ago
Bruno Haible
c76df3d0b2
Move to timebench1.lisp.
21 years ago
Richard Kreckel
c905b26d9c
*** empty log message ***
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
653d5aee8d
* Fix typo in Bruno's ftime-patch from a couple of hours ago.
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