python / psf-infra-meta

Meta-repository for PSF backed or managed systems. Created mainly for the issue tracker :)
11 stars 7 forks source link

Float subtraction result is wrong in python in python 3.7.7 #65

Closed adios1k closed 3 years ago

adios1k commented 4 years ago

(base) kchakrabort-a01:~ kchakraborty$ python Python 3.7.7 (default, Mar 26 2020, 10:32:53) [Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin Type "help", "copyright", "credits" or "license" for more information.

-9.9 -- 10 0.09999999999999964

Result : was expecting .1

mdickinson commented 4 years ago

Hi @adios1k. The bug tracker for Python is at https://bugs.python.org; this is the bug tracker for PSF infrastructure.

Having said that, this isn't a Python bug. See https://docs.python.org/3/tutorial/floatingpoint.html for more discussion.

matrixise commented 3 years ago

@ewdurbin Could you close this one? Thanks