back to table · edit · history · where entries came from · files · download
443 bytes, as of the version from 2026-11-17 14:09 (current). Recorded here, not run.
import numberdb.sage as numberdb
from sage.rings.rational_field import QQ
from sage.rings.complex_arb import ComplexBallField
import time,mpmath as mp
C=ComplexBallField(512)
for z in ['-1/4','-4','-1024','27/64','-36828']:
t=time.monotonic();v=C(QQ(z)).hypergeometric([QQ(1)/2]*5,[1]*4)
print(z,'seconds',time.monotonic()-t,'value',v,'accuracy',v.accuracy(),flush=True)
mp.mp.dps=50
print('mpmath',mp.hyper([mp.mpf(1)/2]*5,[1]*4,-4))