STINNER Victor <vstin...@python.org> added the comment:

> 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

----------

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

Reply via email to