[New-bugs-announce] [issue23185] add inf and nan to math module
Ethan Furman
report at bugs.python.org
Wed Jan 7 17:33:44 CET 2015
New submission from Ethan Furman:
Proposal:
math.nan = float('nan')
math.inf = float('inf')
Guido's approval:
https://mail.python.org/pipermail/python-ideas/2015-January/030775.html
Followup question:
Do we add a math.neginf, or somesuch, for float('-inf')? Or just use -math.inf?
----------
keywords: easy
messages: 233580
nosy: ethan.furman
priority: normal
severity: normal
status: open
title: add inf and nan to math module
type: enhancement
versions: Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23185>
_______________________________________
More information about the New-bugs-announce
mailing list