Commit Graph

188 Commits

Author SHA1 Message Date
jasonmoxham
6a8ac2c03e change name of mpz_next_probable_prime to mpz_next_likely_prime 2009-09-07 19:56:58 +00:00
jasonmoxham
fac12816e5 change name of mpz_practical_prime to mpz_likely_prime 2009-09-07 15:49:49 +00:00
jasonmoxham
349b2e8796 New functions mpz_probable_prime_p mpz_practical_prime 2009-09-04 02:20:31 +00:00
jasonmoxham
bcfc784552 Add new function mpz_nthroot 2009-09-03 15:39:27 +00:00
jasonmoxham
d8fdd6ef28 replacement function mpz_next_probable_prime 2009-08-17 09:03:35 +00:00
jasonmoxham
c81442422a remove gmp ver 1 src compatatible defines 2009-08-11 22:39:32 +00:00
jasonmoxham
e013b89256 delete obsolete fn gmp_randinit and all referances to it 2009-08-11 22:34:51 +00:00
jasonmoxham
1e8dfa942a removed obsolete fns mpn_divrem mpn_divmod and all referances to them 2009-08-11 22:11:33 +00:00
jasonmoxham
7a8390114c remove obsolete fns mpz_random mpz_random2 and all references to them 2009-08-11 20:52:44 +00:00
wbhart
4e3ab104c2 Updated all version number, author, changelog info etc, for new release,
and added my copyright to the new FFT code I modified.
2009-05-31 20:17:12 +00:00
gladman
9918886c2f Update Windows K8 build to add new assembler 2009-05-12 19:37:47 +00:00
gladman
45e909b337 correct erroneous Windows addition to gmp-h.in 2009-05-10 13:15:12 +00:00
gladman
d942415a1c 1. Update Windows Powershell scripts in mpirbench to refer to MPIR rather than GMP
2. Update MPIR version number in Windows config files to 1.1.2 
3. Add an MSVC inline definition in in gmp-h.in
4. Correct locale test (as per GMP correction)
5. Add Windows x64 set/copy intrinsics to mul_fft.c (improves FFT speed score by 2%)
2009-05-09 13:26:27 +00:00
jasonmoxham
02c782cb64 update bits 2009-04-15 01:51:41 +00:00
wbhart
a5db89c389 Added __GMP_CC and __GMP_CFLAGS, __MPIR_CC and __MPIR_CFLAGS, and ran
autoconf.
2009-04-11 10:04:45 +00:00
wbhart
a310376d45 Updated version to mpir-1.0.0. 2009-03-15 16:40:56 +00:00
wbhart
140ea1a697 Fix a bug I introduced. 2009-03-10 23:39:52 +00:00
wbhart
8bad441e85 Fix for c99 issue on Apple machines using FSF GCC. 2009-03-10 22:18:06 +00:00
jasonmoxham
f75309176a new fns lshift1,rshift1,addadd,addsub,sumdiff,divexactbyff,redc_basecase not visible to user only internally 2009-02-24 01:51:11 +00:00
jasonmoxham
deb06ea4ed merged k8-branch into trunk , autotools , few handbits , windows bits just copyed over 2009-02-19 23:22:30 +00:00
jasonmoxham
b76677c8fc changed libgmp*.* for a few odd cases left 2009-02-12 12:25:23 +00:00
jasonmoxham
a6ab0a96b3 changed gmp.h to mpir.h for a few odd cases left 2009-02-12 11:23:26 +00:00
wbhart
9d44b00379 Added <csdio> when compiling with a C++ compiler instead of checking for _GMP_H_HAVE_FILE to fix the std::FILE issue. 2009-01-10 19:23:57 +00:00
wbhart
7eb253056e Fixed a std::FILE issue in gmp.h and a missing <cstdlib> in t-locale.cc 2009-01-10 19:12:05 +00:00
gladman
3a1beffda4 add windows assembler include file
add missing prototypes in gmp_h.in
2008-11-07 20:27:10 +00:00
wbhart
79aacf7209 Updated license information for many files. 2008-07-24 21:14:10 +00:00
wbhart
13f01913b2 Add MPIR_VERSION macros. 2008-07-23 02:26:25 +00:00
wbhart
00bb708279 Changed version numbers back to 4.2.1 in gmp-h.in. 2008-07-03 19:09:04 +00:00
wbhart
2e0c10aaa0 Edited version numbers and copyright info for mpir. 2008-06-28 23:37:27 +00:00
wbhart
97ef521bd0 On apple gcc v 5465 and above c99 is enforced by -std=gnu99 the same as for gcc 4.3 and above. The problem is, one cannot use either extern inline or extern __inline__ __attribute__ ((__gnu_inline__)) or static inline for the inlined functions in gmp.h. The first can't be used since it isn't c99, the second can't be used since the attribute is not supported by apple's gcc and the third cannot be used since this makes the library functions also static inline which causes duplicates.
The only solution which works for now is to not allow inlined functions in gmp.h. This obviously results in a performance deficit. But better a slow mpir than none at all!!

Ironically the first solution I came up with for the c99 problem was actually more robust than what we have here, but it was terribly inelegant.

This current patch works on Jason's home core2. Who knows if it breaks everything else!
2008-06-26 07:44:38 +00:00
wbhart
82db128a84 Added lines to gmp-h.in to try and fix problem on Apple GCC. 2008-06-26 05:41:28 +00:00
wbhart
2264a9bb9f Reversed changes to gmp-h.in which did not work. 2008-06-26 05:14:26 +00:00
wbhart
02c9b94d23 Yet another attempt to fix c99 inline stuff. 2008-06-26 04:04:26 +00:00
wbhart
40479614ef Fixed typos in gmp-h.in 2008-06-25 02:25:45 +00:00
wbhart
4154a21952 Attempt to fix c99 inline sematics again. 2008-06-25 02:01:33 +00:00
wbhart
f765185c83 Backed out changes to aclocal.m4 and fixed gmp.h to work correctly with c99 inline semantics when mpir is being compiled with gcc 4.3.0 or above. 2008-06-13 13:11:00 +00:00
wbhart
ed93f3a175 Edited gmp.h to use static inline in c99 mode and changed permissions of
files.
2008-04-18 01:59:13 +00:00
wbhart
a197a2d3eb Basic GMP files with a new core2 directory and amd_64 directory with Martin's and Gaudry's patches.
Removed directories for no longer supported architectures.
2008-04-17 21:03:07 +00:00