[New-bugs-announce] [issue7536] float('inf')**2 != inf

Marcos Donolo report at bugs.python.org
Thu Dec 17 20:27:47 CET 2009

New submission from Marcos Donolo <mdonolo at vt.edu>:

The ** operator produces an error when it gets inf as an argument.
if I try.
-but if I try 
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OverflowError: (34, 'Result too large')
I should get inf too.

components: Interpreter Core
messages: 96527
nosy: mdonolo, tim_one
severity: normal
status: open
title: float('inf')**2 != inf
type: behavior
versions: Python 2.6

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list