Commit 41e03100 authored by Stefan Krah's avatar Stefan Krah

Fix Overflow exception in the bignum factorial benchmark that is due to

the recent change of the default value for context.Emax.
parent 8dbbae99
......@@ -84,7 +84,10 @@ print("\n# =====================================================================
print("# Factorial")
print("# ======================================================================\n")
C.getcontext().prec = C.MAX_PREC
c = C.getcontext()
c.prec = C.MAX_PREC
c.Emax = C.MAX_EMAX
c.Emin = C.MIN_EMIN
for n in [100000, 1000000]:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment