[New-bugs-announce] [issue24730] Returning a float via a method yields in an approximate value received

Dorin report at bugs.python.org
Sun Jul 26 19:43:12 CEST 2015


New submission from Dorin:

I was making a script to get some best configurations in a recursive manner when I noticed a weird result. In the attached script the method should return 1.3 but it received 1.2999999997

----------
components: Macintosh
files: recursive.py
messages: 247444
nosy: ned.deily, ronaldoussoren, terminadoru
priority: normal
severity: normal
status: open
title: Returning a float via a method yields in an approximate value received
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file40034/recursive.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24730>
_______________________________________


More information about the New-bugs-announce mailing list