mirror of
https://github.com/vale981/arb
synced 2025-03-06 01:41:39 -05:00
agm(1,-1) = 0
This commit is contained in:
parent
b9aab31961
commit
69564af91c
1 changed files with 4 additions and 0 deletions
|
@ -351,6 +351,10 @@ acb_agm1(acb_t m, const acb_t z, slong prec)
|
|||
{
|
||||
acb_agm1_basecase(m, z, prec);
|
||||
}
|
||||
else if (acb_equal_si(z, -1))
|
||||
{
|
||||
acb_zero(m);
|
||||
}
|
||||
else
|
||||
{
|
||||
/* use M(z) = (z+1)/2 * M(2 sqrt(z) / (z+1)) */
|
||||
|
|
Loading…
Add table
Reference in a new issue