Commit graph

1506 commits

Author SHA1 Message Date
Fredrik Johansson
edd48c1652 improve fmpr_cmp_2exp_si, fmpr_cmpabs_2exp_si 2013-02-17 19:29:23 +01:00
Fredrik Johansson
66827debb0 add some more fmpcb helper functions 2013-02-17 18:23:29 +01:00
Fredrik Johansson
1250a8dc1a fix a missing include 2013-02-17 18:16:34 +01:00
Fredrik Johansson
f872b2f6b2 add fmpz_extras module to collect fmpz helper functions 2013-02-17 17:58:15 +01:00
Fredrik Johansson
927dd51379 improve basecase in fmprb_rfac_ui_bsplit at both low and high precision 2013-02-17 16:15:25 +01:00
Fredrik Johansson
fb18b0663c implement squaring formula and reduce number of temporaries in fmpcb_mul 2013-02-16 02:24:39 +01:00
Fredrik Johansson
ea7a826a39 code for computing the gamma function using Taylor series (wip) 2013-02-14 18:53:31 +01:00
Fredrik Johansson
1a5e170598 add fmpr_get_fmpz, fmpr_get_si 2013-02-13 11:22:03 +01:00
Fredrik Johansson
6de124c41a don't use doubles to bound the error in zeta_ui 2013-02-13 08:25:35 +01:00
Fredrik Johansson
e492edc046 change a #define to uppercase 2013-02-13 07:56:56 +01:00
Fredrik Johansson
36bbff2d78 minor cleanup 2013-02-13 07:55:24 +01:00
Fredrik Johansson
f841b598b5 remove unused cases in zeta_ui_bsplit 2013-02-13 07:52:01 +01:00
Fredrik Johansson
5b4e35b750 tidy up float conversion functions 2013-02-05 15:10:27 +01:00
Fredrik Johansson
00dd89d5db slight efficiency improvement for zeta_ui_bsplit, and finally document what the heck it does internally 2013-02-04 11:59:51 +01:00
Fredrik Johansson
fb64b6b5d5 slightly improve gamma Stirling series evaluation at high precision 2013-02-03 18:01:26 +01:00
Fredrik Johansson
a59cd1567d small efficiency improvement for fmprb_overlaps 2013-02-01 16:15:19 +01:00
Fredrik Johansson
82b5ef62ae fix accuracy problem in div_2expm1, and add test code 2013-02-01 16:15:02 +01:00
Fredrik Johansson
7946454c0a improve zeta sum by using sieving 2013-01-28 15:52:39 +01:00
Fredrik Johansson
4b045c9a23 call this 0.4 2013-01-26 21:22:36 +01:00
Fredrik Johansson
531e238541 fix some unused variable warnings 2013-01-26 21:11:31 +01:00
Fredrik Johansson
aefd8d98f4 fix some more minor docs issues 2013-01-25 18:51:44 +01:00
Fredrik Johansson
cbff842d50 update documentation 2013-01-25 17:56:01 +01:00
Fredrik Johansson
56ea7b2e3b slight improvements to zeta code; remove old implementation 2013-01-24 15:27:23 +01:00
Fredrik Johansson
3f0901e71a move hypgeom code to its own module, +improvements and docs 2013-01-23 15:54:38 +01:00
Fredrik Johansson
2a68e4bcb2 fix a typo 2013-01-20 01:20:56 +01:00
Fredrik Johansson
fa5ad50f6e fix error bounding for zeta_series, +docs, tests 2013-01-19 20:45:35 +01:00
Fredrik Johansson
3253390a97 update documentation 2013-01-15 12:16:20 +01:00
Fredrik Johansson
ba57c989fa better algorithm for gamma_series_fmpq 2013-01-15 12:09:26 +01:00
Fredrik Johansson
cd02409a6f also use tls for bernoulli numbers 2013-01-13 22:49:33 +01:00
Fredrik Johansson
71479a603d use thread-local storage for constant caches 2013-01-13 22:41:43 +01:00
Fredrik Johansson
71bb525f9a Merge remote-tracking branch 'github/master' 2013-01-13 20:26:01 +01:00
Fredrik Johansson
ad69cca2ea write down proof that the error bounding code in fmprb_mul does not overflow 2013-01-13 19:46:02 +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
7c7280243e fix a missing fmpr_init 2013-01-11 15:35:59 +01:00
Fredrik Johansson
96733b7083 low-level fmprb_mul 2013-01-10 19:19:18 +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
e680993c60 fix an off-by-one error 2012-12-26 11:26:43 +01:00
Fredrik Johansson
147297748f refine fmprb test functions; add gamma/rgamma/lgamma with test code 2012-12-22 21:29:11 +01:00
Fredrik Johansson
7a310917d7 don't throw an exception for negative numbers in fmprb_log 2012-12-22 21:28:22 +01:00
Fredrik Johansson
75055830c4 initialize variables 2012-12-19 20:03:15 +01:00
Fredrik Johansson
f8f70cc895 bugfix 2012-12-19 16:56:12 +01:00
Fredrik Johansson
e6e55f1a01 bugfix 2012-12-19 14:43:08 +01:00
Fredrik Johansson
76a4b8dcc1 faster Bernoulli number generation 2012-12-19 14:04:00 +01:00
Fredrik Johansson
2ba582364a add fmprb_get_unique_fmpz 2012-12-18 11:36:54 +01:00
Fredrik Johansson
f5043a929b improve div_2expm1 2012-12-17 22:00:41 +01:00