Brian Gladman
92bbb3d79a
Merge remote-tracking branch 'remotes/Bill/master' into msvc_build
2018-08-28 21:37:42 +01:00
Simon Sobisch
ff9d361633
fix gmp.h to not use __GMP_DECLSPEC undefined
...
When `__GMP_LIBGMP_DLL` is defined `__GMP_DECLSPEC` is defined for import/export using another macros which are not always defined.
The proposed change defines them empty when the compiler is not known and adds the working definition for the OrangeC compiler.
2018-05-07 14:10:47 +02:00
Brian Gladman
763741ca1f
remove error in mpn_neg
2018-04-17 16:16:13 +01:00
Brian Gladman
e00627e958
remove mpn_perfect_power (not compatible with MPIR division functions)
...
revert msvc build files accordingly
2018-02-28 15:47:50 +00:00
Brian Gladman
24961f93c5
Only add functions mpz_get_2exp_d and mpf_get_2exp_d on Windows
2018-02-27 10:00:55 +00:00
Brian Gladman
69b81839cc
correct mnp_neg_n definition in gmp_h.in
2018-02-27 07:59:40 +00:00
Brian Gladman
2ed89ddd1b
added changes from Bills repository
...
remove duplicated code for mpn_neg_n
2018-02-26 17:25:45 +00:00
Brian Gladman
f37c872cec
Merge branch 'master' of github.com:wbhart/mpir
2018-02-26 17:20:48 +00:00
Brian Gladman
c7567b5ad9
Remove __GMP_PROTO and _PROTO crap from the MPIR source code
2018-02-25 09:02:47 +00:00
Dima Pasechnik
d7b4f7d023
correct merge
2018-02-08 12:51:35 +00:00
Dima Pasechnik
1cbe5a4e5b
Merge branch 'master' of github.com:dimpase/mpir
2018-02-08 12:42:42 +00:00
Dima Pasechnik
63e02319be
__has_include() to guard against missing stdint.h
2018-02-08 12:04:46 +00:00
Dima Pasechnik
59984d4aa3
use __has_include() to guard against Hipster or old Solaris
2018-02-07 22:23:54 +00:00
Dima Pasechnik
4fb53e3f8e
include stdint.h on Solaris/SunOS
...
This makes sure that (u)intmax_t are available, as
they are not defined in the same place as INTMAX_MAX
2018-02-07 12:55:25 +00:00
Brian Gladman
2e1c2e6849
add two new functions to ease the 32/64-bit integer length problem of Windows x64
2018-01-25 17:30:22 +00:00
William Hart
1b3d597629
Bump version to 3.0.0.
2017-02-14 10:05:01 +00:00
Jean-Pierre Flori
feb4d44508
Merge branch 'master' into powm
...
Conflicts:
configure.ac
gmp-impl.h
2017-02-13 16:42:13 +00:00
William Hart
57c6928bcc
Update supported GMP to 6.0.0.
2017-02-13 15:42:13 +00:00
Brian Gladman
499641998d
add mpn_sizeinbase.c and its test to MPIR
2017-02-09 17:27:01 +00:00
Brian Gladman
16b79b74a7
add five mpz limbs routines and one test (from GMP)
2017-02-09 14:54:10 +00:00
Alexander Kruppa
578bf82f68
nsumdiff_n, computes -(a+b), a-b
2017-01-21 22:59:20 +01:00
Brian Gladman
37e9081e3e
test
2016-07-18 23:50:13 +01:00
Brian Gladman
8d38a23f40
test
2016-07-18 23:47:38 +01:00
Brian Gladman
b84e7e24ca
remove 'long/long long' pointer bug on Windows x64
2016-06-18 13:27:19 +01:00
William Hart
67d98ac417
Update to MPIR-2.7.2 because we can, and increment .so version numbers.
2015-11-20 18:39:41 +00:00
wbhart
188ce0a535
Merge pull request #164 from videlec/cmp_mpq_z
...
Import the implementation of mpq_cmp_z from gmp
2015-11-15 16:36:59 +01:00
William Hart
4f18ed9631
Update NEWS, ChangeLog, versioning info, release numbers. Run makeinfo and
...
automake.
2015-11-13 21:27:39 +00:00
William Hart
8435273a1a
Remove sb_div* small implementation (due to bug and due to being a very minor
...
performance improvement).
2015-11-13 14:47:44 +00:00
Vincent Delecroix
8862bcda68
Import the implementation of mpq_cmp_z from gmp
2015-11-02 12:11:55 -03:00
Jean-Pierre Flori
58844207ae
Merge remote-tracking branch 'wbhart/master' into powm
...
Conflicts:
configure.ac
2015-07-22 04:57:48 -07:00
William Hart
80df734cbe
Fix detection of stdint.h.
2015-06-13 18:39:18 +00:00
William Hart
e86ac62d26
Fix handling of stdint.h once and for all.
2015-06-11 10:46:10 +00:00
William Hart
154c4444ba
Apply Sage patch for gcc-4.9.
2015-06-09 14:21:03 +00:00
BrianGladman
d5f382c4f3
add the mpn_mul_fft function (needed by GMP-ECM) and update Windows builds accordingly
2014-06-12 14:34:20 +01:00
Jean-Pierre Flori
2091276c4a
Draft commit to merge GMP powm code into MPIR.
2014-04-30 16:14:11 +02:00
BrianGladman
7df57b3aa2
Simplify defines for building DLLs with Visual Studio
2014-04-02 14:14:47 +01:00
William Hart
38bcd91d36
Handle stdint detection differently and fix a typo in README (thanks Dann
...
Corbit)
2014-03-28 21:57:27 +00:00
William Hart
65360455c9
Whoops, we defined GMP_CC twice.
2014-03-28 15:28:20 +00:00
William Hart
227c777b57
Update library versioning information and GMP/MPIR versions.
2014-03-26 15:09:22 +00:00
William Hart
8588b5fcbb
Added __GMP_CC macros in line with GMP.
2014-03-26 13:20:01 +00:00
William Hart
4ff1e2d684
Remove dc_divappr_q_n and renamed fft_negacylic to fft_negacyclic.
2014-03-25 21:17:35 +00:00
William Hart
ba01f2690d
unsigned long -> mpir_ui.
2014-02-28 19:33:27 +00:00
William Hart
7e44cf98e7
Added primorial code and test code from GMP/
2014-02-28 13:49:27 +00:00
William Hart
3b39af2d08
Added mfac_uiui and test code from GMP-5.1.3.
2014-02-28 13:35:36 +00:00
William Hart
abc2bd4b83
Added t-fac_ui test code and changed gmp.h => mpir.h.
2014-02-28 13:19:19 +00:00
William Hart
5548023724
Switch to using both types of precomputed inverse.
2014-02-20 20:21:04 +00:00
briangladman
48d48a58d3
change name of mpz_next_likely_prime to mpz_next_prime_candidate
2013-09-02 15:10:16 +01:00
Jean-Pierre Flori
9fe40e0c6b
Fix for Sun Studio compiler.
2013-08-01 19:06:30 +02:00
gladman
399bb8da6f
change 'unsigned long' to 'mpir_ui' in function declaration
2012-10-29 16:09:42 +00:00
wbhart
3bc1080d95
Fixed some bugs in gmp-h.in which were causing test failures in flint.
2012-10-29 14:15:11 +00:00