Both seem to be decent bignum libraries but I am not sure what the pros/cons of each are. I know this is a broad question but I am mostly after the prominent differences.
Asked
Active
Viewed 2,630 times
1 Answers
5
MPIR began as a fork of GMP so they share much code. The most obvious difference is that MPIR can be compiled by MS Visual Studio with optimized assembly language support. The latest MPIR release (2.6.0) includes a new FFT multiplication algorithm that is faster than GMP 5.0 (for the sizes I tested, YMMV). On the other hand, GMP is available on almost all Linux distributions.

casevh
- 11,093
- 1
- 24
- 35
-
I'm not sure how much it helps, but it seems like it supports some GPU functionality, also (which GMP doesn't). – Eve Freeman Nov 28 '12 at 16:13
-
@WesFreeman Where did you read that MPIR supports some of the GPU functions? – user3891236 Dec 22 '14 at 10:06