Author: Benjamin Peterson <benja...@python.org> Branch: py3.5 Changeset: r93690:dbc3ed3f19fb Date: 2018-01-20 10:44 -0800 http://bitbucket.org/pypy/pypy/changeset/dbc3ed3f19fb/
Log: fix isfinite calls that incorrectly became isinf in a7d7fd1b9931 diff --git a/pypy/module/math/interp_math.py b/pypy/module/math/interp_math.py --- a/pypy/module/math/interp_math.py +++ b/pypy/module/math/interp_math.py @@ -355,8 +355,8 @@ v = hi del partials[added:] if v != 0.0: - if not math.isinf(v): - if math.isinf(original): + if not rfloat.isfinite(v): + if rfloat.isfinite(original): raise oefmt(space.w_OverflowError, "intermediate overflow") if math.isinf(original): inf_sum += original _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit