New submission from David Howlett:

float('inf') returns a float with a value of inf
float('∞') returns a float with a value of 8.0

I can't think of any justification for returning 8.0 other then ∞ looks like an 
8 turned sideways. I believe float('∞') should return inf.

----------
components: Unicode
messages: 269475
nosy: David Howlett, ezio.melotti, haypo
priority: normal
severity: normal
status: open
title: float('∞') returns 8.0
type: behavior
versions: Python 3.5

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27412>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to