/gmp, Library for arbitrary precision arithmetic
6.1.2, Package name:
gmp-6.1.2, Maintainer: pkgsrc-users
GNU MP is a library for arbitrary precision arithmetic, operating on signed
integers, rational numbers, and floating point numbers. It has a rich set
of functions, and the functions have a regular interface.
GNU MP is designed to be as fast as possible, both for small operands and for
huge operands. The speed is achieved by using fullwords as the basic
arithmetic type, by using fast algorithms, by carefully optimized assembly
code for the most common inner loops for a lots of CPUs, and by a general
emphasis on speed (instead of simplicity or elegance).
The speed of GNU MP is believed to be faster than any other similar library.
The advantage for GNU MP increases with the operand sizes for certain
operations, since GNU MP in many cases has asymptotically faster algorithms.
Required to build:
] Package options
Master sites: (Expand) SHA1:
Version history: (Expand)
- (2016-12-19) Updated to version: gmp-6.1.2
- (2016-08-23) Updated to version: gmp-6.1.1
- (2015-11-13) Updated to version: gmp-6.1.0
- (2014-04-17) Updated to version: gmp-6.0.0a
- (2013-10-02) Updated to version: gmp-5.1.3
- (2013-05-25) Updated to version: gmp-5.1.2
CVS history: (Expand)
| 2017-04-22 10:23:17 by Jonathan Perkin | Files touched by this commit (1) |
Remove SunOS too. Unbreaks build.
| 2017-04-22 09:01:07 by Adam Ciarcinski | Files touched by this commit (1) |
Removed Darwin from MPN-generic hack as it builds correctly without it. \
Configure failed for newer CPUs when generic was enabled.
| 2017-04-21 00:37:57 by Ryosuke Moro | Files touched by this commit (1) |
| 2017-01-19 19:52:30 by Alistair G. Crooks | Files touched by this commit (352) |
Convert all occurrences (353 by my count) of
MASTER_SITES= site1 \
style continuation lines to be simple repeated
lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint
| 2016-12-19 09:50:45 by Thomas Klausner | Files touched by this commit (2) | |
Updated gmp to 6.1.2.
Changes between GMP version 6.1.1 and 6.1.2
* Mini-GMP: Fixed a division bug, which on a machine with 64-bit
unsigned long affects approximately 1 out of 2^32 divisors.
* Mini-GMP: Fix mpz_set_str crash on inputs with a large number of
leading zeros. Also stricter input validation, rejecting inputs
with no digits.
* Handle more systems which require PIC code in static libraries (e.g.,
"hardened" Gentoo and Debian 9).
* Configuration for arm (-32 and -64) has been rewritten, fixing poor
code selection for many CPUs.
* Mini-GMP: Updated to the latest development version, including
new functions mpn_com and mpn_neg.
* None, except for arm CPUs affected by the configuration rewrite.
| 2016-08-23 07:10:48 by Adam Ciarcinski | Files touched by this commit (20) | |
Changes in GMP 6.1.1
* Make Intel Broadwell configurations work on Windows.
* Work around faulty cpuid on some recent Intel chips (this allows GMP to run on \
* Support thumb-less ARM chips.
| 2015-11-13 12:36:44 by Thomas Klausner | Files touched by this commit (5) | |
Update gmp to 6.1.0:
Changes between GMP version 6.0.* and 6.1.0
* The public function mpn_com is now correctly declared in gmp.h.
* Healed possible failures of mpn_sec_sqr for non-cryptographic sizes for
some obsolete CPUs.
* The option --disable-assembly now disables all inlined asm.
* Fixed bug affecting mini-gmp's bitwise functions mpz_setbit, mpz_clrbit,
* Various problems related to precision for mpf have been fixed.
* Fixed ABI incompatible stack alignment in calls from assembly code.
* Fixed PIC bug in popcount affecting Intel processors using the 32-bit ABI.
* Speedup for Intel Broadwell and Skylake though assembly code making use of
new ADX instructions.
* Square root is now faster when the remainder is not needed. Also the speed
to compute the k-th root improved, for small sizes.
* Improved arm64 support.
* New C++ functions gcd and lcm for mpz_class.
* New public mpn functions mpn_divexact_1, mpn_zero_p, and mpn_cnd_swap.
* New public mpq_cmp_z function, to efficiently compare rationals with
* Support for Darwin in all x86 code, thereby enabling fat builds on Darwin.
* Support for more 32-bit arm processors.
* Support for compilation with clang/llvm on more platforms. Caution: GMP
triggers mis-compilation bugs in clang for many platforms, such as arm, x86
(32-bit and 64-bit), powerpc, mips.
* Support for AVX-less modern x86 CPUs. (Such support might be missing either
because the CPU vendor chose to disable AVX, or because the running kernel
lacks AVX context switch support.)
* Stack usage trimmed; we believe 512 KiB is now sufficient for any GMP
call, irrespective of operand size.
* Support for NetBSD under Xen; we switch off AVX unconditionally under
NetBSD since a bug in NetBSD makes AVX fail under Xen.
* We now use manufacturers' code names for x86 CPUs, e.g., "haswell" \
of names derived from the commercial brands.
* Small improvements and better coverage for the test suite.
* The various FreeBSD problems listed for 6.0.0 affect this release too.
* Tuned values for FFT multiplications are provided for larger number on
| 2015-11-13 11:42:23 by Thomas Klausner | Files touched by this commit (19) |
Split a patch into standard patches.
date: 2015-04-03 09:41:26 +0200; author: mrg; state: Exp; commitid: \
port some changes from netbsd gmp and adapt them to the gmp 6.x.
this allows devel/gmp to build on armv4.