mirror of
https://github.com/vale981/arb
synced 2025-03-06 01:41:39 -05:00
real output for real input in 1F1
This commit is contained in:
parent
ef64707fa9
commit
7d503b31da
1 changed files with 5 additions and 0 deletions
|
@ -72,6 +72,11 @@ acb_hypgeom_m_asymp(acb_t res, const acb_t a, const acb_t b, const acb_t z, int
|
||||||
acb_mul(t, t, v, prec);
|
acb_mul(t, t, v, prec);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (acb_is_real(a) && acb_is_real(b) && acb_is_real(z))
|
||||||
|
{
|
||||||
|
arb_zero(acb_imagref(t));
|
||||||
|
}
|
||||||
|
|
||||||
acb_swap(res, t);
|
acb_swap(res, t);
|
||||||
|
|
||||||
acb_clear(t);
|
acb_clear(t);
|
||||||
|
|
Loading…
Add table
Reference in a new issue