]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39310: Add math.ulp(x) (GH-17965)
authorVictor Stinner <vstinner@python.org>
Mon, 13 Jan 2020 11:44:35 +0000 (12:44 +0100)
committerGitHub <noreply@github.com>
Mon, 13 Jan 2020 11:44:35 +0000 (12:44 +0100)
commit0b2ab21956fbab8eab6d064060d4544499730316
treecb0be30aef9fcb0cba4aee16049219d908afdc23
parent7ba6f18de2582755ae31888ba6a4237d96dddc48
bpo-39310: Add math.ulp(x) (GH-17965)

Add math.ulp(): return the value of the least significant bit
of a float.
Doc/library/math.rst
Doc/library/sys.rst
Doc/whatsnew/3.9.rst
Lib/test/test_math.py
Misc/NEWS.d/next/Library/2020-01-12-13-34-42.bpo-39310.YMRdcj.rst [new file with mode: 0644]
Modules/clinic/mathmodule.c.h
Modules/mathmodule.c