Commit graph

115 commits

Author SHA1 Message Date
Fredrik Johansson
cb15277968 slightly speed up pi computation 2013-06-09 16:34:53 +02:00
Fredrik Johansson
5ceaf24774 add reciprocal square root functions (fmpr_rsqrt, fmprb_rsqrt, fmprb_rsqrt) 2013-06-09 16:20:44 +02:00
Fredrik Johansson
9c6e1d71f3 arb-based cosine minpoly calculation 2013-05-31 17:33:12 +02:00
Fredrik Johansson
9939fbf0ca use fixed-point code for small low-precision exponential 2013-05-22 17:05:58 +02:00
Fredrik Johansson
968811522e fix an evil bug 2013-03-27 19:09:12 +01:00
Fredrik Johansson
289a780a73 more simple interfaces for zeta functions; implement functional equation 2013-03-27 18:25:00 +01:00
Fredrik Johansson
c186a9bef8 cleanup factorials and binomials 2013-03-27 17:35:26 +01:00
Fredrik Johansson
475bb2c8f3 reorg zeta related functions 2013-03-27 15:54:05 +01:00
Fredrik Johansson
7fa0542746 use cot_pi in digamma functional equation 2013-03-26 17:54:40 +01:00
Fredrik Johansson
1ddaeee5d7 complex tan_pi, cot_pi 2013-03-26 17:40:42 +01:00
Fredrik Johansson
c549675c0b add real tan, cot, and complex cos_pi 2013-03-26 13:58:27 +01:00
Fredrik Johansson
a1cada8ca9 add fmprb_tanh, fmprb_coth 2013-03-26 13:39:19 +01:00
Fredrik Johansson
f1d6faaf07 more work on powers 2013-03-26 13:39:06 +01:00
Fredrik Johansson
589f5bd8ce some more work on fmprb_pow and friends 2013-03-26 11:41:12 +01:00
Fredrik Johansson
569574d004 support huge exponents in sin, cos, atan 2013-03-25 12:04:47 +01:00
Fredrik Johansson
132d5da066 improve cosh/sinh (much simpler, and support huge exponents) 2013-03-24 22:06:28 +01:00
Fredrik Johansson
4f102eb83d fix fmprb_exp to support huge exponents; add fmprb_expm1 2013-03-24 18:46:04 +01:00
Fredrik Johansson
fb6e85669c fast gamma for rational and integer arguments 2013-03-22 23:48:18 +01:00
Fredrik Johansson
660da34f9d add fmprb_hypot 2013-03-22 12:34:57 +01:00
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