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.

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