]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] Correct frexp() docs for zero and non-finite numbers (GH-149753) (GH-150652)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 31 May 2026 10:04:18 +0000 (12:04 +0200)
committerGitHub <noreply@github.com>
Sun, 31 May 2026 10:04:18 +0000 (10:04 +0000)
commitc5655dfe51764e7e4dc2ba515acd03b8c96823a9
tree9c89b91279c75980028780f25366db417d6e9c83
parent2ff80c7533fca37d9a2044b3c01ad276d4f5e0cd
[3.15] Correct frexp() docs for zero and non-finite numbers (GH-149753) (GH-150652)

0.5 <= abs(m) < 1 is only true for finite nonzero numbers
(cherry picked from commit 5b5ffce05c211a5b0b74cd95eeb4c463614ee136)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Doc/library/math.rst
Modules/clinic/mathmodule.c.h
Modules/mathmodule.c