You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current guard to prevent FPEs is way too restrictive; `64 ** 11` is
a perfectly reasonable operation. Instead, we now estimate the number
of bytes of the resulting GMP (assuming that numbers are stored base
256 encoded), and fail if that exceeds a given threshold. The chosen
threshold is somewhat arbitrary.
We also ensure that we do not prematurely convert a given non int base
to an int to avoid overflow which could circumvent our early check.
0 commit comments