]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] Correct frexp() docs for zero and non-finite numbers (GH-149753) (GH-150653)
authorSergey B Kirpichev <skirpichev@gmail.com>
Sun, 31 May 2026 08:02:32 +0000 (11:02 +0300)
committerGitHub <noreply@github.com>
Sun, 31 May 2026 08:02:32 +0000 (08:02 +0000)
commit942ba2d87e1520647937a1f7b3971c4e5cd6dde1
tree97388be300294bbc9b483aff331cf6f568f284bc
parent3d80ead920830d2a39e9440240fabb33e20eab8d
[3.14] Correct frexp() docs for zero and non-finite numbers (GH-149753) (GH-150653)

0.5 <= abs(m) < 1 is only true for finite nonzero numbers
(cherry picked from commit 5b5ffce05c211a5b0b74cd95eeb4c463614ee136)
Doc/library/math.rst
Modules/clinic/mathmodule.c.h
Modules/mathmodule.c