Author vstinner
Recipients mark.dickinson, rhettinger, stutzbach, vstinner
Date 2020-01-12.17:45:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1578851151.35.0.67639689792.issue39310@roundup.psfhosted.org>
In-reply-to
Content
See also math.isclose() and its PEP 485 which mentions ULP (Unit in the Last Place)... in the "Inappropriate uses" section :-)

* https://docs.python.org/dev/library/math.html#math.isclose
* https://www.python.org/dev/peps/pep-0485/#inappropriate-uses

Extract of an old python-ideas discussion on adding nextafter():

"It's also a little weird to jump from nextafter to isclose, since AFAIK
they have pretty much non-overlapping use cases..."

https://mail.python.org/pipermail/python-ideas/2017-February/044832.html

Other links:

* https://en.wikipedia.org/wiki/Unit_in_the_last_place
* https://en.wikipedia.org/wiki/Machine_epsilon
* https://en.wikipedia.org/wiki/IEEE_754
History
Date User Action Args
2020-01-12 17:45:51vstinnersetrecipients: + vstinner, rhettinger, mark.dickinson, stutzbach
2020-01-12 17:45:51vstinnersetmessageid: <1578851151.35.0.67639689792.issue39310@roundup.psfhosted.org>
2020-01-12 17:45:51vstinnerlinkissue39310 messages
2020-01-12 17:45:51vstinnercreate