Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
update arb to 2.12.0, doctest fixes, and #24369
Browse files Browse the repository at this point in the history
  • Loading branch information
dimpase committed Dec 11, 2017
1 parent 07d6c37 commit c793138
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions build/pkgs/arb/checksums.ini
@@ -1,4 +1,4 @@
tarball=arb-VERSION.tar.gz
sha1=2f06bfb433cdaecde0e824c5e638094fd666a0d1
md5=d63cdd1147104790826c93bc8651104f
cksum=2745482665
sha1=27476d0529e48a07d92da90bd0fb80dd18f443e3
md5=733285d9705d10b8024e551ffa81952f
cksum=2391183744
2 changes: 1 addition & 1 deletion build/pkgs/arb/package-version.txt
@@ -1 +1 @@
2.11.1.p0
2.12.0.p0
14 changes: 7 additions & 7 deletions src/sage/rings/complex_arb.pyx
Expand Up @@ -2603,7 +2603,7 @@ cdef class ComplexBall(RingElement):
EXAMPLES::
sage: CBF(0, -1).agm1()
[0.5990701173678 +/- 1.15e-14] + [-0.5990701173678 +/- 1.19e-14]*I
[0.599070117367796 +/- 3.9...e-16] + [-0.599070117367796 +/- 5.5...e-16]*I
"""
cdef ComplexBall res = self._new()
if _do_sig(prec(self)): sig_on()
Expand Down Expand Up @@ -3318,9 +3318,9 @@ cdef class ComplexBall(RingElement):
[0.002473055794309 +/- 5.01e-16] + [0.003859554040267 +/- 4.45e-16]*I,
[-0.01299087561709 +/- 4.72e-15] + [0.00725027521915 +/- 4.32e-15]*I]
sage: (z + 3 + 4*tau).elliptic_p(tau, 3)
[[-3.2892099677271 +/- 2.29e-14] + [-0.00036737673029 +/- 8.58e-15]*I,
[0.002473055794 +/- 6.59e-13] + [0.003859554040 +/- 6.17e-13]*I,
[-0.0129908756 +/- 3.39e-11] + [0.0072502752 +/- 3.60e-11]*I]
[[-3.28920996772709 +/- 8.4...e-15] + [-0.00036737673029 +/- 4.1...e-15]*I,
[0.0024730557943 +/- 6.6...e-14] + [0.0038595540403 +/- 8.8...e-14]*I,
[-0.01299087562 +/- 5.6...e-12] + [0.00725027522 +/- 3.5...e-12]*I]
"""
cdef ComplexBall my_tau = self._parent.coerce(tau)
Expand Down Expand Up @@ -3356,7 +3356,7 @@ cdef class ComplexBall(RingElement):
EXAMPLES::
sage: CBF(2,3).elliptic_k()
[1.0429132919285 +/- 3.65e-14] + [0.6296824723086 +/- 6.15e-14]*I
[1.04291329192852 +/- 5.9...e-15] + [0.62968247230864 +/- 3.4...e-15]*I
"""
cdef ComplexBall result = self._new()
Expand All @@ -3373,7 +3373,7 @@ cdef class ComplexBall(RingElement):
EXAMPLES::
sage: CBF(2,3).elliptic_e()
[1.472797144959 +/- 4.82e-13] + [-1.231604783936 +/- 1.25e-13]*I
[1.472797144959 +/- 4.5...e-13] + [-1.231604783936 +/- 9.5...e-14]*I
"""
cdef ComplexBall result = self._new()
Expand Down Expand Up @@ -3520,7 +3520,7 @@ cdef class ComplexBall(RingElement):
EXAMPLES::
sage: CBF(1/2).legendre_P(5)
0.08984375000000000
[0.08984375000000000 +/- 4.5...e-18]
sage: CBF(1,2).legendre_P(CBF(2,3), CBF(0,1))
[0.10996180744364 +/- 7.45e-15] + [0.14312767804055 +/- 8.38e-15]*I
sage: CBF(-10).legendre_P(5, 325/100)
Expand Down
4 changes: 2 additions & 2 deletions src/sage/rings/real_arb.pyx
Expand Up @@ -3451,7 +3451,7 @@ cdef class RealBall(RingElement):
sage: RBF(1/2).polylog(1)
[0.6931471805599 +/- 5.02e-14]
sage: RBF(1/3).polylog(1/2)
[0.44210883528067 +/- 6.75e-15]
[0.44210883528067 +/- 6.7...e-15]
sage: RBF(1/3).polylog(RLF(pi))
[0.34728895057225 +/- 5.51e-15]
Expand Down Expand Up @@ -3551,7 +3551,7 @@ cdef class RealBall(RingElement):
sage: RBF(1).agm(1)
1.000000000000000
sage: RBF(sqrt(2)).agm(1)^(-1)
[0.83462684167407 +/- 4.31e-15]
[0.83462684167407 +/- 3.9...e-15]
"""
cdef RealBall other_as_ball
cdef RealBall res = self._new()
Expand Down

0 comments on commit c793138

Please sign in to comment.