I have ubuntu 18.04 and sage 8.9 with python3. I set:
import mpmath
mpmath.mp.prec = 10000
and I am trying solve
mpmath.findroot(lambda x: x^2 - 3, 100)
then I have an error, end of messege:
/home/nouret/SageMath/local/lib/python3.7/site-packages/mpmath/libmp/libintmath.py in numeral_python(n, base, size, digits)
156 # Divide in half
157 half = (size // 2) + (size & 1)
--> 158 A, B = divmod(n, base**half)
159 ad = numeral(A, base, half, digits)
160 bd = numeral(B, base, half, digits).rjust(half, "0")
SystemError: <built-in function divmod> returned a result with an error set
With prec less then 800+ change I have no error, but I need big precision.