Author vstinner
Recipients brett.cannon, mark.dickinson, miss-islington, rhettinger, steven.daprano, stutzbach, tim.peters, vstinner
Date 2020-01-13.23:32:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1578958370.7.0.0735973772593.issue39310@roundup.psfhosted.org>
In-reply-to
Content
> Can I just say that "ulp" is totally non-obvious what that even means unless you have a specific math background?

The math.ulp() documentation explicitly says: https://docs.python.org/dev/library/math.html#math.ulp

   ULP stands for “Unit in the Last Place”.

The term "ulp" is commonly used when talking about IEEE 754 floating point numbers. It is used in numpy and Java for example.

test_math.py already had an ulp() function which was a pure Python implementation.

The term is also commonly used in math articles.

If you don't know the term "ulp", it's likely a *good thing*. You didn't have to suffer with rounding issues :-D
History
Date User Action Args
2020-01-13 23:32:50vstinnersetrecipients: + vstinner, tim.peters, brett.cannon, rhettinger, mark.dickinson, stutzbach, steven.daprano, miss-islington
2020-01-13 23:32:50vstinnersetmessageid: <1578958370.7.0.0735973772593.issue39310@roundup.psfhosted.org>
2020-01-13 23:32:50vstinnerlinkissue39310 messages
2020-01-13 23:32:50vstinnercreate