"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "mpmath/tests/extratest_zeta.py" between
mpmath-1.0.0.tar.gz and mpmath-1.1.0.tar.gz

About: mpmath is a Python library for arbitrary-precision floating-point arithmetic.

extratest_zeta.py  (mpmath-1.0.0):extratest_zeta.py  (mpmath-1.1.0)
skipping to change at line 30 skipping to change at line 30
t2 = clock() t2 = clock()
print("ok =", ok, ("(time = %s)" % round(t2-t1,3))) print("ok =", ok, ("(time = %s)" % round(t2-t1,3)))
print("Now computing two huge zeros (this may take hours)") print("Now computing two huge zeros (this may take hours)")
print("Computing zetazero(8637740722917)") print("Computing zetazero(8637740722917)")
ok = zetazero(8637740722917).ae(complex(0.5,2124447368584.39296466152)) ok = zetazero(8637740722917).ae(complex(0.5,2124447368584.39296466152))
print("ok =", ok) print("ok =", ok)
ok = zetazero(8637740722918).ae(complex(0.5,2124447368584.39298170604)) ok = zetazero(8637740722918).ae(complex(0.5,2124447368584.39298170604))
print("ok =", ok) print("ok =", ok)
if __name__ == "__main__": if __name__ == "__main__":
try:
import psyco
psyco.full()
except ImportError:
pass
test_zetazero() test_zetazero()
 End of changes. 1 change blocks. 
5 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)