Commit graph

146 commits

Author SHA1 Message Date
Fredrik Johansson
d11adcae3c optimize Euler's constant, rename function, and add error bounds 2013-03-21 15:30:28 +01:00
Fredrik Johansson
8b3689d43f improve contains/overlaps to (hopefully) work with huge exponents; add some test code 2013-03-14 16:29:04 +01:00
Fredrik Johansson
0cab328f01 fix a spurious test failure 2013-03-08 15:45:01 +01:00
Fredrik Johansson
79143c1c7e add fmprb_const_log10 2013-03-04 16:24:27 +01:00
Fredrik Johansson
74b2c9dc55 strengthen test code 2013-03-04 15:42:40 +01:00
Fredrik Johansson
dd965a1662 improve fmprb_log (slight speedup, detect powers of two, support large exponents) 2013-03-04 15:39:32 +01:00
Fredrik Johansson
397778e6c1 add const_e, const_log2, const_catalan 2013-03-04 12:55:54 +01:00
Fredrik Johansson
ee364152ff add real digamma function 2013-03-04 01:24:50 +01:00
Fredrik Johansson
b266ff1eca work to support the digamma function 2013-03-04 00:55:36 +01:00
Fredrik Johansson
d4943a8bd1 some rearrangement 2013-03-02 22:05:50 +01:00
Fredrik Johansson
81851f03d9 add fmprb_const_sqrt_pi 2013-03-01 13:49:16 +01:00
Fredrik Johansson
1a0e89c749 move zeta function implementation code to separate module (wip) 2013-02-28 17:24:50 +01:00
Fredrik Johansson
ec513f83c5 properly support extremely large arguments in gamma functions 2013-02-28 16:29:22 +01:00
Fredrik Johansson
dd686a901b add fmprb_agm 2013-02-28 15:29:19 +01:00
Fredrik Johansson
a433fecc1f add fmprb_set_interval_fmpr, fmprb_union 2013-02-28 15:13:21 +01:00
Fredrik Johansson
ce0a218839 add fmpr_root, fmprb_root (placeholder code) 2013-02-28 14:32:59 +01:00
Fredrik Johansson
c9da808f7c some moving things around 2013-02-28 12:38:22 +01:00
Fredrik Johansson
bbb8c2a90c faster high-precision rising factorials; reorg 2013-02-27 14:51:03 +01:00
Fredrik Johansson
9efe3ae4be faster high-precision cos(pi*p/q), sin(pi*p/q) using algebraic formulas and polynomial root-finding 2013-02-25 17:13:07 +01:00
Fredrik Johansson
9cf7151d5c minor version/date fix 2013-02-22 13:57:24 +01:00
Fredrik Johansson
493ec76e0e first versions of fmprb_[sin|cos|sin_cos]_pi_fmpq 2013-02-22 13:54:51 +01:00
Fredrik Johansson
6921bdcee4 add fmpcb_gamma, fmpcb_rgamma, fmpcb_lgamma and refactored Stirling series code 2013-02-20 11:58:08 +01:00
Fredrik Johansson
3bd6ad4cdd add fmprb_sin_pi, fmprb_cos_pi, fmprb_sin_cos_pi 2013-02-19 18:41:13 +01:00
Fredrik Johansson
6a6136fa99 add fmprb_atan2 with test code; use for and fix bug in fmpcb_arg 2013-02-19 11:17:21 +01:00
Fredrik Johansson
800663b950 minor optimization of gamma 2013-02-18 08:50:16 +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
6de124c41a don't use doubles to bound the error in zeta_ui 2013-02-13 08:25:35 +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
531e238541 fix some unused variable warnings 2013-01-26 21:11:31 +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
ba57c989fa better algorithm for gamma_series_fmpq 2013-01-15 12:09:26 +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
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
b76602eca5 make use of the improved set_round functions 2013-01-09 18:02:38 +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
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
Fredrik Johansson
4ce426946d initial code for computing Khinchin's constant 2012-12-12 10:18:08 +01:00
Fredrik Johansson
e926d23b4e improve tuning for zeta_ui for even n and huge precision 2012-12-11 15:32:15 +01:00