STINNER Victor <vstinner at python.org> added the comment: I created bpo-39310 to propose to add math.ulp(x). ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue39288> _______________________________________