Commit graph

38 commits

Author SHA1 Message Date
Fredrik Johansson
8a4943b533 add _fmpr_set_round_mpn, and simplify the implementation of fmpr_mul 2013-05-24 17:26:54 +02:00
Fredrik Johansson
8c20cc8eed fix fmpr_get_fmpz for tiny numbers and rounding to nearest 2013-03-26 17:40:25 +01:00
Fredrik Johansson
d617631775 avoid potential overflow issue in fmpr add/sub 2013-03-25 14:19:18 +01:00
Fredrik Johansson
35dfbda6b3 add fmpr_sum for accurate summation 2013-03-14 15:13:44 +01:00
Fredrik Johansson
605e503325 slightly stronger test code for fmpr_normalise 2013-03-14 14:42:17 +01:00
Fredrik Johansson
baea0078cc handle zero quickly in get_d 2013-03-03 19:17:02 +01:00
Fredrik Johansson
ce0a218839 add fmpr_root, fmprb_root (placeholder code) 2013-02-28 14:32:59 +01:00
Fredrik Johansson
de6acc668a test large exponents 2013-02-17 19:34:51 +01:00
Fredrik Johansson
edd48c1652 improve fmpr_cmp_2exp_si, fmpr_cmpabs_2exp_si 2013-02-17 19:29:23 +01:00
Fredrik Johansson
f872b2f6b2 add fmpz_extras module to collect fmpz helper functions 2013-02-17 17:58:15 +01:00
Fredrik Johansson
1a5e170598 add fmpr_get_fmpz, fmpr_get_si 2013-02-13 11:22:03 +01:00
Fredrik Johansson
5b4e35b750 tidy up float conversion functions 2013-02-05 15:10:27 +01:00
Fredrik Johansson
531e238541 fix some unused variable warnings 2013-01-26 21:11:31 +01:00
Fredrik Johansson
0280be9dfc remove some custom fmpz functions now defined in fmpz.h 2013-01-11 20:30:29 +01:00
Fredrik Johansson
f376100ac2 replace improper FMPR_PREC_EXACT with FMPR_RESULT_EXACT 2013-01-10 15:38:19 +01:00
Fredrik Johansson
b14b3ebad4 hopefully proper fix for aliasing issue 2013-01-09 18:08:08 +01:00
Fredrik Johansson
b76602eca5 make use of the improved set_round functions 2013-01-09 18:02:38 +01:00
Fredrik Johansson
604ba107b0 possible fix for a bug I don't understand 2013-01-09 18:01:30 +01:00
Fredrik Johansson
ef3a687c04 low-level set_round/normalise code 2013-01-09 16:36:21 +01:00
Fredrik Johansson
53b8e8b41f low-level fmpr multiplication code 2013-01-03 15:11:55 +01:00
Fredrik Johansson
658498eada arithmetic for complex polynomials 2012-11-08 15:49:44 +01:00
Fredrik Johansson
efbd560d83 generic code for infinite hypergeometric series 2012-10-08 16:28:28 +02:00
Fredrik Johansson
ef8b90f308 refactor into more fmpr helper functions 2012-09-21 13:53:20 +02:00
Fredrik Johansson
1640732747 re-allow large exponents in sqrt 2012-09-20 17:32:42 +02:00
Fredrik Johansson
9f7320c008 improve square roots 2012-09-20 17:11:59 +02:00
Fredrik Johansson
d251d25bef add fmpr_pow_sloppy, for magnitude bounding 2012-09-16 03:22:13 +02:00
Fredrik Johansson
c2a9b8b3e8 add cmpabs, fix bugs, and simplify division error bounding 2012-09-14 12:38:43 +02:00
Fredrik Johansson
0efb13c77c fix some bugs and add more test code 2012-09-13 13:47:22 +02:00
Fredrik Johansson
1fd8e36436 more code to support test writing 2012-09-10 17:07:41 +02:00
Fredrik Johansson
5c861c5329 add get/set_fmpz_2exp methods 2012-09-10 16:33:59 +02:00
Fredrik Johansson
0847d21f66 exp and log 2012-09-07 12:19:27 +02:00
Fredrik Johansson
b0b7c2fe6e some cleanup 2012-09-06 13:18:02 +02:00
Fredrik Johansson
24942a03c1 fmpq conversion code 2012-09-04 16:11:16 +02:00
Fredrik Johansson
c0800fbf08 fix addition bugs and strengthen test code 2012-09-04 15:17:03 +02:00
Fredrik Johansson
0ce37a3278 add cmp method 2012-09-03 00:05:16 +02:00
Fredrik Johansson
dc2a3cd404 code for gamma and zeta(n); some bugfixes 2012-09-02 06:09:40 +02:00
Fredrik Johansson
3695c29072 more functions, and first version of ball arithmetic 2012-09-01 23:32:52 +02:00
Fredrik Johansson
09990f94bc fmpz based floating-point arithmetic (experimental) 2012-08-05 19:57:08 +02:00