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.

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