[issue20543] ** operator does not overflow to inf

2020-11-07 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks, @iritkatriel. Sounds good to me. -- stage: -> resolved status: pending -> closed ___ Python tracker ___

[issue20543] ** operator does not overflow to inf

2020-11-06 Thread Irit Katriel
Irit Katriel added the comment: If there are no objections, I will close this as a duplicate of issue3222. -- nosy: +iritkatriel resolution: -> duplicate status: open -> pending superseder: -> inf*inf gives inf, but inf**2 gives overflow error ___

[issue20543] ** operator does not overflow to inf

2015-07-21 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: -ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue20543] ** operator does not overflow to inf

2014-02-07 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue20543] ** operator does not overflow to inf

2014-02-07 Thread Mark Dickinson
Mark Dickinson added the comment: See also #18570. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue20543] ** operator does not overflow to inf

2014-02-07 Thread Mark Dickinson
Mark Dickinson added the comment: And here's a link to the middle of a related discussion under the heading "Turn off ZeroDivisionError?" on python-list, Feb 2008. https://mail.python.org/pipermail/python-list/2008-February/473302.html You'd have to read up- and down-thread to get the entire d

[issue20543] ** operator does not overflow to inf

2014-02-07 Thread Mark Dickinson
Mark Dickinson added the comment: Issue #3222 is related. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue20543] ** operator does not overflow to inf

2014-02-07 Thread Mark Dickinson
Mark Dickinson added the comment: > Shouldn't floating-point operations overflow to inf, not generate exceptions? This has been discussed a few times before (I'll try to find the references). But to answer you question: actually, no. I think they *should* generate exceptions. That is, if I w

[issue20543] ** operator does not overflow to inf

2014-02-07 Thread Keith Randall
New submission from Keith Randall: >>> 1e200*1e200 inf >>> 1e200**2 Traceback (most recent call last): File "", line 1, in OverflowError: (34, 'Numerical result out of range') Shouldn't floating-point operations overflow to inf, not generate exceptions? -- components: Interpreter Cor