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.

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