mirror of
https://github.com/vale981/arb
synced 2025-03-05 09:21:38 -05:00
acb_lambertw: slightly better check for using -1/e series
This commit is contained in:
parent
12adc8747d
commit
fd3801531c
1 changed files with 2 additions and 2 deletions
|
@ -420,8 +420,8 @@ acb_lambertw_try_near_branch_point(acb_t res, const acb_t z,
|
|||
|| (fmpz_equal_si(k, -1) && arb_is_nonnegative(acb_imagref(z))))
|
||||
{
|
||||
if (acb_contains_zero(ez1) ||
|
||||
(arf_cmpabs_2exp_si(arb_midref(acb_realref(ez1)), -prec / 4.5) < 0 &&
|
||||
arf_cmpabs_2exp_si(arb_midref(acb_imagref(ez1)), -prec / 4.5) < 0))
|
||||
(arf_cmpabs_2exp_si(arb_midref(acb_realref(ez1)), -prec / 4.5 - 6) < 0 &&
|
||||
arf_cmpabs_2exp_si(arb_midref(acb_imagref(ez1)), -prec / 4.5 - 6) < 0))
|
||||
{
|
||||
acb_t t;
|
||||
acb_init(t);
|
||||
|
|
Loading…
Add table
Reference in a new issue