Commit Graph

406 Commits

Author SHA1 Message Date
William Hart
ab734ea48c Added atom tuning values. Thanks Jason Preszler. 2014-03-28 12:22:31 +00:00
BrianGladman
0d6b94b63a correct C++ assign test 2014-03-28 08:16:49 +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
6ac545e1e7 Renamed next_likely_prime files to next_prime_candidate. 2014-03-25 20:56:21 +00:00
William Hart
1eb21d584f Ran test functions with insufficient whitespace through indent. 2014-03-25 20:43:50 +00:00
William Hart
9cf9b9bbaf Remove gcd_finda.asm and references to it. 2014-03-25 20:14:46 +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
William Hart
7e5589a8bb Ran autoreconf -i to change autotools versions to those of development machine. 2014-02-04 13:40:51 +00:00
Kevin Brogan
7d51e5d3d3 Fix t-locale.c #define used to avoid a test when using mingw64
The macro __MINGW64_VERSION_MAJOR is defined even when mingw64 is being used to compile 32 bit versions of software with the -m32 switch.

__MINGW64__ is only defined while compiling 64 bit output.
2013-11-19 19:20:36 -08:00
briangladman
48d48a58d3 change name of mpz_next_likely_prime to mpz_next_prime_candidate 2013-09-02 15:10:16 +01:00
William Hart
0550f973bd Merge remote-tracking branch 'brian/master' 2013-08-06 13:20:09 +01:00
Jean-Pierre Flori
b3438467e6 Ran "autoreconf -fiv --no-recursive". 2013-08-05 00:34:35 +02:00
Jean-Pierre Flori
cd371dfbac Fix bug in t-scan test.
Reported by Daniel R. Grayson and fixed by Leif Leonhardy.
2013-07-31 14:51:42 +02:00
Jean-Pierre Flori
d222af9e8c Ran "autoreconf -fi" and put back correct config.(guess|sub) files. 2013-07-31 14:51:32 +02:00
Brian Gladman
a81efe8936 Update the C++ header file (mpirxx.h) to match GMP
Replace the incorrect INTEL_COMPILER define to __INTEL_COMPILER
2013-04-17 13:54:43 +01:00
William Hart
89acc6b8ce Switch all precomputed inverses to new ones. 2013-04-15 17:39:36 +01: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
db729465d7 Added new sb_div_q code, updated some comments and copyright notices. 2013-04-12 21:49:49 +01:00
William Hart
0b033b07f2 Fast sb_divappr_q code. 2013-04-12 17:49:29 +01:00
William Hart
e0922e5ce5 Changed the name of a macro. 2013-04-11 01:43:58 +01:00
William Hart
8655d3b7e0 Tried a new kind of basecase division. 2013-04-09 03:20:58 +01:00
William Hart
f608007fc5 Line endings 2012-11-25 22:33:07 +00:00
wbhart
551c1066fa Added #include "config.h" in all tests which needed it. 2012-10-18 20:14:58 +00:00
wbhart
70fc2bb3a0 (i)fft_blah => mpir_(i)fft_blah, n_revbin => mpir_revbin, fermat_to_mpz =>
mpir_fermat_to_mpz, random_fermat => mpir_random_fermat. Moved fft protos
to gmp-impl.h.
2012-10-18 16:29:08 +00:00
wbhart
b874101b6e Removed symbol conflicts of the form n_blah, with flint. 2012-10-17 22:27:11 +00:00
wbhart
2b1a8882d8 Made fft multiplication tests do something non-trivial when past fft threshold 2012-10-17 21:59:25 +00:00
gladman
eb99feda69 put config.h include back in misc.c 2012-10-13 12:17:28 +00:00
gladman
0159a17f2e reduce dependence on config.h in tests 2012-10-13 10:17:22 +00:00
gladman
680b95d672 remove config.h from tests that do not appear to require this 2012-10-13 07:42:21 +00:00
wbhart
9d90f9c742 Further attempt to fix the intmax_t issue in mpirxx.h. 2012-10-12 20:01:18 +00:00
wbhart
4c896b5e2f Changed -INTMAX_MIN to INTMAX_MIN in t-set_sx.c. 2012-09-28 22:22:18 +00:00
wbhart
e75c271a3f Fixed missing includes in t-next_likely_prime.c and t-rand.c. 2012-09-28 16:17:18 +00:00
wbhart
a4cd5f75a1 autoconf -i after adding tests/fft. 2012-09-27 20:46:32 +00:00
wbhart
942def5229 Added tests/fft to test directories. 2012-09-27 20:44:33 +00:00
wbhart
72913185ba Autoreconf -i after filename updates. 2012-09-27 20:21:45 +00:00
gladman
944355c8a1 change 'truncate' in file names AND symbols with 'trunc' (except in mpn_invert_truncate) 2012-09-27 20:00:46 +00:00
gladman
f54e4ededd change some longs to mpir_si in tests 2012-08-22 09:52:01 +00:00
gladman
4131e0f9fd replace a few missed longs with mpir_si/mpir_ui types 2012-07-29 19:10:32 +00:00
gladman
c67430f35f commit changes to remove conflicts after merge from trunk 2012-07-27 08:16:21 +00:00
gladman
f629c5ce4f convert mpn_mulmod_2expp1 to mpn_mulmod_Bexpp1 and remove test of the original version 2012-07-19 13:01:13 +00:00
gladman
6efedb9b50 Add latest bugfix to FFT code 2012-06-05 14:09:03 +00:00
jasonmoxham
4e25b3eaef sumdiff try test unconditionally 2012-03-10 21:46:44 +00:00
gladman
fb616eed78 Change gmp_ui/gmp_si types to mpir_ui/mpir_si 2012-01-24 14:37:16 +00:00
jasonmoxham
fb4e53caf3 some ullong defines in tests/t-constat 2012-01-20 00:58:38 +00:00
jasonmoxham
325214f609 some more 2012-01-20 00:20:50 +00:00
jasonmoxham
467c6db8d4 update makefiles and configuree for fft dir 2012-01-20 00:11:55 +00:00
gladman
1253dff171 Final integration of Bills new FFT code 2012-01-10 16:26:07 +00:00
gladman
3b64d4ef29 add square tests 2012-01-07 11:59:43 +00:00
gladman
6552b675b8 correct rename error and change errors outputs to output limbs correctly 2012-01-06 22:35:39 +00:00
gladman
a857a7fa15 FFT name changes and tuning 2012-01-06 18:37:11 +00:00
jasonmoxham
86ab6589b3 generic addadd addsub and subadd 2012-01-05 23:06:24 +00:00
gladman
748eceec15 minor change in printf output 2012-01-05 18:50:17 +00:00
gladman
4cc826df20 commit FFT test source code 2012-01-05 17:02:39 +00:00
gladman
338e5f2984 populate new branch 2011-12-16 19:47:56 +00:00
jasonmoxham
e81bf4ac96 run in devel regen and setverion 2011-12-05 07:18:14 +00:00
jasonmoxham
97d24b5ad2 crlf removal 2011-12-05 07:07:44 +00:00
gladman
64a4bcb95f 1. revert mpz_nexxt_likely_prime to previous API
2. add miller_rabin.c implementing a thread safe version of Miller-Rabin
2011-12-04 18:43:13 +00:00
gladman
066ba97645 change gmp_h.in to reflect mpz_next_likely_prime API change 2011-11-23 15:03:41 +00:00
gladman
317f0a5965 bring new code in mpz.next_likely_prime into use and add a test 2011-11-23 12:51:46 +00:00
gladman
dcc1656584 Add missed tests for new GCD code 2011-10-14 11:19:25 +00:00
gladman
1cff180492 2011-10-11 21:23:09 +00:00
jasonmoxham
65b1ec121a removed all use HAVE_HOST , except for timing on the powerpc 2011-09-12 01:23:43 +00:00
jasonmoxham
44f0e6f33e corrected wrong ret code 2011-09-11 23:33:34 +00:00
gladman
4fb7f44fb0 correct FP changes for Windows 2011-09-11 23:01:18 +00:00
jasonmoxham
4c893096bf remove obsolete x86_fldcw and x86_fstcw that change rounding modes 2011-09-11 21:00:43 +00:00
jasonmoxham
c0f53686c5 remove all references to GMP_IEEE_FLOATS , thats the only type we support anyway 2011-09-11 19:04:40 +00:00
jasonmoxham
9f34508f50 correct rounding mode tests and generalize, remove some more have_host's 2011-09-11 18:41:46 +00:00
jasonmoxham
0490047f68 disable yasm for *.asm and use gas as some functions are slightly faster 2011-09-11 13:38:18 +00:00
jasonmoxham
b503fcced2 remove pointless differences between old cpus ie k6's 2011-08-30 20:41:29 +00:00
jasonmoxham
1cf83265ac remove use of FORCE_DOUBLE ie 80bit floats which are slower now anyway 2011-08-17 15:27:10 +00:00
jasonmoxham
f1ec8a275e add half/double test code and correct return values 2011-07-13 12:54:47 +00:00
jasonmoxham
5868f23cdd switch all x86_64 asm code from gas/yasm to just yasm 2011-06-30 13:48:51 +00:00
jasonmoxham
1182be3fd0 crlf to lf for t-get_sx.c etc files 2011-06-08 07:05:34 +00:00
jasonmoxham
8fcb7f3bdf make sure tests mpz/t-set_sx.c etc have entry point 2011-05-09 07:19:41 +00:00
jasonmoxham
6eddf65bb0 msvc cl build tweeks 2011-05-09 00:03:42 +00:00
jasonmoxham
1c7d0cc247 bump SOME version numbers so I can test out the new testing framework 2011-05-07 19:58:28 +00:00
gladman
5ca9327c74 Tidy up Visual Studio builds (cosmetic) 2011-04-27 10:15:46 +00:00
gladman
de6e423978 2011-04-10 19:04:32 +00:00
jasonmoxham
99ad21707a test/mpz/reuse.c msvc tweek 2011-04-08 12:59:26 +00:00
jasonmoxham
7c463d96f5 clean up fat stuff 2011-04-03 08:50:09 +00:00
jasonmoxham
1a97136413 add HAVE_STDINT_H guards for the include <stdint.h> 2011-03-30 18:15:31 +00:00
gladman
49c0863840 Add tests for mmpz_get/set_ux functions 2011-03-19 20:14:45 +00:00
gladman
9abe9eded1 change mechanism for detecting stdint.h 2011-03-19 09:28:07 +00:00
jasonmoxham
57d37eea1d get yasm to assemble intel format asm code 2011-03-18 16:39:37 +00:00
jasonmoxham
6604bd78b2 add all tests except c++ tests toe the regen script 2011-03-16 01:19:15 +00:00
jasonmoxham
f590170988 add tests in mpz mpf mpq misc mpn dir to regen script 2011-03-15 10:37:06 +00:00
gladman
b3e4fb4f5b minor text change 2011-03-14 20:25:04 +00:00
jasonmoxham
7dde675da1 add tests into autotools for new mpz fns 2011-03-14 17:11:17 +00:00
gladman
57ff0963b9 2011-03-14 15:51:54 +00:00
jasonmoxham
9ead216342 autoreconf -f with the latest autotools automake 1.11.1 autoconf 2.68 libtool 2.4 2011-03-05 16:47:46 +00:00
jasonmoxham
cd09dcf7c0 autotools 2011-02-23 08:34:08 +00:00
jasonmoxham
0f87f64b65 update version numbers to 2.3.0-RC1 2011-02-23 00:00:48 +00:00
jasonmoxham
23a8669142 add mem tests to t-rand.c 2011-02-17 00:49:04 +00:00
jasonmoxham
f4bf40a93c add memory check to t-mulmid 2011-02-16 22:03:41 +00:00
gladman
a7ea5bf817 Minor typos in source code 2010-12-17 20:15:59 +00:00
jasonmoxham
1fd4c7b44a adjust try.c for redc_1 changes 2010-12-16 23:02:29 +00:00
jasonmoxham
c23be9f56f changed order of params for redc_1 for all the C code , just asm and try.c to do 2010-12-16 04:54:51 +00:00