You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2261 lines
89 KiB

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.
18 years ago
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.
18 years ago
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
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.
19 years ago
19 years ago
24 years ago
24 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
  1. 2007-12-17 Richard B. Kreckel <kreckel@ginac.de>
  2. Silly workaround for silly bug in gmp.h:
  3. * m4/gmp.m4 (CL_GMP_SET_UINTD): Swap #include <gmp.h> and <stdio.h>.
  4. 2007-12-17 Richard B. Kreckel <kreckel@ginac.de>
  5. * src/polynomial/elem/cl_UP_GF2.h (gf2_mul_table): define for sparc64.
  6. 2007-12-04 Richard B. Kreckel <kreckel@ginac.de>
  7. * include/cln/types.h ([su]intE): 64-bit exponents for MIPS and RS6000.
  8. 2007-12-03 Richard B. Kreckel <kreckel@ginac.de>
  9. * src/float/lfloat/cl_LF.h (cl_heap_lfloat): Change len type to uintC.
  10. 2007-11-28 Richard B. Kreckel <kreckel@ginac.de>
  11. * include/cln/object.h: Don't redefine cl_word_alignment on sparc64.
  12. * src/base/digitseq/cl_asm_sparc64_.cc: Declare use of global
  13. register %g2 as scratch register within this file.
  14. Reported by Paul Irofti <bulibuta@gmail.com> and Sven Verdoolaege
  15. <skimo@kotnet.org>.
  16. 2007-11-03 Richard B. Kreckel <kreckel@ginac.de>
  17. * src/base/digitseq/cl_asm_i386_.cc (compare_loop_up,
  18. compare_loop_down): Fix empty ranges.
  19. 2007-10-12 Richard B. Kreckel <kreckel@ginac.de>
  20. Fix compilation on CYGWIN:
  21. * src/float/transcendental/cl_LF_zeta_int.cc: Avoid leading underscores
  22. in variable names.
  23. * src/float/transcendental/cl_LF_eulerconst.cc: Likewise.
  24. Reported by Chris Bouchard <cbouchrd@uiuc.edu>.
  25. 2007-10-10 Richard B. Kreckel <kreckel@ginac.de>
  26. * src/base/cl_low.h: Add missing linefeeds in SPARC 64 inline assembler.
  27. * src/base/low/cl_low_div.cc (divu_6464_6464_): Fix a copy-paste typo.
  28. Reported by Sven Verdoolaege <skimo@kotnet.org>.
  29. 2007-10-02 Richard B. Kreckel <kreckel@ginac.de>
  30. On popular demand (Debian bug #286266, Ubuntu bug #128851):
  31. * examples/pi.cc: Output no more than requested number of digits.
  32. 2007-10-01 Richard B. Kreckel <kreckel@ginac.de>
  33. * autoconf/config.guess, autoconf/config.sub: updated from automake-1.9.
  34. 2007-09-19 Richard B. Kreckel <kreckel@ginac.de>
  35. * doc/cln.tex: Put entire document in @dircategory Mathematics.
  36. * doc/Makefile.in: texi2html -split_chapter suddenly uses subdirectory.
  37. * Makefile.in: Don't install non-existing cln-config* and cln.m4.
  38. 2007-09-18 Richard B. Kreckel <kreckel@ginac.de>
  39. * include/cln/modules.h (CL_JUMP_TO): Use a pc relative jump on m68k.
  40. See <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=388000>.
  41. 2007-09-16 Richard B. Kreckel <kreckel@ginac.de>
  42. * */*: Convert encoding from ISO 8859-1 to UTF-8.
  43. 2007-09-13 Richard B. Kreckel <kreckel@ginac.de>
  44. Truncated binary splitting for even more memory efficiency:
  45. * src/float/transcendental/cl_LF_tran.h: Added new overloads. See below.
  46. * src/float/transcendental/cl_LF_ratseries_stream_pq.cc: Removed and
  47. moved everything to...
  48. * src/float/transcendental/cl_LF_ratseries_pq.cc: ...here. Added an
  49. overload for truncated expansion.
  50. * src/float/transcendental/cl_LF_ratseries_stream_pqa.cc: Removed and
  51. moved everything to...
  52. * src/float/transcendental/cl_LF_ratseries_pqa.cc: ...here. Added an
  53. overload for truncated expansion.
  54. * src/float/transcendental/cl_LF_ratseries_stream_pqb.cc: Removed and
  55. moved everything to...
  56. * src/float/transcendental/cl_LF_ratseries_pqb.cc: ...here. Added an
  57. overload for truncated expansion.
  58. * src/float/transcendental/cl_LF_ratseries_stream_pqab.cc: Removed and
  59. moved everything to...
  60. * src/float/transcendental/cl_LF_ratseries_pqab.cc: ...here. Added an
  61. overload for truncated expansion.
  62. * src/float/transcendental/cl_LF_ratsumseries_pqcd_aux.cc: Added
  63. overloads for streamed and truncated expansion.
  64. * src/float/transcendental/cl_LF_ratsumseries_pqcd.cc: Likewise.
  65. * src/float/transcendental/cl_LF_ratsumseries_stream_pqd_aux.cc: Removed
  66. and moved everything to...
  67. * src/float/transcendental/cl_LF_ratsumseries_pqd_aux.cc: ...here. Added
  68. an overload for truncated expansion.
  69. * src/float/transcendental/cl_LF_ratsumseries_stream_pqd.cc: Removed
  70. and moved everything to...
  71. * src/float/transcendental/cl_LF_ratsumseries_pqd.cc: ...here. Added an
  72. overload for truncated expansion.
  73. * src/float/transcendental/cl_LF_pi.cc: Use truncated series.
  74. * src/float/transcendental/cl_LF_catalanconst.cc: Likewise.
  75. * src/float/transcendental/cl_LF_eulerconst.cc: Likewise.
  76. * src/float/transcendental/cl_LF_zeta_int.cc: Likewise.
  77. * src/float/transcendental/cl_LF_zeta3.cc: Likewise.
  78. 2007-09-07 Richard B. Kreckel <kreckel@ginac.de>
  79. More memory efficient Euler-Mascheroni constant:
  80. * src/float/transcendental/cl_LF_tran.h (cl_pqd_series_stream): New.
  81. * src/float/transcendental/cl_LF_ratsumseries_stream_pqd.cc: New file.
  82. * src/float/transcendental/cl_LF_ratsumseries_stream_pqd_aux.cc: New
  83. file.
  84. * src/float/transcendental/cl_LF_eulerconst.cc: Compute series
  85. coefficients on demand, using a series stream object.
  86. 2007-08-02 Richard B. Kreckel <kreckel@ginac.de>
  87. * src/base/digitseq/cl_DS_div.cc (cl_recip_suitable): uintC arguments.
  88. 2007-08-01 Richard B. Kreckel <kreckel@ginac.de>
  89. * */*: Remove cl_boolean, cl_true, and cl_false in favor of built-in
  90. C++ bool, true, and false.
  91. 2007-07-28 Richard B. Kreckel <kreckel@ginac.de>
  92. Remove exception hooks in favor of real C++ exceptions:
  93. * include/cln/exception.h: New file...
  94. * include/cln/cln.h: ...included here...
  95. * include/cln/rational.h: ...and here.
  96. * include/cln/abort.h: Removed.
  97. * include/cln/integer.h (ash_exception, exquo_exception): Add exception
  98. types.
  99. * include/cln/float.h (floating_point_exception,
  100. floating_point_nan_exception, floating_point_overflow_exception,
  101. floating_point_underflow_exception): Likewise.
  102. * include/cln/number_io.h (read_number_exception,
  103. read_number_bad_syntax_exception, read_number_junk_exception,
  104. read_number_eof_exception): Likewise.
  105. * include/cln/object.h (CL_DEFINE_CONVERTER): Replace dynamic assertion
  106. with a compile-time assertion.
  107. * include/cln/GV.h: Replace nonreturning functions with exceptions.
  108. * include/cln/modinteger.h: Likewise.
  109. * include/cln/SV.h: Likewise.
  110. * include/cln/ring.h: Likewise.
  111. * include/cln/string.h: Likewise.
  112. * include/cln/univpoly.h: Likewise.
  113. * src/base/cl_abort.cc: Removed.
  114. * src/base/cl_N_err_d0.cc: Removed.
  115. * src/base/cl_d0_exception.cc: New file.
  116. * src/base/cl_as_err.cc: Removed.
  117. * src/base/cl_as_exception.cc: New file.
  118. * src/base/cl_notreached.cc: Removed.
  119. * src/base/cl_notreached_exception.cc: New file.
  120. * src/base/input/cl_read_err_bad.cc: Removed.
  121. * src/base/input/cl_read_bad_syntax_exception.cc: New file.
  122. * src/base/input/cl_read_err_junk.cc: Removed.
  123. * src/base/input/cl_read_junk_exception.cc: New file.
  124. * src/base/input/cl_read_err_eof.cc: Removed.
  125. * src/base/input/cl_read_eof_exception.cc: New file.
  126. * src/base/cl_N.h (cl_as_error): Removed (see cln/exception.h).
  127. * src/base/macros.h (NOTREACHED): Throw.
  128. * src/base/cl_malloc.cc (xmalloc): Throw.
  129. * src/base/digitseq/cl_2DS_div.cc: Throw.
  130. * src/base/digitseq/cl_DS_div.cc: Throw.
  131. * src/base/digitseq/cl_DS_mul.cc: Throw.
  132. * src/base/digitseq/cl_DS_mul_fftc.h: Throw.
  133. * src/base/digitseq/cl_DS_mul_fftcs.h: Throw.
  134. * src/base/digitseq/cl_DS_mul_fftm.h: Throw.
  135. * src/base/digitseq/cl_DS_mul_fftp.h: Throw.
  136. * src/base/digitseq/cl_DS_mul_fftp3.h: Throw.
  137. * src/base/digitseq/cl_DS_mul_fftp3m.h: Throw.
  138. * src/base/digitseq/cl_DS_mul_fftr.h: Throw.
  139. * src/base/digitseq/cl_DS_mul_nuss.h: Throw.
  140. * src/base/digitseq/cl_DS_recipsqrt.cc: Throw.
  141. * src/base/digitseq/cl_DS_sqrt.cc: Throw.
  142. * src/base/hash/cl_hash.h: Throw.
  143. * src/base/hash/cl_hash1.h: Throw.
  144. * src/base/hash/cl_hash1weak.h: Throw.
  145. * src/base/hash/cl_hash2.h: Throw.
  146. * src/base/hash/cl_hash2weak.h: Throw.
  147. * src/base/hash/cl_hashset.h: Throw.
  148. * src/base/hash/cl_hashuniq.h: Throw.
  149. * src/base/hash/cl_hashuniqweak.h: Throw.
  150. * src/base/proplist/cl_pl_add.cc: Throw.
  151. * src/base/ring/cl_no_ring.cc: Throw.
  152. * src/base/string/cl_spushstring.h: Throw.
  153. * src/base/symbol/cl_symbol.cc: Throw.
  154. * src/integer/bitwise/cl_I_ash.h: Removed (see cln/integer.h.)
  155. * src/integer/bitwise/cl_I_asherr.cc: Removed.
  156. * src/integer/bitwise/cl_I_ash_exception.cc: New file.
  157. * src/integer/division/cl_I_exquoerr.cc: Removed.
  158. * src/integer/division/cl_I_exquo_exception.cc: New file.
  159. * src/integer/cl_I.h: Throw.
  160. * src/integer/division/cl_I_exquopos.cc: Throw.
  161. * src/integer/bitwise/cl_I_logbitp_I.cc: Throw.
  162. * src/integer/bitwise/cl_I_ash.cc: Throw.
  163. * src/integer/bitwise/cl_I_ash_I.cc: Throw.
  164. * src/integer/division/cl_I_exquo.cc: Throw.
  165. * src/integer/gcd/cl_I_gcd_aux2.cc: Throw.
  166. * src/integer/conv/cl_I_to_L.cc: Throw.
  167. * src/integer/conv/cl_I_to_Q.cc: Throw.
  168. * src/integer/conv/cl_I_to_UL.cc: Throw.
  169. * src/integer/conv/cl_I_to_UQ.cc: Throw.
  170. * src/integer/conv/cl_I_to_digits.cc: Throw.
  171. * src/integer/elem/cl_I_div.cc: Throw.
  172. * src/integer/algebraic/cl_I_sqrt.cc: Throw.
  173. * src/integer/input/cl_I_read.cc: Throw.
  174. * src/integer/input/cl_I_read_stream.cc: Throw.
  175. * src/integer/misc/cl_I_as.cc: Throw.
  176. * src/rational/elem/cl_RA_from_I_I_div.cc: Throw.
  177. * src/rational/elem/cl_RA_recip.cc: Throw.
  178. * src/rational/input/cl_RA_read.cc: Throw.
  179. * src/rational/input/cl_RA_read_stream.cc: Throw.
  180. * src/rational/input/cl_RA_readparsed.cc: Throw.
  181. * src/rational/misc/cl_RA_as.cc: Throw.
  182. * src/float/base/cl_F_err_nan.cc: Removed.
  183. * src/float/base/cl_F_nan_exception.cc: New file.
  184. * src/float/base/cl_F_err_un.cc: Removed.
  185. * src/float/base/cl_F_underflow_exception.cc: New file.
  186. * src/float/base/cl_F_err_ov.cc: Removed.
  187. * src/float/base/cl_F_overflow_exception.cc: New file.
  188. * src/float/cl_F.h (cl_error_floating_point_nan,
  189. cl_error_floating_point_overflow, cl_error_floating_point_underflow):
  190. Removed (see cln/float.h.)
  191. * src/float/sfloat/cl_SF.h: Throw.
  192. * src/float/sfloat/elem/cl_SF_div.cc: Throw.
  193. * src/float/sfloat/elem/cl_SF_from_RA.cc: Throw.
  194. * src/float/sfloat/elem/cl_SF_scale.cc: Throw.
  195. * src/float/sfloat/elem/cl_SF_scale_I.cc: Throw.
  196. * src/float/sfloat/misc/cl_SF_as.cc: Throw.
  197. * src/float/ffloat/cl_FF.h: Throw.
  198. * src/float/ffloat/conv/cl_FF_from_float.cc: Throw.
  199. * src/float/ffloat/elem/cl_FF_div.cc: Throw.
  200. * src/float/ffloat/elem/cl_FF_from_RA.cc: Throw.
  201. * src/float/ffloat/elem/cl_FF_scale.cc: Throw.
  202. * src/float/ffloat/elem/cl_FF_scale_I.cc: Throw.
  203. * src/float/ffloat/misc/cl_FF_as.cc: Throw.
  204. * src/float/dfloat/cl_DF.h: Throw.
  205. * src/float/dfloat/conv/cl_DF_from_double.cc: Throw.
  206. * src/float/dfloat/elem/cl_DF_div.cc: Throw.
  207. * src/float/dfloat/elem/cl_DF_from_RA.cc: Throw.
  208. * src/float/dfloat/elem/cl_DF_scale.cc: Throw.
  209. * src/float/dfloat/elem/cl_DF_scale_I.cc: Throw.
  210. * src/float/dfloat/misc/cl_DF_as.cc: Throw.
  211. * src/float/lfloat/algebraic/cl_LF_sqrt.cc: Throw.
  212. * src/float/lfloat/elem/cl_LF_1plus.cc: Throw.
  213. * src/float/lfloat/elem/cl_LF_I_div.cc: Throw.
  214. * src/float/lfloat/elem/cl_LF_I_mul.cc: Throw.
  215. * src/float/lfloat/elem/cl_LF_div.cc: Throw.
  216. * src/float/lfloat/elem/cl_LF_from_I.cc: Throw.
  217. * src/float/lfloat/elem/cl_LF_mul.cc: Throw.
  218. * src/float/lfloat/elem/cl_LF_scale.cc: Throw.
  219. * src/float/lfloat/elem/cl_LF_scale_I.cc: Throw.
  220. * src/float/lfloat/elem/cl_LF_square.cc: Throw.
  221. * src/float/lfloat/misc/cl_LF_as.cc: Throw.
  222. * src/float/lfloat/misc/cl_LF_shorten.cc: Throw.
  223. * src/float/lfloat/misc/cl_LF_shortenrel.cc: Throw.
  224. * src/float/lfloat/misc/cl_LF_shortenwith.cc: Throw.
  225. * src/float/input/cl_F_read.cc: Throw.
  226. * src/float/input/cl_F_read_stream.cc: Throw.
  227. * src/float/misc/cl_F_as.cc: Throw.
  228. * src/float/misc/cl_F_shortenrel.cc: Throw.
  229. * src/float/transcendental/cl_LF_coshsinh_aux.cc: Throw.
  230. * src/float/transcendental/cl_LF_cossin_aux.cc: Throw.
  231. * src/float/transcendental/cl_LF_exp_aux.cc: Throw.
  232. * src/float/transcendental/cl_LF_ratseries_a.cc: Throw.
  233. * src/float/transcendental/cl_LF_ratseries_ab.cc: Throw.
  234. * src/float/transcendental/cl_LF_ratseries_b.cc: Throw.
  235. * src/float/transcendental/cl_LF_ratseries_p.cc: Throw.
  236. * src/float/transcendental/cl_LF_ratseries_pa.cc: Throw.
  237. * src/float/transcendental/cl_LF_ratseries_pab.cc: Throw.
  238. * src/float/transcendental/cl_LF_ratseries_pb.cc: Throw.
  239. * src/float/transcendental/cl_LF_ratseries_pq.cc: Throw.
  240. * src/float/transcendental/cl_LF_ratseries_pqa.cc: Throw.
  241. * src/float/transcendental/cl_LF_ratseries_pqab.cc: Throw.
  242. * src/float/transcendental/cl_LF_ratseries_pqb.cc: Throw.
  243. * src/float/transcendental/cl_LF_ratseries_q.cc: Throw.
  244. * src/float/transcendental/cl_LF_ratseries_qa.cc: Throw.
  245. * src/float/transcendental/cl_LF_ratseries_qab.cc: Throw.
  246. * src/float/transcendental/cl_LF_ratseries_qb.cc: Throw.
  247. * src/float/transcendental/cl_LF_ratseries_stream_pq.cc: Throw.
  248. * src/float/transcendental/cl_LF_ratseries_stream_pqa.cc: Throw.
  249. * src/float/transcendental/cl_LF_ratseries_stream_pqab.cc: Throw.
  250. * src/float/transcendental/cl_LF_ratseries_stream_pqb.cc: Throw.
  251. * src/float/transcendental/cl_LF_ratsumseries_pqcd_aux.cc: Throw.
  252. * src/float/transcendental/cl_LF_ratsumseries_pqd.cc: Throw.
  253. * src/float/transcendental/cl_LF_ratsumseries_pqd_aux.cc: Throw.
  254. * src/float/transcendental/cl_LF_zeta_int.cc: Throw.
  255. * src/real/elem/cl_R_div.cc: Throw.
  256. * src/real/format-output/cl_fmt_cardinal.cc: Throw.
  257. * src/real/format-output/cl_fmt_newroman.cc: Throw.
  258. * src/real/format-output/cl_fmt_oldroman.cc: Throw.
  259. * src/real/input/cl_R_read.cc: Throw.
  260. * src/real/input/cl_R_read_stream.cc: Throw.
  261. * src/real/misc/cl_R_as.cc: Throw.
  262. * src/real/random/cl_R_random.cc: Throw.
  263. * src/real/transcendental/cl_R_atan2.cc: Throw.
  264. * src/real/transcendental/cl_R_log.cc: Throw.
  265. * src/complex/input/cl_N_read.cc: Throw.
  266. * src/complex/input/cl_N_read_stream.cc: Throw.
  267. * src/complex/misc/cl_N_as.cc: Throw.
  268. * src/complex/transcendental/cl_C_atanh_aux.cc: Throw.
  269. * src/complex/transcendental/cl_C_expt_C.cc: Throw.
  270. * src/complex/transcendental/cl_C_log.cc: Throw.
  271. * src/complex/transcendental/cl_C_log2.cc: Throw.
  272. * src/numtheory/cl_nt_cornacchia1.cc: Throw.
  273. * src/numtheory/cl_nt_cornacchia4.cc: Throw.
  274. * src/numtheory/cl_nt_isprobprime.cc: Throw.
  275. * src/numtheory/cl_nt_jacobi.cc: Throw.
  276. * src/numtheory/cl_nt_jacobi_low.cc: Throw.
  277. * src/numtheory/cl_nt_sqrtmodp.cc: Throw.
  278. * src/modinteger/cl_MI.cc: Throw.
  279. * src/modinteger/cl_MI_int.h: Throw.
  280. * src/modinteger/cl_MI_montgom.h: Throw.
  281. * src/modinteger/cl_MI_pow2.h: Throw.
  282. * src/modinteger/cl_MI_rshift.cc: Throw.
  283. * src/modinteger/cl_MI_std.h: Throw.
  284. * src/polynomial/elem/cl_UP_GF2.h: Throw.
  285. * src/polynomial/elem/cl_UP_MI.h: Throw.
  286. * src/polynomial/elem/cl_UP_gen.h: Throw.
  287. * src/polynomial/elem/cl_UP_named.cc: Throw.
  288. * src/polynomial/elem/cl_UP_no_ring.cc (uninitialized_error,
  289. uninitialized_ring): Removed (see cln/ring.h.)
  290. * src/polynomial/elem/cl_UP_number.h: Throw.
  291. * src/polynomial/elem/cl_UP_unnamed.cc: Throw.
  292. * src/vector/cl_GV_I.cc: Throw.
  293. * src/vector/cl_GV_number.cc: Throw.
  294. * tests/timediv2adic-compare.cc: Use default abort(), not cl_abort().
  295. * tests/timeprint-compare.cc: Likewise.
  296. * tests/timerecip2adic-compare.cc: Likewise.
  297. * doc/cln.tex: Document the exception classes.
  298. * examples/contfrac.cc: Use try/catch instead of setjmp/longjmp.
  299. * INSTALL: undocument -fno-exceptions.
  300. * README: Add exceptions to list of used C++ features.
  301. 2007-06-20 Richard B. Kreckel <kreckel@ginac.de>
  302. * cln.spec.in (Source0): Package is bzip2-compressed.
  303. Reported by Markus Grabner <grabner@icg.tugraz.at>.
  304. 2007-05-31 Richard B. Kreckel <kreckel@ginac.de>
  305. * include/cln/integer.h (cl_I_to_E, cl_I_to_UE): New functions.
  306. * src/float/transcendental/cl_LF_exp_aux.cc: Make lq argument an uintE.
  307. * src/float/transcendental/cl_LF_cossin_aux.cc: Likewise.
  308. * src/float/transcendental/cl_LF_coshsinh_aux.cc: Likewise.
  309. * src/float/transcendental/cl_F_tran.h: Change declaration of lq.
  310. * src/float/transcendental/cl_F_lnx.cc: Fix some exponent types.
  311. * src/float/transcendental/cl_F_expx.cc: Likewise.
  312. * src/float/transcendental/cl_F_sinh.cc: Likewise.
  313. * src/float/transcendental/cl_F_atanx.cc: Likewise.
  314. * src/float/transcendental/cl_F_coshsinh.cc: Likewise.
  315. * src/float/transcendental/cl_LF_cossin.cc: Likewise.
  316. * src/float/transcendental/cl_LF_coshsinh.cc: Likewise.
  317. 2007-04-09 Richard B. Kreckel <kreckel@ginac.de>
  318. More memory efficient constants:
  319. * src/float/transcendental/cl_LF_pi.cc (compute_pi_ramanujan_163_fast):
  320. Compute series coefficients on demand, using a series stream object.
  321. * src/float/transcendental/cl_LF_zeta3.cc (zeta3): Likewise.
  322. * src/float/transcendental/cl_LF_catalanconst.cc
  323. (compute_catalanconst_ramanujan_fast): Likewise.
  324. (compute_catalanconst_lupas): New function.
  325. (compute_catalanconst): Simplify, based on new benchmark.
  326. 2007-04-02 Alexei Sheplyakov <varg@theor.jinr.ru>
  327. Debian Bug#412103:
  328. * cln.pc.in: list -lgmp in Libs.private instead of in Libs.
  329. * doc/cln.tex: Undocument cln-config, properly document pkg-config.
  330. * cln-config.1.in: Remove.
  331. * cln-config.in: Remove.
  332. * cln.m4: Remove.
  333. * configure.ac: Don't output cln-config and cln-config.1.
  334. 2006-12-24 Bruno Haible <bruno@clisp.org>
  335. Make autoconfiguration work with gcc-4.3 snapshots.
  336. * autoconf/intparam.c (main1): Rename get_integer_bitsize to
  337. get_unsigned_integer_bitsize. New macro get_signed_integer_bitsize.
  338. 2006-12-19 Bruno Haible <bruno@clisp.org>
  339. * autoconf/intparam.c (main): Use 'return', not exit().
  340. * autoconf/floatparam.c (main): Likewise.
  341. Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
  342. 2006-12-11 Richard B. Kreckel <kreckel@ginac.de>
  343. Extend the exponent range from 32 bits to 64 bits on selected platforms.
  344. * include/cln/number.h: Add signatures for operations with long long.
  345. * include/cln/complex_class.h: Likewise.
  346. * include/cln/real_class.h: Likewise.
  347. * include/cln/real.h: Likewise.
  348. * include/cln/rational_class.h: Likewise.
  349. * include/cln/rational.h: Likewise.
  350. * include/cln/integer_class.h: Likewise.
  351. * include/cln/integer.h: Likewise.
  352. * include/cln/float.h: Likewise.
  353. * include/cln/lfloat.h: Likewise.
  354. * include/cln/types.h (sintE and uintE): New types for exponents.
  355. * include/cln/*float.h: Use the new types for exponents.
  356. * include/cln/floatformat.h (float_format_t): Make underlying type
  357. compatible with sintE.
  358. * doc/cln.tex: Document changed float_exponent return value.
  359. * src/float/cl_F.h: Likewise.
  360. * src/float/ffloat/misc/cl_FF_exponent.cc: Likewise.
  361. * src/float/input/cl_F_read.cc: Likewise.
  362. * src/float/lfloat/cl_LF.h: Likewise.
  363. * src/float/lfloat/cl_LF_impl.h: Likewise.
  364. * src/float/lfloat/algebraic/cl_LF_sqrt.cc: Likewise.
  365. * src/float/lfloat/elem/cl_LF_1plus.cc: Likewise.
  366. * src/float/lfloat/elem/cl_LF_I_div.cc: Likewise.
  367. * src/float/lfloat/elem/cl_LF_I_mul.cc: Likewise.
  368. * src/float/lfloat/elem/cl_LF_compare.cc: Likewise.
  369. * src/float/lfloat/elem/cl_LF_div.cc: Likewise.
  370. * src/float/lfloat/elem/cl_LF_from_I.cc: Likewise.
  371. * src/float/lfloat/elem/cl_LF_fround.cc: Likewise.
  372. * src/float/lfloat/elem/cl_LF_ftrunc.cc: Likewise.
  373. * src/float/lfloat/elem/cl_LF_futrunc.cc: Likewise.
  374. * src/float/lfloat/elem/cl_LF_mul.cc: Likewise.
  375. * src/float/lfloat/elem/cl_LF_scale.cc: Likewise.
  376. * src/float/lfloat/elem/cl_LF_scale_I.cc: Likewise.
  377. * src/float/lfloat/elem/cl_LF_square.cc: Likewise.
  378. * src/float/lfloat/elem/cl_LF_to_I.cc: Likewise.
  379. * src/float/lfloat/misc/cl_LF_decode.cc: Likewise.
  380. * src/float/lfloat/misc/cl_LF_exponent.cc: Likewise.
  381. * src/float/lfloat/misc/cl_LF_idecode.cc: Likewise.
  382. * src/float/lfloat/misc/cl_LF_shortenrel.cc: Likewise.
  383. * src/float/lfloat/misc/cl_LF_shortenwith.cc: Likewise.
  384. * src/float/misc/cl_F_decode.cc: Likewise.
  385. * src/float/misc/cl_F_exponent.cc: Likewise.
  386. * src/float/misc/cl_F_shortenrel.cc: Likewise.
  387. * src/float/misc/cl_float_format.cc: Likewise.
  388. * src/float/output/cl_F_dprint.cc: Likewise.
  389. * src/float/sfloat/misc/cl_SF_exponent.cc: Likewise.
  390. * src/float/transcendental/cl_F_atanhx.cc: Likewise.
  391. * src/float/transcendental/cl_F_atanx.cc: Likewise.
  392. * src/float/transcendental/cl_F_cosh.cc: Likewise.
  393. * src/float/transcendental/cl_F_expx.cc: Likewise.
  394. * src/float/transcendental/cl_F_lnx.cc: Likewise.
  395. * src/float/transcendental/cl_F_sinhx.cc: Likewise.
  396. * src/float/transcendental/cl_F_sinx.cc: Likewise.
  397. * src/float/transcendental/cl_LF_pi.cc: Likewise.
  398. * src/integer/cl_I.h: Likewise.
  399. * src/complex/algebraic/cl_LF_hypot.cc: Likewise.
  400. * src/complex/elem/division/cl_C_LF_recip.cc: Likewise.
  401. * src/float/dfloat/misc/cl_DF_exponent.cc: Likewise.
  402. * src/integer/conv/cl_I_from_Q2.cc: Added.
  403. * src/base/cl_low.h (isqrtC): New function, for 64 bit falls back to...
  404. * src/base/low/cl_low_isqrt.cc (isqrt): ...this new implementation.
  405. * src/base/cl_macros.h (bitc): Make sure 64 bit is used if required by
  406. exponent operations.
  407. * examples/pi.cc: Support more than 646456614 decimal digits.
  408. 2006-11-02 Richard B. Kreckel <kreckel@ginac.de>
  409. * src/base/digitseq/cl_DS.h: #undef DS, needed for i386-Solaris.
  410. 2006-10-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  411. * tests/Makefile.in (VPATH): Fix syntax error.
  412. 2006-09-14 Richard B. Kreckel <kreckel@ginac.de>
  413. * examples/perfnum.cc: update to presumed 44th Mersenne prime.
  414. 2006-08-15 Richard B. Kreckel <kreckel@ginac.de>
  415. * tests/Makefile.in: MinGW support for make check
  416. (Patch by Sheplyakov Alexei <varg@theor.jinr.ru> to add ${EXEEXT}).
  417. * Makefile.in: Convert from $(VAR) to ${VAR} syntax.
  418. * benchmarks/Makefile.in: Likewise.
  419. * doc/Makefile.in: Likewise.
  420. * examples/Makefile.in: Likewise.
  421. * src/Makefile.in: Likewise.
  422. * tests/Makefile.in: Likewise.
  423. 2006-08-06 Richard B. Kreckel <kreckel@ginac.de>
  424. * configure.ac: Re-enable shared lib on non-MinGW platforms, sigh.
  425. 2006-08-04 Sheplyakov Alexei <varg@theor.jinr.ru>
  426. * configure.ac: Disable shared lib on MinGW.
  427. 2006-08-03 Sheplyakov Alexei <varg@theor.jinr.ru>
  428. * m4/param.m4: Add support for MinGW.
  429. * src/base/random/cl_random_from.cc: Fix for last patch.
  430. 2006-07-23 Sheplyakov Alexei <varg@theor.jinr.ru>
  431. * src/base/random/cl_random_from.cc: Add support for MinGW.
  432. 2006-06-13 Richard B. Kreckel <kreckel@ginac.de>
  433. * m4/general.m4 (CL_CANONICAL_HOST_CPU): Force host_cpu=i386 for x86_64
  434. if userland is 32 bit.
  435. * include/cln/config.h.in: Simplify __x86_64__ selection.
  436. * src/base/digitseq/cl_asm_x86_64_.cc: Remove.
  437. 2006-06-09 Richard B. Kreckel <kreckel@ginac.de>
  438. * src/base/digitseq/cl_DS.h (struct DS): Change len type to uintC.
  439. 2006-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  440. * m4/gettimeofday.m4 (CL_GETTIMEOFDAY): Fix M4 quoting.
  441. 2006-05-20 Bruno Haible <bruno@clisp.org>
  442. * src/base/random/cl_random_from.cc: Treat FreeBSD, NetBSD like other
  443. Unix platforms.
  444. 2006-05-07 Richard B. Kreckel <kreckel@ginac.de>
  445. * include/cln/modules.h (CL_JUMP_TO): Fix for Intel Mac.
  446. 2006-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  447. Prepare for autoconf-2.60.
  448. * Makefile.in (datarootdir): New variable.
  449. * src/Makefile.in (datarootdir): New variable.
  450. * doc/Makefile.in (datarootdir): New variable.
  451. 2006-04-25 Bruno Haible <bruno@clisp.org>
  452. Richard B. Kreckel <kreckel@ginac.de>
  453. Make it theoretically possible to use bignums and long-floats with
  454. more than 2^32 significant digits or bits.
  455. * doc/cln.tex (logcount): Change return type to uintC.
  456. (struct cl_byte): Change elements to uintC.
  457. (integer_length, ord2, power2p): Change return type to uintC.
  458. (scale_float): Change argument type to sintC.
  459. (float_digits, float_precision): Change return type to uintC.
  460. * examples/atan_recip.cc: Use uintC instead of uintL where appropriate.
  461. * examples/atanh_recip.cc: Likewise.
  462. * include/cln/GV.h: Likewise.
  463. * include/cln/GV_complex.h: Likewise.
  464. * include/cln/GV_integer.h: Likewise.
  465. * include/cln/GV_modinteger.h: Likewise.
  466. * include/cln/GV_number.h: Likewise.
  467. * include/cln/GV_rational.h: Likewise.
  468. * include/cln/GV_real.h: Likewise.
  469. * include/cln/SV.h: Likewise.
  470. * include/cln/SV_complex.h: Likewise.
  471. * include/cln/SV_integer.h: Likewise.
  472. * include/cln/SV_number.h: Likewise.
  473. * include/cln/SV_rational.h: Likewise.
  474. * include/cln/SV_real.h: Likewise.
  475. * include/cln/SV_ringelt.h: Likewise.
  476. * include/cln/dfloat.h: Likewise.
  477. * include/cln/ffloat.h: Likewise.
  478. * include/cln/float.h: Likewise.
  479. * include/cln/integer.h: Likewise.
  480. * include/cln/lfloat.h: Likewise.
  481. * include/cln/modinteger.h: Likewise.
  482. * include/cln/sfloat.h: Likewise.
  483. * src/base/cl_low.h (integerlengthC): New macro.
  484. * src/base/digitseq/cl_2DS_div.cc: Use uintC instead of uintL where
  485. appropriate.
  486. * src/base/digitseq/cl_2DS_recip.cc: Likewise.
  487. * src/base/digitseq/cl_DS.h: Likewise.
  488. * src/base/digitseq/cl_DS_mul.c: Likewise.
  489. * src/base/digitseq/cl_DS_mul_fftc.h: Likewise.
  490. * src/base/digitseq/cl_DS_mul_fftcs.h: Likewise.
  491. * src/base/digitseq/cl_DS_mul_fftm.h: Likewise.
  492. * src/base/digitseq/cl_DS_mul_fftp.h: Likewise.
  493. * src/base/digitseq/cl_DS_mul_fftp3.h: Likewise.
  494. * src/base/digitseq/cl_DS_mul_fftp3m.h: Likewise.
  495. * src/base/digitseq/cl_DS_mul_fftr.h: Likewise.
  496. * src/base/digitseq/cl_DS_mul_kara.h: Likewise.
  497. * src/base/digitseq/cl_DS_mul_nuss.h: Likewise.
  498. * src/base/digitseq/cl_DS_recip.cc: Likewise.
  499. * src/base/digitseq/cl_DS_recipsqrt.cc: Likewise.
  500. * src/base/digitseq/cl_DS_sqrt.cc: Likewise.
  501. * src/base/digitseq/cl_DS_trandom.cc: Likewise.
  502. * src/complex/input/cl_N_read.cc: Likewise.
  503. * src/complex/transcendental/cl_C_asinh_aux.cc: Likewise.
  504. * src/complex/transcendental/cl_C_expt_C.cc: Likewise.
  505. * src/float/cl_F.h: Likewise.
  506. * src/float/conv/cl_F_from_F_f.cc: Likewise.
  507. * src/float/conv/cl_F_from_I_f.cc: Likewise.
  508. * src/float/conv/cl_F_from_RA_f.cc: Likewise.
  509. * src/float/dfloat/conv/cl_I_to_double.cc: Likewise.
  510. * src/float/dfloat/conv/cl_RA_to_double.cc: Likewise.
  511. * src/float/dfloat/elem/cl_DF_from_I.cc: Likewise.
  512. * src/float/dfloat/elem/cl_DF_from_RA.cc: Likewise.
  513. * src/float/dfloat/elem/cl_DF_scale.cc: Likewise.
  514. * src/float/dfloat/misc/cl_DF_digits.cc: Likewise.
  515. * src/float/dfloat/misc/cl_DF_precision.cc: Likewise.
  516. * src/float/elem/cl_F_scale.cc: Likewise.
  517. * src/float/ffloat/conv/cl_I_to_float.cc: Likewise.
  518. * src/float/ffloat/conv/cl_RA_to_float.cc: Likewise.
  519. * src/float/ffloat/elem/cl_FF_from_I.cc: Likewise.
  520. * src/float/ffloat/elem/cl_FF_from_RA.cc: Likewise.
  521. * src/float/ffloat/elem/cl_FF_scale.cc: Likewise.
  522. * src/float/ffloat/misc/cl_FF_digits.cc: Likewise.
  523. * src/float/ffloat/misc/cl_FF_precision.cc: Likewise.
  524. * src/float/input/cl_F_read.cc: Likewise.
  525. * src/float/lfloat/algebraic/cl_LF_sqrt.cc: Likewise.
  526. * src/float/lfloat/elem/cl_LF_1plus.cc: Likewise.
  527. * src/float/lfloat/elem/cl_LF_I_div.cc: Likewise.
  528. * src/float/lfloat/elem/cl_LF_I_mul.cc: Likewise.
  529. * src/float/lfloat/elem/cl_LF_div.cc: Likewise.
  530. * src/float/lfloat/elem/cl_LF_from_I.cc: Likewise.
  531. * src/float/lfloat/elem/cl_LF_from_RA.cc: Likewise.
  532. * src/float/lfloat/elem/cl_LF_fround.cc: Likewise.
  533. * src/float/lfloat/elem/cl_LF_ftrunc.cc: Likewise.
  534. * src/float/lfloat/elem/cl_LF_futrunc.cc: Likewise.
  535. * src/float/lfloat/elem/cl_LF_scale.cc: Likewise.
  536. * src/float/lfloat/elem/cl_LF_to_I.cc: Likewise.
  537. * src/float/lfloat/misc/cl_LF_digits.cc: Likewise.
  538. * src/float/lfloat/misc/cl_LF_idecode.cc: Likewise.
  539. * src/float/lfloat/misc/cl_LF_leninc.cc: Likewise.
  540. * src/float/lfloat/misc/cl_LF_lenincx.cc: Likewise.
  541. * src/float/lfloat/misc/cl_LF_precision.cc: Likewise.
  542. * src/float/lfloat/misc/cl_LF_shortenrel.cc: Likewise.
  543. * src/float/lfloat/misc/cl_LF_shortenwith.cc: Likewise.
  544. * src/float/misc/cl_F_digits.cc: Likewise.
  545. * src/float/misc/cl_F_epsneg.cc: Likewise.
  546. * src/float/misc/cl_F_epspos.cc: Likewise.
  547. * src/float/misc/cl_F_leastneg.cc: Likewise.
  548. * src/float/misc/cl_F_leastpos.cc: Likewise.
  549. * src/float/misc/cl_F_mostneg.cc: Likewise.
  550. * src/float/misc/cl_F_mostpos.cc: Likewise.
  551. * src/float/misc/cl_F_precision.cc: Likewise.
  552. * src/float/misc/cl_F_rational.cc: Likewise.
  553. * src/float/misc/cl_F_shortenrel.cc: Likewise.
  554. * src/float/output/cl_F_dprint.cc: Likewise.
  555. * src/float/random/cl_F_random.cc: Likewise.
  556. * src/float/sfloat/elem/cl_SF_from_I.cc: Likewise.
  557. * src/float/sfloat/elem/cl_SF_from_RA.cc: Likewise.
  558. * src/float/sfloat/elem/cl_SF_scale.cc: Likewise.
  559. * src/float/sfloat/misc/cl_SF_digits.cc: Likewise.
  560. * src/float/sfloat/misc/cl_SF_precision.cc: Likewise.
  561. * src/float/transcendental/cl_F_atanhx.cc: Likewise.
  562. * src/float/transcendental/cl_F_atanx.cc: Likewise.
  563. * src/float/transcendental/cl_F_catalanconst_f.cc: Likewise.
  564. * src/float/transcendental/cl_F_cos.cc: Likewise.
  565. * src/float/transcendental/cl_F_cosh.cc: Likewise.
  566. * src/float/transcendental/cl_F_coshsinh.cc: Likewise.
  567. * src/float/transcendental/cl_F_cossin.cc: Likewise.
  568. * src/float/transcendental/cl_F_eulerconst_f.cc: Likewise.
  569. * src/float/transcendental/cl_F_exp1_f.cc: Likewise.
  570. * src/float/transcendental/cl_F_expx.cc: Likewise.
  571. * src/float/transcendental/cl_F_ln10_f.cc: Likewise.
  572. * src/float/transcendental/cl_F_ln2_f.cc: Likewise.
  573. * src/float/transcendental/cl_F_lnx.cc: Likewise.
  574. * src/float/transcendental/cl_F_pi_f.cc: Likewise.
  575. * src/float/transcendental/cl_F_sin.cc: Likewise.
  576. * src/float/transcendental/cl_F_sinh.cc: Likewise.
  577. * src/float/transcendental/cl_F_sinhx.cc: Likewise.
  578. * src/float/transcendental/cl_F_sinx.cc: Likewise.
  579. * src/float/transcendental/cl_F_tran.h: Likewise.
  580. * src/float/transcendental/cl_F_zeta_int_f.cc: Likewise.
  581. * src/float/transcendental/cl_LF_atan_recip.cc: Likewise.
  582. * src/float/transcendental/cl_LF_atanh_recip.cc: Likewise.
  583. * src/float/transcendental/cl_LF_catalanconst.cc: Likewise.
  584. * src/float/transcendental/cl_LF_coshsinh_aux.cc: Likewise.
  585. * src/float/transcendental/cl_LF_cossin_aux.cc: Likewise.
  586. * src/float/transcendental/cl_LF_eulerconst.cc: Likewise.
  587. * src/float/transcendental/cl_LF_exp1.cc: Likewise.
  588. * src/float/transcendental/cl_LF_exp_aux.cc: Likewise.
  589. * src/float/transcendental/cl_LF_pi.cc: Likewise.
  590. * src/float/transcendental/cl_LF_ratseries.cc: Likewise.
  591. * src/float/transcendental/cl_LF_ratseries_.cc: Likewise.
  592. * src/float/transcendental/cl_LF_ratseries_a.cc: Likewise.
  593. * src/float/transcendental/cl_LF_ratseries_ab.cc: Likewise.
  594. * src/float/transcendental/cl_LF_ratseries_b.cc: Likewise.
  595. * src/float/transcendental/cl_LF_ratseries_p.cc: Likewise.
  596. * src/float/transcendental/cl_LF_ratseries_pa.cc: Likewise.
  597. * src/float/transcendental/cl_LF_ratseries_pab.cc: Likewise.
  598. * src/float/transcendental/cl_LF_ratseries_pb.cc: Likewise.
  599. * src/float/transcendental/cl_LF_ratseries_pq.cc: Likewise.
  600. * src/float/transcendental/cl_LF_ratseries_pqa.cc: Likewise.
  601. * src/float/transcendental/cl_LF_ratseries_pqab.cc: Likewise.
  602. * src/float/transcendental/cl_LF_ratseries_pqb.cc: Likewise.
  603. * src/float/transcendental/cl_LF_ratseries_q.cc: Likewise.
  604. * src/float/transcendental/cl_LF_ratseries_qa.cc: Likewise.
  605. * src/float/transcendental/cl_LF_ratseries_qab.cc: Likewise.
  606. * src/float/transcendental/cl_LF_ratseries_qb.cc: Likewise.
  607. * src/float/transcendental/cl_LF_ratseries_stream_pq.cc: Likewise.
  608. * src/float/transcendental/cl_LF_ratseries_stream_pqa.cc: Likewise.
  609. * src/float/transcendental/cl_LF_ratseries_stream_pqab.cc: Likewise.
  610. * src/float/transcendental/cl_LF_ratseries_stream_pqb.cc: Likewise.
  611. * src/float/transcendental/cl_LF_ratsumseries_pqcd.cc: Likewise.
  612. * src/float/transcendental/cl_LF_ratsumseries_pqcd_aux.cc: Likewise.
  613. * src/float/transcendental/cl_LF_ratsumseries_pqd.cc: Likewise.
  614. * src/float/transcendental/cl_LF_ratsumseries_pqd_aux.cc: Likewise.
  615. * src/float/transcendental/cl_LF_tran.h: Likewise.
  616. * src/float/transcendental/cl_LF_zeta3.cc: Likewise.
  617. * src/float/transcendental/cl_LF_zeta_int.cc: Likewise.
  618. * src/integer/algebraic/cl_I_rootp_I.cc: Likewise.
  619. * src/integer/algebraic/cl_I_rootp_aux.cc: Likewise.
  620. * src/integer/bitwise/cl_I_ash.cc: Likewise.
  621. * src/integer/bitwise/cl_I_ash_I.cc: Likewise.
  622. * src/integer/bitwise/cl_I_byte.h: Likewise.
  623. * src/integer/bitwise/cl_I_fullbyte.cc: Likewise.
  624. * src/integer/bitwise/cl_I_ilength.cc: Likewise.
  625. * src/integer/bitwise/cl_I_ldb.cc: Likewise.
  626. * src/integer/bitwise/cl_I_ldbtest.cc: Likewise.
  627. * src/integer/bitwise/cl_I_ldbx.cc: Likewise.
  628. * src/integer/bitwise/cl_I_ldbxtest.cc: Likewise.
  629. * src/integer/bitwise/cl_I_logbitp.cc: Likewise.
  630. * src/integer/bitwise/cl_I_logbitp_I.cc: Likewise.
  631. * src/integer/bitwise/cl_I_logcount.cc: Likewise.
  632. * src/integer/bitwise/cl_I_mkf.cc: Likewise.
  633. * src/integer/bitwise/cl_I_mkfx.cc: Likewise.
  634. * src/integer/cl_I.h: Likewise.
  635. * src/integer/conv/cl_I_to_digits.cc: Likewise.
  636. * src/integer/conv/cl_I_digits_need.cc: Likewise.
  637. * src/integer/conv/cl_I_from_digits.cc: Likewise.
  638. * src/integer/gcd/cl_I_gcd.cc: Likewise.
  639. * src/integer/gcd/cl_I_xgcd.cc: Likewise.
  640. * src/integer/misc/cl_I_eqhashcode.cc: Likewise.
  641. * src/integer/misc/cl_I_ord2.cc: Likewise.
  642. * src/integer/misc/cl_I_power2p.cc: Likewise.
  643. * src/integer/output/cl_I_cached_power.h (cached_power_table): allow
  644. for 40 elements.
  645. * src/integer/output/cl_I_decstring.cc: Use uintC instead of uintL
  646. where appropriate.
  647. * src/integer/output/cl_I_print.cc: Likewise.
  648. * src/integer/output/cl_I_print_string.cc: Likewise.
  649. * src/modinteger/cl_MI.cc: Likewise.
  650. * src/modinteger/cl_MI_lshift.cc: Likewise.
  651. * src/modinteger/cl_MI_montgom.h: Likewise.
  652. * src/modinteger/cl_MI_pow2.h: Likewise.
  653. * src/modinteger/cl_MI_pow2m1.h: Likewise.
  654. * src/modinteger/cl_MI_pow2p1.h: Likewise.
  655. * src/modinteger/cl_MI_rshift.cc: Likewise.
  656. * src/modinteger/cl_MI_std.h: Likewise.
  657. * src/numtheory/cl_IF_millerrabin.cc: Likewise.
  658. * src/numtheory/cl_nt_isprobprime.cc: Likewise.
  659. * src/numtheory/cl_nt_sqrtmodp.cc: Likewise.
  660. * src/polynomial/elem/cl_UP_GF2.h: Likewise.
  661. * src/real/conv/cl_F_from_R_f.cc: Likewise.
  662. * src/real/format-output/cl_fmt_floatstring.cc: Likewise.
  663. * src/real/input/cl_R_read.cc: Likewise.
  664. * src/vector/cl_GV_I.cc: Likewise.
  665. * src/vector/cl_GV_I_copy.cc: Likewise.
  666. * src/vector/cl_GV_number.cc: Likewise.
  667. * src/vector/cl_GV_number_copy.cc: Likewise.
  668. * src/vector/cl_SV_copy.cc: Likewise.
  669. * src/vector/cl_SV_number.cc: Likewise.
  670. * src/vector/cl_SV_ringelt.cc: Likewise.
  671. * tests/main.cc: Likewise.
  672. * tests/test_I_ilength.cc: Likewise.
  673. * tests/test_I_ord2.cc: Likewise.
  674. 2006-04-19 Bruno Haible <bruno@clisp.org>
  675. Prepare for autoconf-2.60.
  676. * general.m4 (CL_CC_WORKS): Include <stdlib.h>, for exit() declaration.
  677. * longdouble.m4 (CL_LONGDOUBLE): Likewise.
  678. * longlong.m4 (CL_LONGLONG): Likewise.
  679. * times.m4 (CL_TIMES_CLOCK): Likewise.
  680. Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
  681. 2005-12-04 Bruno Haible <bruno@clisp.org>
  682. * src/integer/conv/cl_I_to_digits.cc (I_to_digits_noshrink): Set
  683. erg->len at the end.
  684. 2005-12-04 Bruno Haible <bruno@clisp.org>
  685. Extend the fixnum range from 32 bits to 61 bits on 64-bit platforms.
  686. * doc/cln.tex (gcd, jacobi): Take 'long' instead of 'int32' arguments.
  687. * include/cln/object.h (cl_value_shift): Define as 3, not 32, in the
  688. 64-bit case.
  689. * include/cln/types.h (intVsize): New macro.
  690. (sintV, uintV): New types.
  691. * include/cln/integer.h (gcd): Take uintV arguments.
  692. * include/cln/numtheory.h (jacobi): Take sintV arguments.
  693. * src/complex/input/cl_N_read.cc (read_complex): Call FN_to_UV instead
  694. of FN_to_UL.
  695. * src/complex/transcendental/cl_C_expt_C.cc: Likewise.
  696. * src/float/dfloat/elem/cl_DF_scale_I.cc: Use uintV instead of uintL
  697. * src/float/dfloat/elem/cl_DF_from_RA.cc: Don't assume values >= 2^53
  698. and < 2^55 are always bignums.
  699. where appropriate.
  700. * src/float/ffloat/conv/cl_RA_to_float.cc: Call FN_to_UV instead of
  701. FN_to_UL.
  702. * src/float/ffloat/elem/cl_FF_from_RA.cc: Likewise.
  703. * src/float/ffloat/elem/cl_FF_scale_I.cc: Call FN_to_V instead of
  704. FN_to_L.
  705. * src/float/lfloat/elem/cl_LF_scale_I.cc: Likewise.
  706. * src/float/output/cl_F_dprint.cc: Likewise.
  707. * src/float/sfloat/elem/cl_SF_from_RA.cc: Call FN_to_UV instead of
  708. FN_to_UL.
  709. * src/float/sfloat/elem/cl_SF_scale_I.cc: Call FN_to_V instead of
  710. FN_to_L.
  711. * src/integer/cl_I.h (FN_to_UV): Renamed from FN_to_UL, change return
  712. type.
  713. (FN_to_V): Renamed from FN_to_L, change return type.
  714. (FN_V_zerop): Renamed from FN_L_zerop.
  715. (FN_V_minusp): Renamed from FN_L_minusp.
  716. (cl_I_constructor_from_L2, cl_I_constructor_from_UL2): Define as an
  717. inline function on 64-bit platforms.
  718. (V_to_I, UV_to_I): New macros.
  719. (pFN_maxlength_digits_at): Return an uintV instead of an uint32.
  720. (set_pFN_maxlength_digits_at): Take an uintV instead of an uint32.
  721. * src/integer/algebraic/cl_I_sqrtp.cc: Call FN_to_UV instead of
  722. FN_to_UL.
  723. * src/integer/bitwise/cl_I_ash_I.cc: Call FN_to_V instead of FN_to_L.
  724. * src/integer/bitwise/cl_I_ilength.cc: Likewise.
  725. * src/integer/bitwise/cl_I_log_aux.cc: Likewise.
  726. * src/integer/bitwise/cl_I_logbitp_I.cc: Likewise.
  727. * src/integer/bitwise/cl_I_logcount.cc: Likewise.
  728. * src/integer/bitwise/cl_I_logtest.cc: Likewise.
  729. * src/integer/conv/cl_I_from_L2.cc: Don't produce code on 64-bit
  730. platforms.
  731. * src/integer/conv/cl_I_from_UL2.cc: Likewise.
  732. * src/integer/conv/cl_I_from_NDS.cc: Update.
  733. * src/integer/conv/cl_I_from_Q.cc: Remove cast to sint32.
  734. * src/integer/conv/cl_I_from_UQ.cc: Remove cast to uint32.
  735. * src/integer/conv/cl_I_to_L.cc: Check again fixnum that needs more
  736. than 32 bits.
  737. * src/integer/conv/cl_I_to_Q.cc: Call FN_to_V instead of FN_to_L.
  738. * src/integer/conv/cl_I_to_UL.cc: Likewise.
  739. * src/integer/conv/cl_I_to_UQ.cc: Likewise.
  740. * src/integer/elem/cl_I_div.cc: Treat fixnums that need more than 32
  741. bits like bignums.
  742. * src/integer/elem/cl_I_minus.cc: Call FN_to_V instead of FN_to_L.
  743. * src/integer/elem/cl_I_mul.cc: Likewise.
  744. * src/integer/elem/cl_I_plus.cc: Likewise.
  745. * src/integer/elem/cl_I_square.cc: Likewise.
  746. * src/integer/elem/cl_I_uminus.cc: Likewise.
  747. * src/integer/gcd/cl_I_gcd.cc: Likewise.
  748. * src/integer/gcd/cl_low_gcd.cc (gcd): Take uintV arguments.
  749. * src/integer/hash/cl_I_hashcode.cc: Call FN_to_V instead of FN_to_L.
  750. * src/integer/input/cl_I_read.cc (read_integer): Call FN_to_UV instead
  751. of FN_to_UL.
  752. * src/integer/misc/cl_I_ord2.cc (ord2): Call ord2_64 on 64-bit
  753. platforms.
  754. * src/integer/misc/cl_I_power2p.cc: Call FN_to_UV instead of FN_to_UL.
  755. * src/integer/misc/combin/cl_I_doublefactorial.cc (doublefakul_table):
  756. Extend table for larger fixnums.
  757. (doublefactorial): Update.
  758. * src/integer/misc/combin/cl_I_factorial.cc (fakul_table): Extend table
  759. for larger fixnums.
  760. (factorial): Update.
  761. * src/modinteger/cl_MI_fix16.h: Call FN_to_UV instead of FN_to_UL.
  762. * src/modinteger/cl_MI_fix29.h: Likewise.
  763. * src/modinteger/cl_MI_fix32.h: Likewise.
  764. * src/modinteger/cl_MI_std.h: Likewise.
  765. * src/numtheory/cl_nt_cornacchia4.cc: Call FN_to_V instead of FN_to_L.
  766. * src/numtheory/cl_nt_jacobi.cc: Likewise.
  767. * src/numtheory/cl_nt_jacobi_low.cc (jacobi_aux): Take uintV arguments
  768. instead of uint32 arguments.
  769. (jacobi): Take sintV argument instead of a sint32 argument.
  770. * src/rational/input/cl_RA_read.cc: Call FN_to_UV instead of FN_to_UL.
  771. * src/real/input/cl_R_read.cc: Likewise.
  772. * src/vector/cl_GV_I.cc: Likewise.
  773. * tests/timefact.cc: Call FN_to_V instead of FN_to_L.
  774. 2005-12-04 Bruno Haible <bruno@clisp.org>
  775. More complete 64-bit division macros.
  776. * src/base/cl_low.h (divu_6432_3232_w): Choose a different macro
  777. expansion on x86_64.
  778. (divu_6432_6432): New macro.
  779. (divu_6464_6464): Choose a different macro expansion for all CPUs
  780. except sparc64 and x86_64.
  781. (divu_12864_6464): Define NEED_VAR_divu_64_rest here.
  782. * src/base/low/cl_low_div.cc (divu_64_rest): Avoid defining it twice.
  783. (divu_6464_6464_): New function.
  784. 2005-12-04 Bruno Haible <bruno@clisp.org>
  785. * src/base/cl_low.h (ord2_64): New macro.
  786. 2005-12-02 Bruno Haible <bruno@clisp.org>
  787. * src/base/cl_low.h (mulu64) [x86_64]: Change asm restriction, since
  788. mulq doesn't accept immediate arguments.
  789. 2005-11-26 Bruno Haible <bruno@clisp.org>
  790. * src/base/cl_low.h (GENERIC_INTEGERLENGTH32): New macro.
  791. (integerlength64): Define using integerlength32 if integerlength32
  792. is not defined generically.
  793. 2005-11-26 Bruno Haible <bruno@clisp.org>
  794. * src/base/cl_low.h (mulu32) [SPARC64]: Remove rd instruction, since
  795. umul returns the complete 64-bit product in a register.
  796. (mulu32_w) [SPARC64]: Prefer umul over mulx instruction.
  797. (divu_6432_3232_w) [SPARC64]: Prefer umul/udiv over mulx/udivx
  798. instructions.
  799. 2005-11-26 Bruno Haible <bruno@clisp.org>
  800. * src/base/cl_low.h (divu_3216_1616): Prepend underscore to local
  801. variables.
  802. 2005-11-26 Bruno Haible <bruno@clisp.org>
  803. * src/base/cl_low.h (ord2_32): Parenthesize macro argument.
  804. 2005-12-17 Richard B. Kreckel <kreckel@ginac.de>
  805. * Created branch cln_1-1 for maintenance patches.
  806. This is the main branch, which will eventually become CLN 1.2.0.
  807. 2005-12-15 Dmitry V. Kustov <kustov@telex221.ru>
  808. * src/base/random/cl_random_from.cc: Add support for OpenBSD.
  809. 2005-11-23 Richard B. Kreckel <kreckel@ginac.de>
  810. * Version 1.1.11 released.
  811. 2005-11-20 Richard B. Kreckel <kreckel@ginac.de>
  812. * src/integer/conv/cl_I_cached_power.h: New file.
  813. * src/integer/conv/cl_I_cached_power.cc: New file.
  814. Contains power_table and cached_power_table previously...
  815. * src/integer/conv/cl_I_to_digits.cc: ...here.
  816. * src/integer/conv/cl_I_from_digits.cc: Use cached powers.
  817. 2005-11-02 Richard B. Kreckel <kreckel@ginac.de>
  818. * src/integer/conv/cl_I_from_digits.cc: Made input of all numbers in
  819. non-power-of-two base much faster.
  820. * tests/test_I_io.cc: New file...
  821. * tests/Makefile.in, tests/test_I.cc: ...used here.
  822. 2005-10-22 Richard B. Kreckel <kreckel@ginac.de>
  823. * Version 1.1.10 released.
  824. 2005-10-22 Richard B. Kreckel <kreckel@ginac.de>
  825. * src/Makefile.in: Accept CPPFLAGS from environment.
  826. * examples/Makefile.in: Likewise.
  827. * benchmarks/Makefile.in: Likewise.
  828. * tests/Makefile.in: Likewise.
  829. 2005-08-30 Richard B. Kreckel <kreckel@ginac.de>
  830. * include/cln/modules.h (CL_OUTPUT_LABEL): Work around redundant
  831. duplication of basic blocks on m68k.
  832. 2005-08-30 Richard B. Kreckel <kreckel@ginac.de>
  833. * include/cln/modules.h (CL_JUMP_TO): Fix mips* brokenness.
  834. 2005-08-27 Bruno Haible <bruno@clisp.org>
  835. Split aclocal.m4 into individual files.
  836. * m4/alloca.m4, m4/as-underscore.m4, m4/c++-constructors.m4:
  837. * m4/fpu_control.m4, m4/general.m4, m4/gettimeofday.m4:
  838. * m4/longdouble.m4, m4/longlong.m4, m4/param.m4, m4/perror.m4:
  839. * m4/proto.m4, m4/rusage.m4, m4/times.m4:
  840. New files, extracted from autoconf/aclocal.m4.
  841. * autoconf/aclocal.m4: m4_include them.
  842. * Makefile.devel (AUTOCONF_MACROS): New variable.
  843. (configure): Depend on it.
  844. (CLISP_M4DIR): Remove variable.
  845. (autoconf/aclocal.m4): Remove rule.
  846. 2005-08-27 Bruno Haible <bruno@clisp.org>
  847. * src/integer/bitwise/cl_I_ash_I.cc (ash): Avoid shifting a 32-bit
  848. zero value by more than 31 bits.
  849. 2005-08-27 Bruno Haible <bruno@clisp.org>
  850. Make the long-float overflow check work on 64-bit platforms.
  851. * src/float/lfloat/cl_LF.h (LF_exp_mid, LF_exp_high): Define as
  852. 'unsigned int', not 'unsigned long'.
  853. 2005-08-27 Bruno Haible <bruno@clisp.org>
  854. * include/cln/modules.h (CL_OUTPUT_LABEL): Work around redundant
  855. duplication of basic blocks by g++ 4.0.
  856. See <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23345>.
  857. 2005-08-27 Bruno Haible <bruno@clisp.org>
  858. Make it possible to cross-compile CLN.
  859. * m4/intparam.m4: New file.
  860. * m4/floatparam.m4: New file.
  861. * autoconf/aclocal.m4: Include both.
  862. (CL_MACHINE): Add an additional CROSS_MACRO parameter.
  863. * configure.ac (CL_MACHINE): When cross-compiling, use
  864. CL_INTPARAM_CROSS and CL_FLOATPARAM_CROSS.
  865. 2005-08-27 Bruno Haible <bruno@clisp.org>
  866. Define HAVE_LONGLONG and HAVE_LONGDOUBLE when cross-compiling.
  867. * autoconf/aclocal.m4 (CL_LONGLONG, CL_LONGDOUBLE): When cross-
  868. compiling, use the test code from gnulib.
  869. 2005-08-27 Bruno Haible <bruno@clisp.org>
  870. * autoconf/aclocal.m4 (CL_RUSAGE): Fix error when cross-compiling.
  871. 2005-08-16 Richard B. Kreckel <kreckel@ginac.de>
  872. The patch of 2005-05-01 made it impossible to test the type of a cl_UP
  873. by comparing with &cl_class_univpoly_ring. We need an alternative:
  874. * include/cln/object.h (cl_class_flags_modint_ring): New #define...
  875. * src/polynomial/elem/cl_UP.cc (cl_class_univpoly_ring): ...used here.
  876. * src/polynomial/elem/cl_UP_GF2.h: Likewise.
  877. * src/polynomial/elem/cl_UP_MI.h: Likewise.
  878. * src/polynomial/elem/cl_UP_gen.h: Likewise.
  879. * src/polynomial/elem/cl_UP_number.h: Likewise.
  880. 2005-08-15 Richard B. Kreckel <kreckel@ginac.de>
  881. * m4/cc.m4 (CL_AS_NOEXECSTACK): New macro...
  882. * configure.ac: ...used here for setting ASMFLAGS...
  883. * src/Makefile.in: ...which are used here.
  884. 2005-08-02 Andreas Jochens <aj@andaco.de>
  885. * include/cln/config.h.in: Add support for PowerPC 64 CPU.
  886. * include/cln/modules.h: Likewise.
  887. * include/cln/object.h: Likewise.
  888. * include/cln/types.h: Likewise.
  889. 2005-07-24 Richard B. Kreckel <kreckel@ginac.de>
  890. Make out of the box build on x86_64 system with complete 32 bit
  891. userland possible
  892. * include/cln/config.h.in: Don't #define __x86_64__ when
  893. __i386__ is defined.
  894. * src/base/digitseq/cl_asm_x86_64_.cc: New file.
  895. * doc/cln.tex: Revert workaround description introduced 2005-05-02.
  896. 2005-06-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  897. * Makefile.in: Don't enter nonexisting directories.
  898. 2005-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  899. Speed up the linking step
  900. * src/Makefile.in: Use -objectlist for linking libcln.la.
  901. 2005-05-15 Richard B. Kreckel <kreckel@ginac.de>
  902. * autoconf/ltmain.sh: Upgrade to libtool-1.5.16.
  903. * m4/libtool.m4: Upgrade to libtool-1.5.16 (without Comeau patch).
  904. 2005-05-02 Richard B. Kreckel <kreckel@ginac.de>
  905. * doc/cln.tex: Document what to do on a x86_64 machine with 32-bit
  906. userland.
  907. 2005-05-01 Richard B. Kreckel <kreckel@ginac.de>
  908. Fix crashes in find_univpoly_ring and related functions
  909. * include/cln/modinteger.h: Remove vptr from cl_heap_modint_ring;
  910. remove declaration of cl_class cl_class_modint_ring.
  911. * include/cln/univpoly.h: Remove vptr from cl_heap_univpoly_ring;
  912. remove declaration of cl_class_univpoly_ring.
  913. * include/cln/object.h: cl_class_flags_modint_ring: New #define...
  914. * src/modinteger/cl_MI.cc: ...used in cl_class_modint_ring.
  915. * src/modinteger/cl_MI_fix16.h: No vptr, but static dtor and type flag.
  916. * src/modinteger/cl_MI_fix29.h: Likewise.
  917. * src/modinteger/cl_MI_fix32.h: Likewise.
  918. * src/modinteger/cl_MI_int32.h: Likewise.
  919. * src/modinteger/cl_MI_montgom.h: Likewise.
  920. * src/modinteger/cl_MI_pow2: Likewise.
  921. * src/modinteger/cl_MI_pow2m1.h: Likewise.
  922. * src/modinteger/cl_MI_pow2p1.h: Likewise.
  923. * src/modinteger/cl_MI_std.h: Likewise.
  924. * src/polynomial/elem/cl_UP.cc (cl_make_univpoly_ring): Compare with
  925. cl_class_flags_modint_ring, not with cl_class_modint_ring.
  926. * src/polynomial/elem/cl_UP_GF2.h (cl_class_num_univpoly_ring): New.
  927. * src/polynomial/elem/cl_UP_MI.h (cl_class_modint_univpoly_ring): New.
  928. * src/polynomial/elem/cl_UP_gen.h (cl_class_gen_univpoly_ring): New.
  929. * src/polynomial/elem/cl_UP_number.h (cl_class_num_univpoly_ring): New.
  930. Reported by Ralf Goertz <R_Goertz@web.de>.
  931. 2005-04-29 Richard B. Kreckel <kreckel@ginac.de>
  932. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  933. * m4/cc.m4: Emit a warning if g++ is used and optimization turned off.
  934. 2005-04-24 Richard B. Kreckel <kreckel@ginac.de>
  935. Make GCC compiler flags default to -O
  936. * m4/cc.m4: New file...
  937. * configure.ac: ...used here.
  938. * autoconf/aclocal.m4: Regenerate.
  939. 2005-04-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  940. * include/cln/string.h: Declare cl_string.
  941. 2005-03-17 Richard B. Kreckel <kreckel@ginac.de>
  942. * autoconf/ltmain.sh: Upgrade to libtool-1.5.14.
  943. * m4/libtool.m4: Upgrade to libtool-1.5.14 with Comeau patch.
  944. * autoconf/aclocal.m4: Regenerate.
  945. 2005-03-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  946. * src/Makefile.in: Use $CXX instead of $CC when linking.
  947. 2005-02-27 Richard B. Kreckel <kreckel@ginac.de>
  948. * examples/perfnum.cc: update to presumed 42st Mersenne prime.
  949. 2004-11-28 Richard B. Kreckel <kreckel@ginac.de>
  950. Disambiguate binary operators of CLN types with float/double
  951. * include/cln/dfloat.h: Add binary operator overloads for arguments of
  952. type double.
  953. * include/cln/ffloat.h: Likewise, for arguments of type float.
  954. * include/cln/float.h: Likewise, both for arguments of types double and
  955. float.
  956. * include/cln/real.h: Likewise.
  957. Reported by Isidro Cachadiña Gutiérrez <icacha@unex.es>.
  958. 2004-11-03 Richard B. Kreckel <kreckel@ginac.de>
  959. * Version 1.1.9 released.
  960. 2004-10-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  961. * src/Makefile.in: Let config.status set LDFLAGS.
  962. 2004-10-27 Peter Breitenlohner <peb@mppmu.mpg.de>
  963. * cln.pc.in: Fix typo.
  964. * Makefile.in (INSTALL_SCRIPT): Added, to be used for scripts like
  965. cln-config. Allows us to do special things to binaries, like
  966. installing them with install -s.
  967. * doc/Makefile.in: add/remove the cln.info from the installed
  968. $(infodir)/dir unless this is debian install-info (code copied from
  969. what GNU automake would produce).
  970. 2004-10-26 Richard B. Kreckel <kreckel@ginac.de>
  971. * src/integer/input/cl_I_read_stream.cc (read_integer): Fix a bug
  972. that caused radix specifiers to not work when reading from a stream.
  973. * src/rational/input/cl_RA_read_stream.cc (read_rational): Likewise.
  974. * src/real/input/cl_R_read_stream.cc (read_real): Likewise.
  975. * src/float/input/cl_F_read_stream.cc (read_float): Likewise.
  976. * src/complex/input/cl_N_read_stream.cc (read_complex): Likewise.
  977. 2004-10-25 Richard B. Kreckel <kreckel@ginac.de>
  978. * src/base/cl_low.h: Add mulu64 assembler macro for ia64.
  979. 2004-10-24 Richard B. Kreckel <kreckel@ginac.de>
  980. * src/base/cl_low.h: Add mul and div macros for x86_64.
  981. 2004-10-23 Richard B. Kreckel <kreckel@ginac.de>
  982. * src/integer/conv/cl_I_from_digits.cc (digits_to_I): Fix thinko in
  983. new code for base power of two.
  984. 2004-10-22 Richard B. Kreckel <kreckel@ginac.de>
  985. * src/integer/conv/cl_I_to_digits (I_to_digits): Fix an elusive stack
  986. overwriting problem. That was the real cause for Debian bug#246319.
  987. * src/integer/output/cl_I_print.cc (print_integer): Revert workaround
  988. for the bug fixed above.
  989. 2004-10-20 Richard B. Kreckel <kreckel@ginac.de>
  990. * include/cln/types.h: Use 64 bit digits on x86_64 CPU.
  991. 2004-10-12 Richard B. Kreckel <kreckel@ginac.de>
  992. * src/integer/conv/cl_I_from_digits.cc (digits_to_I): Speedup when
  993. the base is a power of two.
  994. 2004-10-05 Richard B. Kreckel <kreckel@ginac.de>
  995. * src/integer/conv/cl_I_to_digits.cc (I_to_digits): Fix bug in base 32.
  996. 2004-09-27 Richard B. Kreckel <kreckel@ginac.de>
  997. Support for little-endian Mips, second shot
  998. * src/base/digitseq/cl_asm_mipsel_.cc: New file...
  999. * src/base/digitseq/cl_asm_cc: ...used here.
  1000. * src/base/digitseq/cl_asm.h: Include cl_asm_mips.h for any endianness.
  1001. * include/cln/object.h: Set alignment for mipsel explicitly.
  1002. 2004-09-05 Richard B. Kreckel <kreckel@ginac.de>
  1003. Support for little-endian Mips
  1004. * include/cln/config.h.in: Add __mipsel__.
  1005. * include/cln/modules.h: For Mips, this is endianness-agnostic.
  1006. * src/base/digitseq/cl_asm_.cc, src/base/digitseq/cl_asm.h:
  1007. Mask out assembler for little-endian Mips.
  1008. 2004-08-30 Bruno Haible <bruno@clisp.org>
  1009. * benchmarks/timebench2.sh: Multiply all repeat counts by 100.
  1010. * benchmarks/timebench2.results: Add recent PowerPC G4 results.
  1011. 2004-08-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1012. * examples/e.cc: remove extra semicolon.
  1013. 2004-08-25 Bruno Haible <bruno@clisp.org>
  1014. * autoconf/ltmain.sh: Upgrade to libtool-1.5.6.
  1015. * m4/libtool.m4: New file, from libtool-1.5.6 with modifications:
  1016. 2004-08-22 Bruno Haible <bruno@clisp.org>
  1017. * m4/libtool.m4: Add support for Comeau C++ on Linux.
  1018. Reported by Prof. Roberto Bagnara <bagnara@cs.unipr.it>.
  1019. * autoconf/aclocal.m4: Regenerate.
  1020. 2004-08-19 Bruno Haible <bruno@clisp.org>
  1021. * include/cln/modules.h (CL_GLOBALIZE_JUMP_LABEL, CL_JUMP_TO): When
  1022. converting a label to a string, use ASM_UNDERSCORE_PREFIX. Needed on
  1023. MacOS X.
  1024. Reported by Darren Bane <darren.bane@ul.ie>.
  1025. 2004-07-01 Richard B. Kreckel <kreckel@ginac.de>
  1026. * Version 1.1.8 released.
  1027. 2004-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1028. * src/base/cl_macros.h: alloca(3) has size_t argument type.
  1029. 2004-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1030. * include/cln/floatformat.h: Do define a type here.
  1031. 2004-06-27 Richard B. Kreckel <kreckel@ginac.de>
  1032. * include/cln/modules.h (CL_JUMP_TO): Fix AMD64 brokenness.
  1033. 2004-06-23 Bruno Haible <bruno@clisp.org>
  1034. * configure.ac: Pretend ftime() is not available. Needed by
  1035. CL_TIMES_CLOCK.
  1036. 2004-06-21 Ralf Stephan <ralf@ark.in-berlin.de>
  1037. * doc/cln.tex: Document jacobi, isprobprime and nextprobprime.
  1038. 2004-06-18 Richard B. Kreckel <kreckel@ginac.de>
  1039. * rational/transcendental/cl_RA_logp.cc: fix bug where base is
  1040. reciprocal of an integer.
  1041. Reported by Niklas Knutsson <nq@altern.org>.
  1042. 2004-06-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1043. * src/complex/ring/cl_C_ring.cc, src/integer/ring/cl_I_ring.cc,
  1044. src/rational/ring/cl_RA_ring.cc, src/real/ring/cl_R_ring.cc:
  1045. Make template specializations explicit.
  1046. 2004-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1047. * src/complex/input/cl_N_read.cc, src/float/input/cl_F_read.cc,
  1048. src/integer/input/cl_I_read.cc, src/rational/input/cl_RA_read.cc,
  1049. src/real/input/cl_R_read.cc: Remove unused labels.
  1050. 2004-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1051. * benchmarks/timebench1.cc, benchmarks/timebench2a.LiDIA.cc,
  1052. benchmarks/timebench2a.cc, benchmarks/timebench2ap.cc,
  1053. benchmarks/timebench2b.LiDIA.cc, benchmarks/timebench2b.cc,
  1054. examples/atan_recip.cc, examples/atanh_recip.cc,
  1055. examples/contfrac.cc, examples/e.cc, examples/legendre.cc,
  1056. examples/lucaslehmer.cc, examples/pi.cc, include/cln/GV.h,
  1057. include/cln/SV.h, include/cln/malloc.h, include/cln/modules.h,
  1058. include/cln/object.h, include/cln/string.h, src/base/cl_abort.cc,
  1059. src/base/cl_alloca.h, src/base/cl_malloc.cc,
  1060. src/base/random/cl_random_from.cc,
  1061. src/base/string/cl_spushstring_append.cc,
  1062. src/base/string/cl_spushstring_push.cc,
  1063. src/base/string/cl_st_debug.cc,
  1064. src/base/string/input/cl_st_gettoken.cc,
  1065. src/complex/input/cl_N_read.cc, src/float/input/cl_F_read.cc,
  1066. src/float/output/cl_F_dprint.cc, src/integer/input/cl_I_read.cc,
  1067. src/rational/input/cl_RA_read.cc,
  1068. src/real/format-output/cl_fmt_integer.cc,
  1069. src/real/format-output/cl_fmt_paddedstring.cc,
  1070. src/real/input/cl_R_read.cc, src/timing/cl_t_current.cc,
  1071. src/timing/cl_t_current2.cc, tests/exam.cc, tests/tests.cc,
  1072. tests/timeLFRAmul.cc, tests/timeLFatan-compare.cc,
  1073. tests/timeLFatan.cc, tests/timeLFatanh-compare.cc,
  1074. tests/timeLFatanh.cc, tests/timeLFcos-compare.cc, tests/timeLFcos.cc,
  1075. tests/timeLFcosh.cc, tests/timeLFexp-compare.cc, tests/timeLFexp.cc,
  1076. tests/timeLFln-compare.cc, tests/timeLFln.cc,
  1077. tests/timeLFsin-compare.cc, tests/timeLFsin.cc, tests/timeLFsinh.cc,
  1078. tests/timeLFsqrt.cc, tests/timeMImisc5.cc, tests/timeMIpow2div.cc,
  1079. tests/timeMIpow2recip.cc, tests/timeRALFdiv.cc, tests/timeRAtoLF.cc,
  1080. tests/timeUPMImul.cc, tests/timecatalan.cc, tests/timediv.cc,
  1081. tests/timediv2adic-compare.cc, tests/timediv2adic.cc,
  1082. tests/timeeuler.cc, tests/timeexp1.cc, tests/timefact.cc,
  1083. tests/timegcd.cc, tests/timemul-compare.cc, tests/timemul.cc,
  1084. tests/timepi.cc, tests/timeprint-compare.cc, tests/timeprint.cc,
  1085. tests/timerecip2adic-compare.cc, tests/timerecip2adic.cc,
  1086. tests/timesqrt.cc, tests/timesqrtmodp.cc, tests/timesquare.cc,
  1087. tests/timezeta3.cc: Change all C include headers to ISO style
  1088. within C++ code.
  1089. 2004-06-10 Richard B. Kreckel <kreckel@ginac.de>
  1090. * examples/perfnum.cc: update to presumed 41st Mersenne prime.
  1091. 2004-05-02 Richard B. Kreckel <kreckel@ginac.de>
  1092. * Version 1.1.7 released.
  1093. 2004-05-02 Richard B. Kreckel <kreckel@ginac.de>
  1094. * examples/pi.cc and examples/pi.1: New files.
  1095. * examples/Makefile.in: Build the pi executable.
  1096. 2004-05-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1097. * src/Makefile.in: Fix for parallel build: wait for subdir objects to
  1098. be finished before creating the library.
  1099. 2004-04-30 Richard B. Kreckel <kreckel@ginac.de>
  1100. * src/integer/output/cl_I_print.cc (print_integer): workaround
  1101. GCC compiler bug (cf. Debian bug#246319).
  1102. 2004-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1103. * m4/gmp.m4 (CL_GMP_CHECK): Do not lose LIBS setting with config.cache
  1104. enabled.
  1105. 2004-03-08 Bruno Haible <bruno@clisp.org>
  1106. * src/float/lfloat/elem/cl_LF_mul.cc (operator*): Fix the second
  1107. underflow condition.
  1108. * src/float/lfloat/algebraic/cl_LF_sqrt.cc (sqrt): Fix a bug with large
  1109. uexp whereby SQRT of MOST-POSITIVE-LONG-FLOAT was less than 1.
  1110. 2004-03-04 Richard B. Kreckel <kreckel@ginac.de>
  1111. * Makefile.in (install): Add ${srcdir} for cln.m4.
  1112. * m4/gmp.m4: quote macro names.
  1113. Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
  1114. 2004-01-01 Richard B. Kreckel <kreckel@ginac.de>
  1115. * Version 1.1.6 released.
  1116. 2004-01-01 Richard B. Kreckel <kreckel@ginac.de>
  1117. * include/cln/univpoly.h, include/cln/univpoly_complex.h,
  1118. include/cln//univpoly_integer.h, include/cln/univpoly_modint.h,
  1119. include/cln/univpoly_rational.h, include/cln/univpoly_real.h,
  1120. src/polynomial/elem/cl_UP_GF2.h, src/polynomial/elem/cl_UP_MI.h,
  1121. src/polynomial/elem/cl_UP_gen.h, src/polynomial/elem/cl_UP_no_ring.cc,
  1122. src/polynomial/elem/cl_UP_number.h (ldegree): New function.
  1123. * doc/cln.tex: Document `ldegree'.
  1124. 2003-12-29 Richard B. Kreckel <kreckel@ginac.de>
  1125. Rework of autoconfiscation infrastructure
  1126. * autoconf/config.{guess,sub}: Update to GNU version 2003-10-07.
  1127. * autoconf/ltmain.sh: Update to GNU version 1.4.3.
  1128. * autoconf/autoconf: Remove (from now on we assume autoconf is
  1129. installed properly on the sytem).
  1130. * autoconf/autoconf.m4: Likewise.
  1131. * autoconf/autoconf.m4f: Likewise.
  1132. * autoconf/acgeneral.m4: Likewise.
  1133. * autoconf/acspecific.m4: Likewise.
  1134. * autoconf/aclocal.m4: Regenerate.
  1135. * autoconf/acinclude.m4: Remove (while moving the macros...)
  1136. * m4/gmp.m4: New file (...to here).
  1137. * Makefile.devel: Update to new scheme.
  1138. * configure.ac: Likewise.
  1139. * include/cln/GV_integer.h: Assume template specializations work.
  1140. * include/cln/GV_modinteger.h: Likewise.
  1141. * include/cln/config.h.in: Likewise, and drop HAVE_BOOL.
  1142. * src/base/cl_base_config.h.in: Drop support for obsolete ftime(3).
  1143. * src/base/random/cl_random_from.cc: Likewise.
  1144. * src/timing/cl_base_config.h.in: Likewise.
  1145. * src/timing/cl_t_current.cc: Likewise.
  1146. 2003-12-27 Richard B. Kreckel <kreckel@ginac.de>
  1147. * src/polynomial/cl_UP_gen.h (gen_minus): Fix case where first
  1148. argument is zero.
  1149. * src/polynomial/cl_UP_MI.h (modint_minus): Likewise.
  1150. * src/polynomial/cl_UP_number.h (num_minus): Likewise.
  1151. Reported by Munagala Ramanath <amberarrow@yahoo.com>.
  1152. 2003-12-02 Richard B. Kreckel <kreckel@ginac.de>
  1153. * examples/perfnum.cc: update to presumed 40th Mersenne prime.
  1154. 2003-11-20 Christian Bauer <cbauer@ginac.de>
  1155. Added pkg-config support
  1156. * cln.pc.in: New file.
  1157. * Makefile.in: Take care of cln.pc.
  1158. * configure.ac: Likewise.
  1159. 2003-08-06 Richard B. Kreckel <kreckel@ginac.de>
  1160. * src/numtheory/cl_nt_sqrtmodp.cc: #undef _R.
  1161. Reported by Andrew Rechnitzer <A.Rechnitzer@ms.unimelb.edu.au>.
  1162. 2003-08-01 Richard Kreckel <kreckel@ginac.de>
  1163. More dependent base resolution issues
  1164. * src/base/hash/cl_hash.h (cl_heap_hashtable<T>::iterator()):
  1165. portable syntactic simplification.
  1166. * src/base/hash/cl_hashset.h: Preceed inherited members with this->.
  1167. * src/base/hash/cl_hash1.h: Likewise for member functions.
  1168. * src/base/hash/cl_hash2.h: Likewise.
  1169. * src/base/hash/cl_hashuniq.h: Likewise.
  1170. * src/base/hash/cl_hashuniqweak.h: Likewise.
  1171. * src/base/hash/cl_hash.h: Revert explicit static member function
  1172. lookup since that was GCC's fault.
  1173. * src/base/hash/cl_hash2weak.h: Likewise.
  1174. * src/base/hash/cl_hashuniqweak.h: Likewise.
  1175. 2003-06-29 Richard Kreckel <kreckel@ginac.de>
  1176. Dependent base resolution needed for GCC-3.4
  1177. * include/cln/GV.h: Preceed inherited members with this->.
  1178. * include/cln/SV.h: Likewise.
  1179. * include/cln/object.h: Likewise.
  1180. * src/base/hash/cl_hash1.h: Likewise.
  1181. * src/base/hash/cl_hash1weak.h: Likewise.
  1182. * src/base/hash/cl_hash2.h: Likewise.
  1183. * src/base/hash/cl_hashuniq.h: Likewise.
  1184. * src/base/hash/cl_hash.h: Make lookup of static member function
  1185. explicit.
  1186. * src/base/hash/cl_hash2weak.h: Likewise.
  1187. * src/base/hash/cl_hashuniqweak.h: Likewise.
  1188. * src/modinteger/cl_MI.cc: Make shell-comment a C-comment. Geez.
  1189. 2003-02-24 Bruno Haible <bruno@clisp.org>
  1190. * src/base/random/cl_random_from.cc (random_state::random_state): Add
  1191. support for MacOS X.
  1192. * src/modinteger/cl_MI.cc: #undef _R.
  1193. Reported by Erann Gat <gat@jpl.nasa.gov>.
  1194. 2002-08-03 Joerg Arndt <jj@suse.de>
  1195. * include/cln/config.h.in: Add support for x86_64 CPU.
  1196. * include/cln/modules.h: Likewise.
  1197. * include/cln/types.h: Likewise.
  1198. * include/cln/object.h: Likewise.
  1199. 2002-06-08 Richard Kreckel <kreckel@ginac.de>
  1200. * src/base/digitseq/cl_asm.h: ensure intCsize==16 when including
  1201. m68k Assembler routines.
  1202. * src/base/digitseq/cl_asm_.cc: Likewise.
  1203. 2002-05-28 Richard Kreckel <kreckel@ginac.de>
  1204. * Version 1.1.5 released.
  1205. 2002-05-27 Richard Kreckel <kreckel@ginac.de>
  1206. * include/cln/modules.h (CL_CONCATENATE): New macro.
  1207. 2002-05-10 Richard Kreckel <kreckel@ginac.de>
  1208. * doc/cln.tex (Building the library): Update recommendations for
  1209. compiling on Tru64 using g++ 3.0 and 3.1.
  1210. * README: Update homepage.
  1211. 2002-05-05 Bruno Haible <bruno@clisp.org>
  1212. * doc/cln.tex (Building the library): Give some recommendations for
  1213. g++ 3.0 and 3.1.
  1214. Force link-time references despite optimizations done by g++ 2.95
  1215. and newer.
  1216. * include/cln/modules.h (CL_FORCE_LINK): New macro.
  1217. * Use CL_FORCE_LINK.
  1218. * include/cln/GV_integer.h (cl_GV_I_debug_dummy): Likewise.
  1219. * include/cln/GV_number.h (cl_GV_number_debug_dummy): Likewise.
  1220. * include/cln/SV_number.h (cl_SV_number_debug_dummy): Likewise.
  1221. * include/cln/SV_ringelt.h (cl_SV_ringelt_debug_dummy): Likewise.
  1222. * include/cln/dfloat.h (cl_DF_debug_dummy): Likewise.
  1223. * include/cln/ffloat.h (cl_FF_classes_dummy, cl_FF_debug_dummy):
  1224. Likewise.
  1225. * include/cln/integer.h (cl_I_classes_dummy, cl_I_debug_dummy):
  1226. Likewise.
  1227. * include/cln/lfloat.h (cl_LF_debug_dummy): Likewise.
  1228. * include/cln/modinteger.h (cl_MI_debug_dummy): Likewise.
  1229. * include/cln/rational.h (cl_RA_debug_dummy): Likewise.
  1230. * include/cln/real.h (cl_R_debug_dummy): Likewise.
  1231. * include/cln/ring.h (cl_ring_debug_dummy): Likewise.
  1232. * include/cln/sfloat.h (cl_SF_classes_dummy, cl_SF_classes_dummy):
  1233. Likewise.
  1234. * include/cln/string.h (cl_string_debug_dummy): Likewise.
  1235. * include/cln/univpoly.h (cl_UP_debug_dummy): Likewise.
  1236. * src/float/base/cl_ieee.h (cl_ieee_dummy_NNN): Likewise.
  1237. Avoid g++ 3.1 warnings.
  1238. * src/base/cl_offsetof.h (offsetof): Redefine each time.
  1239. * src/base/digitseq/cl_DS.h: Include "cl_offsetof.h" after <gmp.h>.
  1240. Avoid g++ 3.1 warnings.
  1241. * src/base/hash/cl_hash.h (struct cl_heap_hashtable): Use typename
  1242. where needed.
  1243. * src/base/hash/cl_hash1.h (struct cl_heap_hashtable_1): typedef
  1244. htxentry as a shortcut.
  1245. * src/base/hash/cl_hash2.h (struct cl_heap_hashtable_2): Likewise.
  1246. * src/base/hash/cl_hashset.h (struct cl_heap_hashtable_set): Likewise.
  1247. * src/base/hash/cl_hashuniq.h (struct cl_heap_hashtable_uniq):
  1248. Likewise.
  1249. 2002-03-15 Bruno Haible <bruno@clisp.org>
  1250. * cln.tex: Document problem with GNU make 3.77.
  1251. Reported by Michael Somos <somos@grail.cba.csuohio.edu>.
  1252. 2002-02-16 Richard Kreckel <kreckel@ginac.de>
  1253. * cln.m4: quote macro name.
  1254. Pointed out by Roberto Bagnara.
  1255. 2002-01-20 Richard Kreckel <kreckel@ginac.de>
  1256. * autoconf/config.{guess,sub}: Update to GNU version 2002-01-02.
  1257. (the old one was broken on Linux/Mips.)
  1258. 2002-01-04 Richard Kreckel <kreckel@ginac.de>
  1259. * autoconf/autoconf.m4f: get brutal in order to adhere to FHS.
  1260. * Version 1.1.4 released.
  1261. 2002-01-03 Richard Kreckel <kreckel@ginac.de>
  1262. * autoconf/acinclude.m4: revamp MPN-matcher.
  1263. * autoconf/aclocal.m4: upgrade to autoconf-2.52 infrastructure,
  1264. sync with CLisp from CVS.
  1265. * autoconf/autoconf: Likewise.
  1266. * autoconf/autoconf.m4f: Likewise (new file).
  1267. * configure.ac: Likewise (new file, replaces configure.in).
  1268. * configure.in: Likewise (deleted, replaced by configure.ac).
  1269. * autoconf/config.{guess,sub}: Update to GNU version 2001-12-13.
  1270. * src/Makefile.in: made VPATH safe for autoconf-2.52.
  1271. * include/cln/config.h.in: Add __s390__.
  1272. 2001-12-31 Richard Kreckel <kreckel@ginac.de>
  1273. * src/base/digitseq/cl_DS.h: <gmp.h> is not included extern "C"
  1274. any more since GMP4 has some C++ support in it.
  1275. 2001-12-14 Richard Kreckel <kreckel@ginac.de>
  1276. * include/cln/modules.h, include/cln/object.h: add support for
  1277. s390.
  1278. * src/numtheory/cl_nt_sqrtmodp.cc: workaround for GCC2.x compiler-bug
  1279. on s390, provided by Gerhard Tonn.
  1280. 2001-11-05 Richard Kreckel <kreckel@ginac.de>
  1281. * autoconf/ltmain.sh: Upgrade to libtool-1.4.2.
  1282. * autoconf/config.{guess,sub}: Update to GNU version 2001-09-07.
  1283. * Version 1.1.3 released.
  1284. 2001-11-04 Bruno Haible <haible@clisp.cons.org>
  1285. Interoperability with gcc-3.0 -fuse-cxa-atexit.
  1286. * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add test whether
  1287. global destructors actually exist.
  1288. * include/cln/modules.h (CL_PROVIDE, CL_PROVIDE_END, CL_PROVIDE_END):
  1289. Don't hack the global destructors if there is no global destructors
  1290. function.
  1291. 2001-11-03 Richard Kreckel <kreckel@ginac.de>
  1292. * src/float/transcendental/cl_F_sinx.cc (sinx_naive): For small
  1293. values of x, return square(x) instead of x.
  1294. * src/float/transcendental/cl_F_sinhx.cc (sinhx_naive): Likewise.
  1295. 2001-07-25 Richard Kreckel <kreckel@ginac.de>
  1296. * Version 1.1.2 released.
  1297. 2001-07-24 Richard Kreckel <kreckel@ginac.de>
  1298. * src/base/hash/cl_hash.h: declare _cl_hashtable_iterator<htentry> a
  1299. friend of cl_heap_hashtable<htentry>.
  1300. 2001-07-22 Richard Kreckel <kreckel@ginac.de>
  1301. * src/float/base/cl_ieee.cc: try to do magic to the FPU only if
  1302. _FPU_IEEE is really defined.
  1303. * include/cln/modules.h: change assembler labels from `label' to
  1304. `label:' on hppa, needed by Linux (see comment).
  1305. * autoconf/acinclude.m4: new file (for storing CLN-specific macros).
  1306. * Makefile.devel: adjusted.
  1307. * autoconf/aclocal.m4: regenerate.
  1308. * src/base/low/cl_low_mul.cc: moved POD variables that are declared
  1309. extern "C" elsewhere out of the namespace.
  1310. * src/base/low/cl_low_div.cc: Likewise.
  1311. 2001-06-08 Bruno Haible <haible@clisp.cons.org>
  1312. * autoconf/config.{guess,sub}: Update to GNU version 2001-05-11.
  1313. * autoconf/aclocal.m4: Upgrade to libtool-1.4.
  1314. * autoconf/ltmain.sh: Likewise.
  1315. * autoconf/ltconfig: Remove file.
  1316. * autoconf/install-sh: New file.
  1317. * configure.in: Add AC_CONFIG_AUX_DIR call.
  1318. 2001-06-05 Richard Kreckel <kreckel@ginac.de>
  1319. * tests/tests.cc: resolve namespace ambiguity about strcmp().
  1320. 2001-05-31 Richard Kreckel <kreckel@ginac.de>
  1321. * Version 1.1.1 released.
  1322. 2001-05-28 Richard Kreckel <kreckel@ginac.de>
  1323. * cln/cln.tex: documented problems with shared library on Sparc
  1324. using gcc older than 2.95.3.
  1325. * configure.in: Fixed typos in versioning docu.
  1326. 2001-05-25 Bruno Haible <haible@clisp.cons.org>
  1327. * src/base/digitseq/cl_asm_arm_.cc: Use #0x instead of #& to designate
  1328. hexadecimal constants.
  1329. 2001-05-25 Richard Kreckel <kreckel@ginac.de>
  1330. * autoconf/floatparam.c (double_wordorder_bigendian_p): new symbol.
  1331. * src/float/dfloat/cl_DF.h: Check for double_wordorder_bigendian_p.
  1332. * Removed LiDIA interface since that is now outdated (namespace cln)
  1333. and maintained elsewhere.
  1334. * Adjusted dates and final touches for 1.1.1.
  1335. 2001-05-19 Richard Kreckel <kreckel@ginac.de>
  1336. * INSTALL: Update toolchain info: no egcs, some more platforms.
  1337. * doc/cln.tex: Likewise.
  1338. 2001-05-18 Richard Kreckel <kreckel@ginac.de>
  1339. * src/base/cl_low.h: prepended variables declared inside macros
  1340. with underscore. Fixes equal_hashcode() on various platforms.
  1341. 2001-04-25 Richard Kreckel <kreckel@ginac.de>
  1342. * src/base/cl_low.h: Added several checks if NO_ASM is defined, so
  1343. this definition becomes actually useful. This is needed for
  1344. compilation on Arm until somebody fixes the assembler files for Arm.
  1345. * src/base/digitseq/cl_asm.h: Likewise.
  1346. * src/base/digitseq/cl_asm_.cc: Likewise.
  1347. * */Makefile.in: Added `override' in front of `CPPFLAGS +=' so
  1348. one can say `make CPPFLAGS=-DFOOBAR'.
  1349. 2001-03-26 Arvid Norberg <c99ang@cs.umu.se>
  1350. * src/base/random/cl_random_from.cc: ported to beos.
  1351. 2001-03-05 Richard Kreckel <kreckel@ginac.de>
  1352. * include/cln/modules.h (CL_JUMP_TO): Fix IA64 brokenness.
  1353. 2001-01-28 Richard Kreckel <kreckel@ginac.de>
  1354. * include/cln/number.h (cl_as_N): Remove bogus comment.
  1355. 2001-01-22 Richard Kreckel <kreckel@ginac.de>
  1356. * configure.in: Make build in separate builddir possible (again).
  1357. 2001-01-22 Richard Kreckel <kreckel@ginac.de>
  1358. * include/cln/*.h: Change signatures of all classes' methods
  1359. cln::cl_foo::operator new(size_t, cl_foo*) to
  1360. cln::cl_foo::operator new(size_t, void*) so one can declare
  1361. std::vector<cln::cl_foo>, std::list<cln::cl_foo> etc. for
  1362. certain STL implementations (like libstdc++-v3).
  1363. 2000-12-14 Richard Kreckel <kreckel@ginac.de>
  1364. * Version 1.1 released.
  1365. 2000-12-13 Richard Kreckel <kreckel@ginac.de>
  1366. * */*: cl_istream -> std::istream, cl_ostream -> std::ostream.
  1367. 2000-12-05 Richard Kreckel <kreckel@ginac.de>
  1368. * Makefile.in, src/Makefile.in, doc/Makefile.in: Use mkdir -p.
  1369. * include/cln/version.h.in, src/base/verion.cc: New files.
  1370. * configure.in: Generate include/cln/version.h.
  1371. * cln.m4: Rewrote it. Check result of cln-config without compiling.
  1372. Do cross-check library version and header version information.
  1373. 2000-12-02 Christian Bauer <cbauer@ginac.de>
  1374. * Makefile.in, src/Makefile.in, doc/Makefile.in: Added $DESTDIR.
  1375. * cln.m4, cln.spec.in: some minor fixes with respect to RPM package
  1376. building.
  1377. 2000-11-24 Richard Kreckel <kreckel@ginac.de>
  1378. * */*: Removed problematic stdin, stdout and stderr definitions.
  1379. Use std::cin, std::cout, std::cerr instead (obsoletes 2000-10-29).
  1380. 2000-11-20 Bruno Haible
  1381. * cln-config.1: change title.
  1382. 2000-11-18 Richard Kreckel <kreckel@ginac.de>
  1383. * cln.m4: New file.
  1384. * doc/cln.tex: Document package tools cln-config and cln.m4.
  1385. * Makefile.in: Care about cln.m4.
  1386. 2000-11-17 Richard Kreckel <kreckel@ginac.de>
  1387. * cln-config.1: added manpage, as required by a couple of distros.
  1388. * Makefile.in, doc/Makefile.in: target install depends on installdirs.
  1389. 2000-11-16 Richard Kreckel <kreckel@ginac.de>
  1390. * autoconf/aclocal.m4 (CL_GMP_SET_UINTD): New macro...
  1391. * configure.in: ...used here.
  1392. * include/cln/config.h.in: Put in macros defined by CL_GMP_SET_UINTD...
  1393. * include/cln/types.h: ...used here.
  1394. * autoconf/acgeneral.m4, autoconf/aclocal.m4: Adhere to FHS.
  1395. 2000-11-13 Richard Kreckel <kreckel@ginac.de>
  1396. * src/base/digitseq/cl_asm.h: Test if (intDsize==32) for MIPS and HPPA,
  1397. in order to guard against an accidented configuration.
  1398. * src/integer/conv/cl_I_to_digits.cc (table): member b_hoch_k of
  1399. struct power_table_entry initialized as ULL instead of as UL, if
  1400. intDsize==64 (caused misprinting on MIPS w/ GMP).
  1401. * src/base/cl_macros.h (minus_bitm, bitc): implemented ULL, if
  1402. HAVE_FAST_LONGLONG.
  1403. * src/integer/bitwise/cl_I_mkfx.cc (mkf_extract): Likewise.
  1404. * src/integer/conv/cl_I_from_L.cc (cl_I_from_L): Added trival
  1405. generation of Bignum for intDsize==64 and a notreached-check at end.
  1406. * autoconf/config.guess, autoconf/config.sub: updated from FSF.
  1407. * include/cln/config.h.in: Prepared support for IA64.
  1408. * include/cln/types.h: Likewise.
  1409. * include/cln/object.h: Likewise.
  1410. * include/cln/modules.h: Likewise.
  1411. * src/base/cl_macros.h (nonreturning_function): Likewise (NUE's
  1412. compiler claims __GNUC_MINOR__==9).
  1413. 2000-11-03 Richard Kreckel <kreckel@ginac.de>
  1414. * src/base/cl_macros.h (bit, minus_bit): changed criterion for ULL from
  1415. HAVE_DD to HAVE_FAST_LONGLONG.
  1416. * src/base/cl_macros.h (bitm): implemented ULL, if HAVE_FAST_LONGLONG.
  1417. * src/base/cl_low.h: actually no need to include "cln/types.h" here.
  1418. * src/base/cl_low.h (logcount_64): always ULL, independent of HAVE_DD.
  1419. * src/base/random/cl_UL_random.cc (random32): a is always ULL.
  1420. 2000-11-01 Richard Kreckel <kreckel@ginac.de>
  1421. * include/cln/object.h (cl_combine): define additional signatures, if
  1422. HAVE_LONGLONG is defined, in order to keep the compiler happy.
  1423. * src/base/cl_macros.h: include "cln/types.h", since we need HAVE_DD...
  1424. * src/base/cl_macros.h (bit): ...for this macro...
  1425. * src/base/cl_macros.h (minus_bit): ...and this one.
  1426. * src/base/cl_low.h: include "cln/types.h", since we need HAVE_DD...
  1427. * src/base/cl_low.h (logcount_64): ...for this macro.
  1428. * src/base/random/cl_UL_random.cc (random32): if HAVE_DD a is an ULL.
  1429. * src/integer/gcd/cl_I_gcd_aux2.cc (floorDD): fixed algorithmic bug.
  1430. that turned up when intDsize==32 and cl_word_size==64.
  1431. * src/float/dfloat/elem/cl_DF_div.cc (operator/): fixed a missing cast
  1432. to uint64 that turned up when intDsize==32 and cl_word_size==64.
  1433. 2000-10-29 Richard Kreckel <kreckel@ginac.de>
  1434. * src/real/input/cl_R_read.cc, src/complex/input/cl_N_read.cc:
  1435. #undef stderr, if it's defined so cln::stderr isn't confused.
  1436. * src/base/input/cl_read_globals.cc: stdin should not be extern.
  1437. 2000-09-05 Richard Kreckel <kreckel@ginac.de>
  1438. * include/cln/number.h (As): Fix it in namespace by suffixing `_As'
  1439. to the appropiate method instead of prefixing `as_'.
  1440. * src/complex/misc/cl_N_as.cc (cl_N_As): Likewise.
  1441. * src/real/misc/cl_R_as.cc (cl_R_As): Likewise.
  1442. * src/rational/misc/cl_RA_as.cc (cl_RA_As): Likewise.
  1443. * src/integer/misc/cl_I_as.cc (cl_I_As): Likewise.
  1444. * src/float/misc/cl_F_as.cc (cl_F_As): Likewise.
  1445. * src/float/sfloat/misc/cl_SF_as.cc (cl_SF_As): Likewise.
  1446. * src/float/lfloat/misc/cl_LF_as.cc (cl_LF_As): Likewise.
  1447. * src/float/ffloat/misc/cl_FF_as.cc (cl_FF_As): Likewise.
  1448. * src/float/dfloat/misc/cl_DF_as.cc (cl_DF_As): Likewise.
  1449. 2000-09-05 Richard Kreckel <kreckel@ginac.de>
  1450. * src/complex/transcendental/cl_C_expt_C.cc (expt): fix logic for
  1451. the 0^y cases.
  1452. 2000-08-30 Richard Kreckel <kreckel@ginac.de>
  1453. * include/cln/number.h, cl_number::_as_cl_private_thing(): removed.
  1454. Rearranged for a clearer distinction between macros and remaining
  1455. identifiers, so Cint can parse it smoothly.
  1456. 2000-08-29 Richard Kreckel <kreckel@ginac.de>
  1457. * include/cln/number.h, the(const cl_number& x): New template
  1458. function.
  1459. 2000-08-29 Richard Kreckel <kreckel@ginac.de>
  1460. * */*: Pushed CLN into a namespace `cln'. While doing so, the
  1461. following identifiers got their poor-man's namespace (i.e. the
  1462. prefix `cl_') stripped off:
  1463. cl_catalanconst() -> catalanconst()
  1464. cl_compare() -> compare()
  1465. cl_cos_sin() -> cos_sin()
  1466. cl_cos_sin_t -> cos_sin_t
  1467. cl_cosh_sinh() -> cosh_sinh()
  1468. cl_cosh_sinh_t -> cosh_sinh_t
  1469. cl_decoded_dfloat -> decoded_dfloat
  1470. cl_decoded_ffloat -> decoded_ffloat
  1471. cl_decoded_float -> decoded_float
  1472. cl_decoded_lfloat -> decoded_lfloat
  1473. cl_decoded_sfloat -> decoded_sfloat
  1474. cl_default_float_format -> default_float_format
  1475. cl_default_print_flags -> default_print_flags
  1476. cl_default_random_state -> default_random_state
  1477. cl_double_approx() -> double_approx()
  1478. cl_equal() -> equal()
  1479. cl_equal_hashcode() -> equal_hashcode()
  1480. cl_eulerconst() -> eulerconst()
  1481. cl_find_modint_ring() -> find_modint_ring()
  1482. cl_find_univpoly_ring() -> find_univ_poly_ring()
  1483. cl_float_approx() -> float_approx
  1484. cl_float_format() -> float_format()
  1485. cl_float_format_t -> float_format_t
  1486. cl_free_hook() -> free_hook()
  1487. cl_hermite() -> hermite()
  1488. cl_laguerre() -> laguerre()
  1489. cl_legendre() -> legandre()
  1490. cl_malloc_hook() -> malloc_hook()
  1491. cl_pi() -> pi()
  1492. cl_tschebychev() -> tschebychev()
  1493. cl_zeta() -> zeta()
  1494. NB: For functions these changes includes all signatures.
  1495. * include/*: moved to include/cln/*, stripped `cl_' off filenames.
  1496. * cln-config.in: new file.
  1497. 2000-08-26 Bruno Haible <haible@clisp.cons.org>
  1498. * autoconf/acgeneral.m4 (AC_OUTPUT): Use braces in exec_prefix default
  1499. value, not parens.
  1500. 2000-08-18 Bruno Haible <haible@clisp.cons.org>
  1501. * include/cl_univpoly_modint.h: Fix typo.
  1502. 2000-07-13 Bruno Haible <haible@clisp.cons.org>
  1503. * src/float/input/cl_F_read_stream.cc (number_char_p): Accept '_',
  1504. used as precision marker for floats.
  1505. Reported by Keith Briggs (in 1998) and Thomas Roessler.
  1506. * src/integer/input/cl_I_read_stream.cc (number_char_p): Likewise.
  1507. * src/rational/input/cl_RA_read_stream.cc (number_char_p): Likewise.
  1508. * src/real/input/cl_R_read_stream.cc (number_char_p): Likewise.
  1509. * src/complex/input/cl_N_read_stream.cc (number_char_p): Likewise.
  1510. 2000-06-22 Bruno Haible <haible@clisp.cons.org>
  1511. * include/cl_object.h: Rename cl_word_size to cl_pointer_size.
  1512. * include/cl_types.h (HAVE_FAST_LONGLONG): Also define on Irix6
  1513. with N32 ABI.
  1514. (cl_word_size): New macro.
  1515. * src/float/sfloat/cl_SF.h: Use cl_pointer_size instead of
  1516. cl_word_size.
  1517. 2000-05-31 Bruno Haible <haible@clisp.cons.org>
  1518. * tests/exam_I_floor.cc (integer_floor_tests): Add one more entry.
  1519. From a sample that fails with gcc-2.95.2 on Sparc.
  1520. * tests/exam_I_gcd.cc (integer_gcd_tests): Likewise.
  1521. 2000-05-30 Richard Kreckel <kreckel@ginac.de>
  1522. * configure.in, autoconf/aclocal.m4 (CL_GMP_H_VERSION, CL_GMP_CHECK):
  1523. New macros.
  1524. * configure.in, include/cl_config.h.in (CL_VERSION, CL_VERSION_MINOR,
  1525. CL_VERSION_PATCHLEVEL): New definitions.
  1526. * autoconf/config.guess, autoconf/config.sub, autoconf/ltconfig,
  1527. autoconf/ltmain.sh: updated from FSF (libtool 1.3.5, etc).
  1528. * src/Makefile.in, configure.in: release-variables renamed from
  1529. CLN_* to CL_*.
  1530. * configure.in: default to build both shared and static library
  1531. (i.e. default to the most common behaviour).
  1532. 2000-05-29 Richard Kreckel <kreckel@ginac.de>
  1533. * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Added missing changequote
  1534. environment around the patch of 2000-05-23.
  1535. 2000-05-29 Bruno Haible <haible@clisp.cons.org>
  1536. * autoconf/aclocal.m4 (CL_PROG_INSTALL): Fix typo.
  1537. Reported by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>.
  1538. 2000-05-27 Richard Kreckel <kreckel@ginac.de>
  1539. * src/float/lfloat/algebraic/cl_LF_sqrt.cc,
  1540. src/base/digitseq/cl_DS_sqrt.cc: Readjusted break-even points.
  1541. 2000-05-24 Richard Kreckel <kreckel@ginac.de>
  1542. * autoconf/config.*: Updated to new version from FSF
  1543. (the new libtool wants this).
  1544. * src/Makefile.in: added $(LDFLAGS) to link step.
  1545. * src/base/digitseq/cl_2DS_div.cc, cl_2DS_recip.cc: Readjusted
  1546. break-even points.
  1547. 2000-05-23 Bruno Haible <haible@clisp.cons.org>
  1548. * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Determine host_cpu,
  1549. host_vendor, host_os correctly if $host has more than two hyphens.
  1550. 2000-05-19 Richard Kreckel <kreckel@ginac.de>
  1551. * src/base/digitseq/cl_DS_mul.cc: Rearranged break-even points to
  1552. better match present-day CPUs whenever GMP3 is used.
  1553. * src/base/digitseq/cl_DS_div.cc: dto.
  1554. * src/TUNING: Added comment about order of tuning.
  1555. * configure, configure.in: Safer GMP3-detection.
  1556. * INSTALL.generic: Clarified behaviour of --with-gmp.
  1557. * autoconf/config.guess: updated from Clisp-2000-03-06 sources.
  1558. 2000-05-04 Richard Kreckel <kreckel@ginac.de>
  1559. * gmp/: removed completely. From now on we are going to link
  1560. externally against libgmp3.0 or above!
  1561. * configure, configure.in, Makefile.in, */Makeflags: removed support
  1562. of internal gmp 2.0.2, like $GMP_INCLUDES, which should be done by
  1563. setting $CPPFLAGS instead.
  1564. * Makefile.in: Added libtool inter-library dependency for -lgmp and
  1565. conforming interface versioning (-version-info).
  1566. * autoconf/ltconfig, autoconf/ltmain.sh: Updated to newer versions
  1567. from libtool 1.3.4.
  1568. 2000-02-22 Bruno Haible <haible@clisp.cons.org>
  1569. * src/base/digitseq/cl_asm_mips_.cc: Starting at argument 5 the
  1570. parameter passing was changed for the MIPS n32 ABI.
  1571. 2000-01-24 Richard Kreckel <kreckel@ginac.de>
  1572. * gmp/*: Replaced the complete mpn sources with the ones from
  1573. Debian since they are maintained while the ones from FSF
  1574. aren't and there were problems on some architectures, PowerPC
  1575. in particular. See the file gmp/README.CLN. This way the
  1576. hard links in this directory have vanished, they were causing
  1577. trouble for people working in AFS. This became necessary for
  1578. Debian, because there it woudn't compile on PPC.
  1579. 2000-01-13 Richard Kreckel <kreckel@ginac.de>
  1580. * Version 1.0.3 released.
  1581. 2000-01-13 Richard Kreckel <kreckel@ginac.de>
  1582. * src/base/cl_macros.h (nonreturning_function): For egcs and newer
  1583. use __attribute__ ((__noreturn__)) instead of the __volatile__
  1584. storage class.
  1585. (nonreturning): Remove macro.
  1586. * include/*: Minor fixes to stop -ansi -pedantic from complaining.
  1587. * include/cl_integer.h: (doublefactorial): New declaration.
  1588. * src/integer/misc/combin/cl_I_doublefactorial.cc: New file.
  1589. 1999-12-18 Bruno Haible <haible@clisp.cons.org>
  1590. * autoconf/acgeneral.m4 (AC_ARG_PROGRAM): Create conftestsed using
  1591. "cat", not "echo".
  1592. * autoconf/ltconfig: Improve support for recent FreeBSD 3.
  1593. * include/cl_GV.h (cl_GV_vectorops): Change return type from 'T' to
  1594. 'const T', to match definition in src/vector/cl_GV_number.cc.
  1595. Reported by Duncan Simpson <dps@io.stargate.co.uk>.
  1596. * gmp/mpn/Makefile.in (.S.lo): Use 'if', not '&&', because '&&' may
  1597. yield return code 1.
  1598. 1999-09-07 Bruno Haible <haible@clisp.cons.org>
  1599. * Version 1.0.2 released.
  1600. 1999-09-06 Bruno Haible <haible@clisp.cons.org>
  1601. * src/rational/cl_RA.h (integerp, ratiop): Instead of returning a
  1602. boolean expression, write alternatives ending with either
  1603. "return cl_true;" or "return cl_false;". This way, g++ does a
  1604. better job inlining it.
  1605. * src/float/cl_F.h (longfloatp): Likewise.
  1606. * src/real/cl_R.h (rationalp, integerp, floatp): Likewise.
  1607. * src/complex/cl_C.h (realp, complexp): Likewise.
  1608. 1999-09-05 Bruno Haible <haible@clisp.cons.org>
  1609. * include/cl_integer.h (cl_equal_hashcode): New declaration.
  1610. * include/cl_rational.h (cl_equal_hashcode): New declaration.
  1611. * include/cl_sfloat.h (cl_equal_hashcode): New declaration.
  1612. * include/cl_ffloat.h (cl_equal_hashcode): New declaration.
  1613. * include/cl_dfloat.h (cl_equal_hashcode): New declaration.
  1614. * include/cl_lfloat.h (cl_equal_hashcode): New declaration.
  1615. * include/cl_float.h (cl_equal_hashcode): New declaration.
  1616. * include/cl_real.h (cl_equal_hashcode): New declaration.
  1617. * include/cl_complex.h (cl_equal_hashcode): New declaration.
  1618. * src/base/cl_N.h (equal_hashcode_low, equal_hashcode_one): New macros.
  1619. * src/integer/misc/cl_I_eqhashcode.cc: New file.
  1620. * src/rational/misc/cl_RA_eqhashcode.cc: New file.
  1621. * src/float/sfloat/misc/cl_SF_eqhashcode.cc: New file.
  1622. * src/float/ffloat/misc/cl_FF_eqhashcode.cc: New file.
  1623. * src/float/dfloat/misc/cl_DF_eqhashcode.cc: New file.
  1624. * src/float/lfloat/misc/cl_LF_eqhashcode.cc: New file.
  1625. * src/float/misc/cl_F_eqhashcode.cc: New file.
  1626. * src/real/misc/cl_R_eqhashcode.cc: New file.
  1627. * src/complex/misc/cl_C_eqhashcode.cc: New file.
  1628. * doc/cln.tex: Document `cl_equal_hashcode'.
  1629. 1999-09-05 Bruno Haible <haible@clisp.cons.org>
  1630. * include/cl_ring.h (cl_number_ring_ops): Add `contains' member.
  1631. (cl_number_ring): New class.
  1632. (cl_specialized_number_ring<T>): Inherit from cl_number_ring.
  1633. (instanceof): New function.
  1634. * src/integer/ring/cl_I_ring.cc (cl_I_p): New function.
  1635. * src/integer/misc/cl_I_as.cc (cl_I_p): Add comment.
  1636. * src/rational/ring/cl_RA_ring.cc (cl_RA_p): New function.
  1637. * src/rational/misc/cl_RA_as.cc (cl_RA_p): Add comment.
  1638. * src/real/ring/cl_R_ring.cc (cl_R_p): New function.
  1639. * src/real/misc/cl_R_as.cc (cl_R_p): Add comment.
  1640. * src/complex/ring/cl_C_ring.cc (cl_N_p): New function.
  1641. * src/complex/misc/cl_N_as.cc (cl_N_p): Add comment.
  1642. * doc/cln.tex: Document `instanceof'.
  1643. 1999-09-05 Bruno Haible <haible@clisp.cons.org>
  1644. * include/cl_rational.h (numerator, denominator): New declarations.
  1645. * src/rational/elem/cl_RA_numerator.cc: New file.
  1646. * src/rational/elem/cl_RA_denominator.cc: New file.
  1647. * include/cl_integer.h (numerator, denominator): New inline functions.
  1648. * doc/cln.tex: Document `numerator' and `denominator'.
  1649. 1999-09-05 Bruno Haible <haible@clisp.cons.org>
  1650. * src/rational/algebraic/cl_RA_rootp.cc (rootp): Fix endless loop
  1651. in the integer case.
  1652. * src/rational/algebraic/cl_RA_rootp_I.cc (rootp): Likewise.
  1653. 1999-09-05 Bruno Haible <haible@clisp.cons.org>
  1654. * include/cl_config.h.in: Support for sparc64 CPU.
  1655. * include/cl_modules.h: Likewise.
  1656. * include/cl_types.h: Likewise.
  1657. * include/cl_object.h: Likewise.
  1658. * include/cl_GV.h: Likewise.
  1659. * src/Makefile.in: Likewise.
  1660. * src/base/cl_alloca.h: Likewise.
  1661. * src/base/cl_macros.h: Likewise.
  1662. * src/base/cl_sysdep.h: Likewise.
  1663. * src/base/cl_low.h: Likewise.
  1664. * src/base/digitseq/cl_asm.h: Likewise.
  1665. * src/base/digitseq/cl_asm_.cc: Likewise.
  1666. * src/base/digitseq/cl_asm_sparc64.h: New file.
  1667. * src/base/digitseq/cl_asm_sparc64_.cc: New file.
  1668. * src/modinteger/cl_MI_int.h: Support for sparc64 CPU.
  1669. * src/polynomial/elem/cl_UP_no_ring.cc: Likewise.
  1670. * src/polynomial/elem/cl_UP_GF2.h: Likewise.
  1671. * src/polynomial/elem/cl_asm_GF2.cc: Likewise.
  1672. 1999-09-04 Bruno Haible <haible@clisp.cons.org>
  1673. * src/base/digitseq/cl_asm_sparc_.cc (orc2_loop_up, orc2_loop_down):
  1674. Use the `orn' instruction.
  1675. 1999-08-14 Bruno Haible <haible@clisp.cons.org>
  1676. Assume all platforms have <stdlib.h> and clock_t.
  1677. * configure.in: Don't call CL_STDLIB_H and CL_CLOCK_T.
  1678. * src/base/cl_base_config.h.in (CLOCK_T): Remove definition.
  1679. * src/base/random/cl_random_from.cc: Use clock_t instead of CLOCK_T.
  1680. * src/timing/cl_t_config.h.in (CLOCK_T): Remove definition.
  1681. * src/timing/cl_t_current2.cc: Use clock_t instead of CLOCK_T.
  1682. 1999-07-18 Bruno Haible <haible@clisp.cons.org>
  1683. * gmp/config.guess: Link to autoconf/config.guess.
  1684. gmp/config.sub: Link to autoconf/config.sub.
  1685. Needed for Win32 platforms.
  1686. 1999-07-17 Bruno Haible <haible@clisp.cons.org>
  1687. * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Distinguish "sparc" and
  1688. "sparc64" according to the C compiler, not the uname result.
  1689. 1999-06-17 Bruno Haible <haible@clisp.cons.org>
  1690. * src/base/digitseq/cl_asm_sparc_.cc (compare_loop_up): Fix
  1691. COUNTER_LOOPS version, fortunately not used yet.
  1692. * include/cl_modules.h: Prepare for gcc version 3.
  1693. 1999-06-12 Bruno Haible <haible@clisp.cons.org>
  1694. * src/rational/elem/cl_RA_plus.cc, src/rational/elem/cl_RA_minus.cc:
  1695. Change the last call from I_I_to_RT to I_I_to_RA.
  1696. 1999-06-09 Bruno Haible <haible@clisp.cons.org>
  1697. * Version 1.0.1 released.
  1698. 1999-06-09 Bruno Haible <haible@clisp.cons.org>
  1699. * src/integer/cl_I.h (pFN_maxlength_digits_at): Define also when
  1700. intDsize==64.
  1701. 1999-06-08 Bruno Haible <haible@clisp.cons.org>
  1702. * autoconf/intparam.c (printf_underscored): Change argument type to
  1703. `const char*'.
  1704. * include/cl_modules.h (CL_OUTPUT_LABEL, CL_JUMP_TO): New macros.
  1705. (CL_PROVIDE, CL_PROVIDE_END): Use them.
  1706. * include/cl_string.h (cl_heap_string::operator new): Return 1, not 0.
  1707. * include/cl_GV.h (cl_GV_inner<T>::operator new): Likewise.
  1708. * src/base/ring/cl_no_ring.cc (dummy_canonhom, dummy_expt_pos): Don't
  1709. cast a cl_I to void here. Works around a bug in g++-2.95.
  1710. * src/complex/misc/cl_C_class.cc: Include "cl_C.h".
  1711. * src/polynomial/elem/cl_UP_no_ring.cc (dummy_canonhom,
  1712. dummy_expt_pos): Don't cast a cl_I to void here. Works around a bug
  1713. in g++-2.95.
  1714. * src/polynomial/elem/cl_asm_sparc_GF2.cc (DECLARE_FUNCTION): New
  1715. macro.
  1716. * src/rational/misc/cl_RA_class.cc: Include "cl_RA.h".
  1717. * src/vector/cl_GV_I.cc (cl_heap_GV_I_general::operator new,
  1718. DEFINE_cl_heap_GV_I_bits): Return 1, not 0.
  1719. * src/vector/cl_GV_number.cc (cl_heap_GV_number_general::operator new):
  1720. Likewise.
  1721. 1999-06-01 Bruno Haible <haible@clisp.cons.org>
  1722. * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Canonicalize alpha
  1723. variants to alpha.
  1724. 1999-05-29 Bruno Haible <haible@clisp.cons.org>
  1725. * src/base/digitseq/cl_asm_i386_.cc (DECLARE_FUNCTION): Treat
  1726. OpenBSD like NetBSD.
  1727. * src/base/digitseq/cl_asm_sparc_.cc (DECLARE_FUNCTION): Likewise.
  1728. * src/base/digitseq/cl_asm_m68k_.cc (DECLARE_FUNCTION): Treat
  1729. OpenBSD like NetBSD, and Linux/ELF like SVR4.
  1730. 1999-05-16 Bruno Haible <haible@clisp.cons.org>
  1731. * src/base/cl_low.h (integerlength32) [__rs6000__]: Use old assembler
  1732. syntax on AIX systems and new assembler syntax on non-AIX systems.
  1733. 1999-05-01 Bruno Haible <haible@clisp.cons.org>
  1734. * autoconf/config.guess, autoconf/config.sub: Upgrade to newest
  1735. version from GNU CVS.
  1736. 1999-04-24 Bruno Haible <haible@clisp.cons.org>
  1737. * src/integer/bitwise/cl_I_logand.cc (logand): Optimize the case when
  1738. either operand is a positive fixnum, O(1) instead of O(N).
  1739. * src/integer/bitwise/cl_I_lognand.cc (lognand): Likewise.
  1740. * src/integer/bitwise/cl_I_logandc2.cc (logandc2): Likewise for the
  1741. first operand.
  1742. 1999-04-14 Bruno Haible <haible@clisp.cons.org>
  1743. * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add check whether
  1744. ctor/dtor needs to be exported.
  1745. * include/cl_config.h.in (CL_NEED_GLOBALIZE_CTORDTOR): New macro.
  1746. * include/cl_modules.h (CL_GLOBALIZE_JUMP_LABEL): Renamed from
  1747. CL_GLOBALIZE_LABEL.
  1748. (CL_GLOBALIZE_LABEL): New macro.
  1749. (CL_GLOBALIZE_CTORDTOR_LABEL): Renamed from CL_GLOBALIZE_ASM_LABEL.
  1750. (CL_PROVIDE): Update.
  1751. 1999-04-12 Bruno Haible <haible@clisp.cons.org>
  1752. * src/Makefile.in ($(ASMFILES_S)): On HPPA, ignore preprocessing
  1753. errors ("unterminated string or character constant").
  1754. ($(ASMFILES_LO)): On HPPA, try with various settings of
  1755. COMPILER_PATH, in order to try /usr/ccs/bin/as and /bin/as.
  1756. 1999-04-11 Bruno Haible <haible@clisp.cons.org>
  1757. * INSTALL: Mention gmp problems on MIPS.
  1758. * doc/cln.tex: Likewise.
  1759. 1999-03-24 Mumit Khan <khan@xraylith.wisc.edu>
  1760. * src/Makefile.in (SUBDIRS): Filter out CVS and RCS directories from
  1761. the source tree.
  1762. * include/cl_modules.h (CL_GLOBALIZE_LABEL): Define for Win32.
  1763. (CL_GLOBALIZE_ASM_LABEL): New macro.
  1764. (CL_PROVIDE): Use it.
  1765. * src/base/random/cl_random_from.cc: Handle WIN32.
  1766. * src/timing/cl_t_current.cc: Likewise.
  1767. 1999-03-15 Bruno Haible <haible@clisp.cons.org>
  1768. * autoconf/intparam.c (main7): Use %lX instead of %X for a `long'.
  1769. (main8): Adapt for C++.
  1770. 1999-03-09 Bruno Haible <haible@clisp.cons.org>
  1771. * INSTALL: Mention egcs-1.1 problems on Sparc.
  1772. * doc/cln.tex: Likewise.
  1773. 1999-03-08 Bruno Haible <haible@clisp.cons.org>
  1774. * autoconf/aclocal.m4 (CL_FPU_CONTROL): Fix the "checking for"
  1775. messages.
  1776. 1999-02-25 Bruno Haible <haible@clisp.cons.org>
  1777. * autoconf/aclocal.m4: In test programs, declare `int main()', not
  1778. `main()'.
  1779. * lidia-interface/src/interfaces/integers/cln/bigint.c
  1780. (bigint_to_string): Fix for negative arguments.
  1781. * src/base/cl_low.h: Check for `__sparc__', not `SPARC'.
  1782. * src/base/cl_alloca.h: Likewise.
  1783. * src/base/cl_low.h: Eliminate CLISP style "# " comments.
  1784. * src/base/digitseq/cl_asm_arm_.cc,
  1785. src/base/digitseq/cl_asm_mips_.cc,
  1786. src/float/dfloat/elem/cl_DF_mul.cc: Likewise.
  1787. * src/modinteger/cl_MI_pow2.h,
  1788. src/modinteger/cl_MI_pow2m1.h,
  1789. src/modinteger/cl_MI_pow2p1.h: Workaround g++-2.7.2 inlining bug.
  1790. 1999-01-18 Bruno Haible <haible@clisp.cons.org>
  1791. * autoconf/acgeneral.m4,
  1792. autoconf/acspecific.m4: Upgrade to autoconf-2.13.
  1793. * autoconf/config.guess, autoconf/config.sub: Likewise.
  1794. * autoconf/aclocal.m4 (CL_ALLOCA): Test for _MSC_VER and alloca being
  1795. a macro. Use ${ac_objext}.
  1796. * src/base/cl_macros.h (alloca): Put _MSC_VER test before the others,
  1797. conforming with CL_ALLOCA.
  1798. 1999-01-12 Bruno Haible <haible@clisp.cons.org>
  1799. * Version 1.0 released.