Commit graph

586 commits

Author SHA1 Message Date
Fredrik Johansson
719ede74af more bugfixes and test code 2014-05-08 16:49:39 +02:00
Fredrik Johansson
0998aa9821 more code and test code 2014-05-08 14:48:36 +02:00
Fredrik Johansson
42ba244929 more work 2014-05-06 20:38:49 +02:00
Fredrik Johansson
cdf38c64ba correction 2014-05-06 19:17:29 +02:00
Fredrik Johansson
c268754bb0 very rough initial code for mag_t and arb_t types 2014-05-06 15:31:17 +02:00
Fredrik Johansson
4d66d4968a more multiplication and addmul/submul methods 2014-05-05 10:52:51 +02:00
Fredrik Johansson
a47e1580c6 Merge remote branch 'origin/arf' into arf 2014-05-05 08:15:06 +02:00
Fredrik Johansson
7f7a8539ef Merge remote branch 'origin' into arf 2014-05-05 08:14:48 +02:00
Fredrik Johansson
51976c133e increase precision in test code 2014-05-05 00:11:26 +02:00
Fredrik Johansson
6b30ee4363 add sqrt and rsqrt methods 2014-05-04 20:22:37 +02:00
Fredrik Johansson
4b46190fb3 return exact for exact square roots in fmpr_sqrt 2014-05-04 19:19:16 +02:00
Fredrik Johansson
e38c10f6df Merge branch 'master' into arf 2014-05-04 02:26:57 +02:00
Fredrik Johansson
e72abb11ef division code 2014-05-04 02:01:18 +02:00
Fredrik Johansson
e3dd63c937 let this be 1.1.0 2014-05-03 04:59:54 +02:00
Fredrik Johansson
25280b7342 don't assume that libm is sane 2014-05-03 04:36:10 +02:00
Fredrik Johansson
a3d582730c add code from a future flint version, and silence a warning 2014-05-03 03:19:05 +02:00
Fredrik Johansson
dd959c3ef9 more subtraction methods 2014-05-03 01:38:53 +02:00
Fredrik Johansson
1e1a59fa97 include module in Makefile.in 2014-05-03 01:17:23 +02:00
Fredrik Johansson
b505521b53 cleanup 2014-05-02 20:30:00 +02:00
Fredrik Johansson
08ea29c72f add add_si/ui/fmpz methods 2014-05-02 20:23:59 +02:00
Fredrik Johansson
3a16b8587d add sub 2014-05-02 17:59:34 +02:00
Fredrik Johansson
81055070cf preliminary addition code; some other code adjustments 2014-05-02 15:09:11 +02:00
Fredrik Johansson
0c4dcd412f replace function 2014-04-28 06:38:48 +02:00
Fredrik Johansson
7c0cf13fc9 multiplication code 2014-04-28 00:45:55 +02:00
Fredrik Johansson
24a8a6b31f more functions and test functions 2014-04-27 00:32:37 +02:00
Fredrik Johansson
d9a6e43aba add more functions 2014-04-26 23:16:23 +02:00
Fredrik Johansson
64b737e7e9 more test code 2014-04-26 20:45:46 +02:00
Fredrik Johansson
15a45f69c0 add more test code 2014-04-26 20:14:57 +02:00
Fredrik Johansson
28f4c0d6a3 change order of fmpr rnd defs 2014-04-26 20:14:43 +02:00
Fredrik Johansson
53a9ecc740 rounding code 2014-04-26 18:06:26 +02:00
Fredrik Johansson
92572d7910 rm whitespace 2014-04-24 22:59:11 +02:00
Fredrik Johansson
4bc3ad084d +sgn, abs, cmp, cmpabs, get_mpfr, randtest, and some initial test code 2014-04-24 22:56:39 +02:00
Fredrik Johansson
8ca6eb9865 the mpn_scan1 code is no longer used 2014-04-24 21:31:43 +02:00
Fredrik Johansson
4d165cfb1c another experimental floating-point type 2014-04-24 21:29:05 +02:00
Fredrik Johansson
7c6b3fb932 fix bug in mul_1x1 2014-04-18 16:25:35 +02:00
Fredrik Johansson
0244fe0e46 Fix evil bug in floating-point arithmetic and strengthen test code.
When rounding up, the error bound sometimes came out as 1/2 ulp instead of 1 ulp due to the mantissa rounding up to the next power of two, without a corresponding exponent correction. Fortunately, this should not affect ball arithmetic (which always rounds down).
2014-04-18 16:19:53 +02:00
Fredrik Johansson
ef5998f085 merge 2014-04-18 16:19:32 +02:00
Fredrik Johansson
5697316463 simplify interface 2014-04-18 16:17:42 +02:00
Fredrik Johansson
24c2f11721 some code reorganisation; optimise fmpr_mul_si/ui/fmpz 2014-04-18 16:17:22 +02:00
Fredrik Johansson
462cd887ff use doubles for faster error bounds in fmprb_poly_mullow_block2 2014-04-16 22:57:15 +02:00
Fredrik Johansson
8c71a3c8dc more accurate version of fmprb_poly_mullow_block (two full poly muls for error bounds) 2014-04-15 17:07:02 +02:00
Fredrik Johansson
bd4696419b Merge remote branch 'origin/master' 2014-04-15 17:02:14 +02:00
Fredrik Johansson
e310ff122a remove an unused variable and rename an internal function to avoid namespace conflict with flint 2014-04-15 17:01:45 +02:00
Fredrik Johansson
b0a65420ac minor doc tweaks 2014-04-05 12:01:45 +02:00
Fredrik Johansson
009a0eb918 respect use_doubles 2014-03-29 18:39:15 +01:00
Fredrik Johansson
f31b7c29f6 use the new fmpz_poly_cos_minpoly in flint instead of elefun_cos_minpoly 2014-03-29 07:42:16 +01:00
Fredrik Johansson
3e1f679259 include multithreaded partition function and update documentation 2014-03-28 17:00:10 +01:00
Fredrik Johansson
909e929f07 fix a comment 2014-03-28 15:45:06 +01:00
Fredrik Johansson
1959ebe699 typo 2014-03-04 12:55:38 +01:00
Fredrik Johansson
72059632d1 document new exponential function code 2014-03-04 12:39:12 +01:00