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.

2476 lines
99 KiB

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