Commit Graph

27 Commits

Author SHA1 Message Date
William Hart
5548023724 Switch to using both types of precomputed inverse. 2014-02-20 20:21:04 +00:00
William Hart
89acc6b8ce Switch all precomputed inverses to new ones. 2013-04-15 17:39:36 +01:00
William Hart
e0922e5ce5 Changed the name of a macro. 2013-04-11 01:43:58 +01:00
jasonmoxham
225cdd47cd comment out un-needed header files 2011-05-08 22:38:55 +00:00
(no author)
fc4b189fc2 Removed a rubbish assert. 2010-03-18 00:27:09 +00:00
(no author)
96c9f0ead2 Some commits appear to have been missed. 2010-03-14 22:42:55 +00:00
(no author)
c4a820a8f9 Reverted changes to division cutoffs. 2010-03-04 19:14:24 +00:00
(no author)
c22d37cecd Fixed some more bugs. 2010-03-04 18:00:40 +00:00
(no author)
1d88fcbc0f Fixed a tuning bug and tuned for K102. 2010-02-19 16:53:01 +00:00
(no author)
f444a2bf6c Attempt to tune some of the division functions. 2010-02-19 12:54:56 +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)
e3b6db3580 Fixed some segfaults. 2010-02-11 18:52:17 +00:00
(no author)
5924f0b6da Added asymptotically fast division code. 2010-02-11 16:39:41 +00:00
(no author)
64da22761e Fixed a bug I accidentally introduced into the code. 2010-02-11 13:59:20 +00:00
(no author)
f83a14a538 More fiddling with tuning. 2010-02-11 00:20:44 +00:00
(no author)
1d08ade198 Added sb_div_qr and dc_div_qr from GMP sources. Fixed some
bugs, incorrect #defines and fiddled with tuning.
2010-02-10 22:48:46 +00:00
(no author)
f4a69eec60 Added sb_div_q, sb_divappr_q from GMP and tdiv_3by2 and invert_1 from GMP
and changed everything to use them.
2010-02-10 11:17:59 +00:00
(no author)
61e882ef48 Added sb_div_q based on dc_div_q code.
Added better tuning values.
Fixed a segfault.
2010-02-10 02:09:24 +00:00
(no author)
068f94dd5c Fixed a segfault. 2010-02-09 23:25:48 +00:00
(no author)
9086a12d6c Moved dcpi1_dc_div_q.c from GMP to dc_div_q.c (modified trivially).
Moved dcpi1_divappr_q.c from GMP to dc_divappr_q.c (modified heavily to use 
only MPIR functions), removing dcpi1_divappr_q_n function. Moved div_q.c 
from GMP to tdiv_q.c (modified trivially). 

Currently tests do not pass. More work required!
2010-02-09 21:19:08 +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
9cb7c5cf1f Switch over to exact quotient when divisor gets large in mpn_tdiv_q. 2009-11-17 13:15:23 +00:00
wbhart
19c4d52566 Fixed a carry bug in mpn_tdiv_q and added the failing cases to tests/mpz/t-tdiv.c. 2009-10-13 04:52:00 +00:00
wbhart
380b80372a Fixed some bugs in mpn_tdiv_q and added a try test for mpn_tdiv_q. 2009-10-11 06:46:10 +00:00
wbhart
8258200ecb Fixed a major bug in mpn_tdiv_q and extended some tests to run longer. 2009-10-08 11:54:06 +00:00
wbhart
a4d22db74e Extended the mpz/t-tdiv test and fixed a bug in mpn_tdiv_q. 2009-10-08 02:54:11 +00:00
wbhart
938a8de8ed Added fast mpn_tdiv_q and test code and used it in mpz_tdiv_q. 2009-10-07 05:27:59 +00:00