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.

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