Commit Graph

406 Commits

Author SHA1 Message Date
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
jasonmoxham
e34cec1068 change name of redc_basecase to redc_1 and export 2010-12-16 02:32:35 +00:00
jasonmoxham
b0588d3154 change some %u to %d in printf in the file test/memory.c 2010-11-19 08:49:36 +00:00
jasonmoxham
4be87d9bd4 refmpn_not should not try to return a value 2010-11-10 18:56:18 +00:00
jasonmoxham
a9769b1a86 exclude locale c++ test on mingw64 2010-11-10 10:23:32 +00:00
jasonmoxham
4f5a8535bf well the makefile wont work due to the diffences between libtool .o and .lo and yasm .o , so reverting that change 2010-10-24 18:15:19 +00:00
jasonmoxham
621ae4fac7 make asm to as changes for mingw64 via the makefile rules instead , as fat builds are very difficult to do in configure otherwise 2010-10-24 17:42:05 +00:00
jasonmoxham
433bd2f3bc exclude mingw64 from the t-locale test 2010-09-23 09:35:55 +00:00
jasonmoxham
2c9022bba8 update tests for mpf_get_d_2exp to test for -ve numbers for mpir 1.3 , 2.1 and trunk 2010-09-21 20:51:24 +00:00
jasonmoxham
7f277b01a1 update test for mpf_get_d to test for -ve numbers for mpir-1.3 , 2.1 and trunk 2010-09-21 20:33:57 +00:00
gladman
9763f40a45 Reinstate the misc.locale test in the Visual Studio 2010 build only 2010-09-07 09:51:17 +00:00
jasonmoxham
9769735610 ifdef out t-locale test for mingw64 and msvc 2010-08-28 12:27:07 +00:00
jasonmoxham
2708d3f949 replace divebyfobm1.* with divexact_byfobm1.* and rename consistently 2010-08-13 13:53:34 +00:00
jasonmoxham
a5859040cf new generic function mpn_not 2010-07-22 19:41:30 +00:00
jasonmoxham
19747946b0 autoreconf 2010-07-22 16:14:13 +00:00
jasonmoxham
db79b8b6a1 autoreconf 2010-07-22 16:02:34 +00:00
jasonmoxham
95d55c6d2e remove pre-build file gen-psqr.c dumbmp.c perfsqr.h 2010-07-21 18:46:02 +00:00
jasonmoxham
9d1c76e8f0 autotools 2010-07-21 18:22:11 +00:00
jasonmoxham
7894beb1eb add in dummy function to temp workaround newer autotools 2010-07-21 18:18:57 +00:00
jasonmoxham
bdeda038a7 autotools 2010-07-16 14:52:26 +00:00
jasonmoxham
ce00ee55ee trac ticket 295 , removed file and function mpn_ngcd 2010-07-16 14:41:05 +00:00
gladman
700ead092c Change "Bm1of" to "fobm1" in text files (hopefully fairly safe) 2010-07-09 15:09:09 +00:00
gladman
e3329a3beb Minor correction to function renaming changes 2010-07-09 12:48:04 +00:00
gladman
3d80645be9 1. Change symbol mpn_divexact_bybM1of to mpn_divexact_fobm1 in *.c, *.h, *.in and config.* files
2. Change filenames divebybm1of.<c|asm|as> to divebyfobm1.<c|asm|as>
3. Change filename t-divebybm1of.c to t-divebyfobm1.c 
4. Update Windows builds accordingly
2010-07-09 11:56:57 +00:00
jasonmoxham
05412d2802 remove cray and vax arch's 2010-07-03 16:06:14 +00:00
jasonmoxham
dcf1dd778a remove pw32 djgpp os2 unicos osf tru64 operating system support 2010-06-30 12:36:03 +00:00
jasonmoxham
0b262a4cfc remove demos directory from library 2010-06-25 10:32:08 +00:00
jasonmoxham
f678e5b412 autotools 2010-06-25 09:11:53 +00:00
jasonmoxham
0915c9390e removed support for m88k m88110 cpu 2010-06-25 08:55:46 +00:00
jasonmoxham
3fcd29a013 fix bug in gcdext test code when un<vn 2010-05-26 21:39:45 +00:00
mvngu
1d1de77a8d changes in Makefiles and configure scripts after running setversion for mpir-2.1.0-rc1 2010-05-26 03:43:56 +00:00
jasonmoxham
a30c5e78d9 change all mpn_sqr_n to mpn_sqr 2010-05-22 22:21:47 +00:00
jasonmoxham
27b4b1b82f set default flags for gcc to -O2 on itanium as gcc-4.5.0 barfs on -O3 2010-05-21 16:55:42 +00:00
wbhart
236fcac5c7 Fixed the xgcd normalisation issue and redid the tuning code for gcd and
xgcd.
2010-05-11 18:37:34 +00:00
wbhart
5184cd9331 Ran autoconf, etc. 2010-05-04 00:18:40 +00:00
(no author)
a5913aa247 add gpl/lgpl legal text to make dist 2010-04-07 18:55:56 +00:00
(no author)
f71d248c8e Added mpz_nthroot back in with tests code and correctly added inits and
clears to the library.
2010-04-04 18:18:25 +00:00
(no author)
d4634d0558 Updated library and version numbers. 2010-04-02 02:03:32 +00:00
(no author)
0b53d14850 Changed to new cutoff names in test code. 2010-03-23 15:29:21 +00:00
(no author)
5b91e6fe9d add divrem_2 to the fat structure 2010-03-18 15:27:42 +00:00
(no author)
a5d63349f9 Fixed some bugs in the division code. 2010-03-17 04:04:34 +00:00
(no author)
aa891e2415 More test code fiddling and asserts. 2010-03-16 19:28:45 +00:00
(no author)
91751025d4 Fixed some broken asserts and test code. 2010-03-16 16:05:48 +00:00
(no author)
fb11cdf6bd Fixed some test code so that asserts wouldn't fail. 2010-03-16 13:58:06 +00:00
(no author)
4ad343f4f3 Removed sb_divrem_mn 2010-03-14 16:02:32 +00:00
(no author)
36ca8eb0a9 Removed toom7 code. 2010-03-14 14:16:35 +00:00
(no author)
33cd4d77fa Lowered the iterations on two well tested functions. 2010-03-14 13:46:49 +00:00
(no author)
23404d7ee5 remove mpirbench from tarball trac ticket 275 2010-03-13 11:40:20 +00:00
(no author)
f05016d00d removed spurious param for toomX_sqr for try.exe 2010-03-08 20:06:46 +00:00
(no author)
8ff06ed3db remove use of __GMP_BITS_PER_MP_LIMB (obsolete define) from t-constants.c and Windows build 2010-03-08 09:03:17 +00:00
(no author)
581bbbff77 Added test code for dc_bdiv_q. 2010-03-02 22:18:31 +00:00
(no author)
5ac702b8e9 Added test code for dc_bdiv_qr. 2010-03-02 22:09:09 +00:00
(no author)
a4ceed9f68 Added test for dc_bdiv_qr_n. 2010-03-02 22:00:29 +00:00
(no author)
728e0e2346 Added test code for dc_bdiv_q_n. 2010-03-02 19:02:55 +00:00
(no author)
6238a1f3ec Changed the interface of the sb_bdiv functions and moved David Harvey's dc_bdiv
into place.
2010-03-02 18:47:33 +00:00
(no author)
3208d36d17 Added test code for sb_bdiv_qr. 2010-03-02 13:32:49 +00:00
(no author)
1455e3f181 Fixed bug in test code for sb_div_q and fixed comment in code for
latter.
2010-03-02 12:43:18 +00:00
(no author)
b44e0756f7 Added test code for sb_bdiv_q (which does not pass)!! 2010-03-02 02:54:55 +00:00
(no author)
98784fcf80 Ran automake and fixed the test. 2010-02-23 19:40:30 +00:00
(no author)
7fe8587ade Added test code for tdiv_qr. 2010-02-23 19:32:58 +00:00
(no author)
0abf16f103 Ran automake and fixed a typo. 2010-02-23 19:30:05 +00:00
(no author)
aeb325d9a9 Added test for inv_div_qr_n. 2010-02-23 19:27:18 +00:00
(no author)
698abddaa7 Ran automake. 2010-02-23 19:23:18 +00:00
(no author)
0f53f9eb89 Added test for inv_div_qr. 2010-02-23 19:19:36 +00:00
(no author)
954d2e4258 Ran automake. 2010-02-23 19:15:58 +00:00
(no author)
e4f2121e07 Added test for inv_div_q. 2010-02-23 19:13:24 +00:00
(no author)
575c38c7d6 Added an itch function. 2010-02-22 01:49:32 +00:00
(no author)
c98e613e37 Fixed a bug in inv_divappr_q and added a test for inv_divappr_q. 2010-02-20 01:02:01 +00:00
(no author)
fe5a013729 Added test for inv_divappr_q. 2010-02-19 23:54:27 +00:00
(no author)
e0ca4c9759 Ran automake and fixed the test. 2010-02-19 23:25:39 +00:00
(no author)
5d2b324fbd Added test code for dc_div_qr_n. 2010-02-19 23:12:12 +00:00
(no author)
7befb9443c Ran automake and fixed the test. 2010-02-19 22:52:35 +00:00
(no author)
821971548e Added test for dc_divappr_q. 2010-02-19 22:36:47 +00:00
(no author)
b572d22940 Ran automake and fixed a bug in the test. 2010-02-19 22:18:28 +00:00
(no author)
2ba08515f1 Added test for dc_div_qr. 2010-02-19 22:12:53 +00:00
(no author)
54f313fb2d Ran automake and fixed some bugs. 2010-02-19 21:59:10 +00:00
(no author)
53165d5298 Switched sb_div_qr test to test the right thing! Added test for dc_div_q. 2010-02-19 21:21:47 +00:00
(no author)
8908b35bcc Ran automake. 2010-02-19 21:17:12 +00:00
(no author)
9d334363a8 Added a test for sb_div_qr.c. 2010-02-19 21:15:16 +00:00
(no author)
e287b618a9 Ran automake and corrected test code. 2010-02-19 20:42:32 +00:00
(no author)
d0bd28e2d0 Added a new test for sb_div_q. 2010-02-19 20:27:08 +00:00
(no author)
19b37fb7c1 Added speed, tune and try code for toom8_mul/sqr and tuning for K102. 2010-02-18 14:50:40 +00:00
(no author)
f4ff463b94 remove debugging stub from rootrem test code (accidentally left in place) 2010-02-16 12:36:20 +00:00
(no author)
fcd1d8135f correct bug in rootrem.c 2010-02-16 10:49:25 +00:00
(no author)
abaf69fa91 Removed more refs to nthroot. 2010-02-13 23:06:29 +00:00
(no author)
785370139a Removed mpz_nthroot. 2010-02-13 23:00:48 +00:00
(no author)
0e11c9e8f8 Added test code for inv_divappr_q_n. 2010-02-13 17:02:32 +00:00
(no author)
c100247b24 Added a test for inv_divappr_q_n and made it pass. 2010-02-11 20:36:56 +00:00
(no author)
7f77cf2505 Fixed a bug in the sb_divappr_q test code. 2010-02-11 13:41:08 +00:00
(no author)
137aec1b8e Fixed tests so they pass. 2010-02-10 23:18:12 +00:00
(no author)
13055c8f46 Restored the t-headers test. 2010-02-08 20:18:09 +00:00
(no author)
9e3074548b correct t-headers.cc 2010-02-08 20:06:25 +00:00
(no author)
88c8b3e0f3 Add mp_bitcnt_t type to MPIR 2010-02-08 17:06:12 +00:00
(no author)
3306eae2a2 Add HAVE_NATIVE defines for Windows code 2010-02-07 17:33:56 +00:00
(no author)
06d4a32943 Added divrem_1 and divrem_2 x86_64 assembly code from GMP, replaced
divrem_euclidean_qr_1 with divrem_1.
2010-02-06 13:28:23 +00:00
wbhart
183443ab1e Added t-invert to tests/mpn. 2010-01-14 09:55:55 +00:00
wbhart
c4e57480dc Made t-invert a bit more comprehensive. 2009-12-12 21:02:09 +00:00
wbhart
47a2509990 Made likely_prime do 10 R tests and checked for not too many pseudoprimes in
test code.
2009-12-12 18:20:25 +00:00
wbhart
ac377dc877 Added my copyright and a small change to a print statement (not the only
change I have made to the code - there were others previously, but I had 
forgotten to put my (C) on it).
2009-12-08 15:47:04 +00:00
wbhart
7e6bd6d865 Added Paul's copyright. 2009-12-08 15:43:58 +00:00
wbhart
8bbe321913 Added test code for mpn_invert (currently fails for unknown reasons). 2009-12-08 15:42:25 +00:00