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.

2146 lines
84 KiB

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