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.

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