Changes between GMP version 4.1.3 and 4.1.4
- Bug fix to FFT multiplication code (crash for huge operands).
- Bug fix to mpf_sub (miscomputation).
- Support for powerpc64-gnu-linux.
- Better support for AMD64 in 32-bit mode.
- Upwardly binary compatible with 4.1.3, 4.1.2, 4.1.1, 4.1, 4.0.1, 4.0, and 3.x
versions.
New features of GMP 4.1.3
- Bug fix for FFT multiplication code (miscomputation).
- Bug fix to K6 assembly code for gcd.
- Bug fix to IA-64 assembly code for population count.
- Portability improvements, most notably functional AMD64 support.
- mpz_export allows NULL for countp parameter.
- Many minor bug fixes.
- Upwardly binary compatible with 4.1.2, 4.1.1, 4.1, 4.0.1, 4.0, and 3.x
versions.
New features of GMP 4.1.2
- Important bug fixes.
- Upwardly binary compatible with 4.1.1, 4.1, 4.0.1, 4.0, and 3.x versions.
New features of GMP 4.1.1
- Bug fixes.
- Upwardly binary compatible with 4.1, 4.0.1, 4.0, and 3.x versions.
New features of GMP 4.1
- Bug fixes.
- Speed improvements.
- Asymptotically fast conversion to/from strings (mpz, mpq, mpn levels), but
also major speed improvements for tiny operands.
- Further improved documentation.
- Major speed improvments for HPPA 2.0 systems.
- Major speed improvments for UltraSPARC systems.
- Major speed improvments for IA-64 systems (but still sub-optimal code).
- Extended test suite.
- mpfr is back, with many bug fixes and portability improvements.
- New function: mpz_ui_sub.
- New functions: mpz_export, mpz_import.
- Optimization for nth root functions (mpz_root, mpz_perfect_power_p).
- Optimization for extended gcd (mpz_gcdext, mpz_invert, mpn_gcdext).
- Generalized low-level number format, reserving a `nails' part of each
limb. (Please note that this is really experimental; some functions
are likely to compute garbage when nails are enabled.)
- Nails-enabled Alpha 21264 assembly code, allowing up to 75% better
performance. (Use --enable-nails=4 to enable it.)
- More we've forgotten about...
- Upwardly binary compatible with 4.0, 4.0.1, and 3.x versions.
New features of GMP 4.0
Main features
- Upwardly binary compatible with 3.x versions.
- New CPU support: IA-64, Pentium 4.
- Support for all MIPS ABIs: o32, n32, 64.
- New systems supported: Darwin, SCO, Windows DLLs.
- New algorithms chapter in the manual.
- New malloc reentrant temporary memory method.
- New C++ class interface by Gerardo Ballabio (beta).
- Revamped configure, featuring ABI selection.
- mpz_perfect_power_p now properly recognizes 0, 1, and negative perfect
powers.
- mpz_hamdist now supports negative operands.
- mpz_jacobi now accepts non-positive denominators.
- mpz_powm now supports negative exponents.
- mpn_mul_1 operand overlap requirements relaxed.
- Float input and output uses locale specific decimal point where available.
- New gmp_printf, gmp_scanf and related functions.
Speed improvements
- Many small machine dependent and machine independent speed improvements.
- New divide-and-conquer square root algorithm.
- Alpha 21264, Cray vector systems.
- mpz_powm and mpz_powm_ui (mainly affecting small operands).
- Tuned algorithm thresholds for many more CPUs.
New functionality
- New division functions: mpz_cdiv_q_2exp, mpz_cdiv_r_2exp, mpz_divexact_ui.
- New divisibility tests: mpz_divisible_p, mpz_divisible_ui_p,
mpz_divisible_2exp_p, mpz_congruent_p, mpz_congruent_ui_p,
mpz_congruent_2exp_p.
- New Fibonacci function: mpz_fib2_ui.
- New Lucas number functions: mpz_lucnum_ui, mpz_lucnum2_ui.
- Other new integer functions: mpz_cmp_d, mpz_cmpabs_d, mpz_get_d_2exp,
mpz_init2, mpz_kronecker, mpz_lcm_ui, mpz_realloc2.
- New rational I/O: mpq_get_str, mpq_inp_str, mpq_out_str, mpq_set_str.
- Other new rational functions: mpq_abs, mpq_cmp_si, mpq_div_2exp,
mpq_mul_2exp, mpq_set_f.
- New float tests: mpf_integer_p, mpf_fits_sint_p, mpf_fits_slong_p,
mpf_fits_sshort_p, mpf_fits_uint_p, mpf_fits_ulong_p, mpf_fits_ushort_p.
- Other new float functions: mpf_cmp_d, mpf_get_default_prec, mpf_get_si,
mpf_get_ui, mpf_get_d_2exp.
- New random functions: gmp_randinit_default, gmp_randinit_lc_2exp_size.
- New demo expression string parser (see demos/expr).
- New preliminary perl interface (see demos/perl).
Please send comments about this page to
webmaster@swox.com
Copyright 2000, 2001, 2002, 2003, 2004 Free Software Foundation
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.