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.

2568 lines
102 KiB

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