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.

2248 lines
89 KiB

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