Commit Graph

223 Commits

Author SHA1 Message Date
Brian Gladman
11bac5f240 add a missing export declaration
correct a function definition
correct bug in msbuild.bat
2020-03-15 16:51:04 +00:00
William Hart
9bfe9f8b81 Fix typo in function name. 2018-09-28 22:46:10 +02:00
Brian Gladman
8f4b751ac7 correct error in gmp-impl.h 2018-03-06 11:32:21 +00:00
Brian Gladman
c3c33b1560 add missing macro (and revert test mod of .travis.yml) 2018-02-28 15:12:24 +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
c7567b5ad9 Remove __GMP_PROTO and _PROTO crap from the MPIR source code 2018-02-25 09:02:47 +00:00
Paweł Bylica
10c88ea3a9
Assume strchr is available 2017-09-07 08:19:58 +02:00
Paweł Bylica
9d2b98f3dc
Assume memset is available 2017-09-07 08:19:58 +02:00
William Hart
6b6213b58b Fix missing semicolon and add tuning values for k102. 2017-02-13 17:27:54 +00:00
William Hart
7794ae01b4 Fix merge of new mpz_powm, mpz_powm_ui code. 2017-02-13 17:24: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
Alexander Kruppa
578bf82f68 nsumdiff_n, computes -(a+b), a-b 2017-01-21 22:59:20 +01:00
Alex Dyachenko
05c71611a9 Moved MPIR.Net-specific symbols from gmp-h.in to gmp-impl.h. Added comments in inp_raw.c and out_raw.c to document the changes. 2016-03-28 09:23:58 -04:00
Alex Dyachenko
914844ebb3 Merge branch 'master' of github.com:wbhart/mpir 2015-12-22 16:09:19 -05: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
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
54fdf1a945 Update copyrights (mpq_cmp_z) 2015-11-02 17:01:43 -03: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
55a074aebc Added missing __GMP_DECLSPEC's which were causing a segfault on Cygwin64. 2015-06-10 21:03:03 +00:00
BrianGladman
263b6de8ed add the define _GMP_IEEE_FLOATS and some missing DLL export declarations to gmp-impl.h 2014-07-22 17:47:00 +01:00
William Hart
0bc525c9a3 Fixed a bug in mpir_invert_pi2 triggered by the MPFR test code. 2014-06-08 21:30:32 +01:00
Jean-Pierre Flori
1b68626146 Add tuning for mulmid code. 2014-05-06 11:57:31 +02:00
Jean-Pierre Flori
2091276c4a Draft commit to merge GMP powm code into MPIR. 2014-04-30 16:14:11 +02:00
Alex Dyachenko
c9ba616e58 Minor cleanup refactoring. Exposed a digit value table from GMP so it could be reused. Added a build event to solve the issue locking MPIR.Net assembly after test runs. 2014-04-26 15:40:07 -04:00
William Hart
8e4f26aa58 Fix a bug in Cygwin64 (missing __GMP_DECLSPEC on mpn_store). 2014-04-02 00:55:11 +01: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
9cf9b9bbaf Remove gcd_finda.asm and references to it. 2014-03-25 20:14:46 +00:00
William Hart
0795469230 Add new x86_64 assembly functions provided for all platforms to fat build. 2014-03-25 15:24:17 +00:00
William Hart
d6fe8951ee Added tuning for sparc32/v9 and default value for FFT_MULMOD_2EXPP1_CUTOFF. 2014-03-24 22:36:54 +00:00
William Hart
984d9dbe8e Missing endlines and jacobi prototypes for gmp-impl.h. 2014-03-24 18:54:51 +00:00
William Hart
3b6a11e4c5 Added tuning code from GMP for gcd, gcdext, jacobi and fac_ui. 2014-03-20 15:28:01 +00:00
William Hart
471fddeece Added tuning for small version of sb_divappr_q and sb_div_qr. 2014-03-19 23:09:38 +00:00
William Hart
4fa350f51d Hack FFT usage into mpn_mulmod_2expp1. 2014-03-19 17:32:01 +00:00
William Hart
ba01f2690d unsigned long -> mpir_ui. 2014-02-28 19:33:27 +00:00
William Hart
8e3504e372 Updated to new bin_ui and bin_uiui code from GMP 5.1.3. Added a version of
mpn_divrem_hensel_rsh_qr_1 that takes a precomputed inverse.
2014-02-28 16:44:53 +00:00
William Hart
67809f39a2 Update to GMP 5.1.3 factorial code. 2014-02-27 21:35:04 +00:00
William Hart
0c96bff79f Add rudimentary mpn_mulmod_bnm1. Update to new gcd and xgcd code from GMP. 2014-02-27 16:00:08 +00:00
William Hart
bcf545c219 Speed up precomputed inverses. 2014-02-25 14:24:08 +00:00
William Hart
ec94b97a94 Slight speedup for k10. 2014-02-23 18:11:17 +00:00
William Hart
b65ad160ab Fix slowdown on penryn, retune k10. 2014-02-23 17:47:35 +00:00
William Hart
5548023724 Switch to using both types of precomputed inverse. 2014-02-20 20:21:04 +00:00
William Hart
ae7c8a30b2 Added dc_divappr_q and fixed sb_divappr_q, general code clean up. 2013-04-15 17:16:38 +01:00
William Hart
e0922e5ce5 Changed the name of a macro. 2013-04-11 01:43:58 +01:00
William Hart
44d27e44eb Updated copyright notices. 2013-04-11 01:28:46 +01:00
William Hart
188955ab2a Removed a couple of duplicated macros. 2013-04-11 01:24:45 +01:00
William Hart
e967731486 Move divrem fixup into macro. 2013-04-11 01:05:33 +01:00
William Hart
7b7ffec89c Switched to new divrem basecase. 2013-04-11 00:18:00 +01:00
William Hart
8655d3b7e0 Tried a new kind of basecase division. 2013-04-09 03:20:58 +01:00
gladman
a373abbc93 export a few more DLL symbols on Windows (needed by try). 2012-11-10 19:26:08 +00:00