]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-132876: workaround broken ldexp() on Windows 10 (GH-133135) (#134685)
authorSergey B Kirpichev <skirpichev@gmail.com>
Mon, 26 May 2025 03:39:34 +0000 (06:39 +0300)
committerGitHub <noreply@github.com>
Mon, 26 May 2025 03:39:34 +0000 (22:39 -0500)
commite483dcf19eee7143ba76d1829afc1052053a904e
tree9440f7e4263f3112ac1fa4265edd37a16505075d
parentf331d03e887436af5a6ae4c48ecb6e7b800fbf36
[3.13] gh-132876: workaround broken ldexp() on Windows 10 (GH-133135) (#134685)

* gh-132876: workaround broken ldexp() on Windows 10

ldexp() fails to round subnormal results before Windows 11,
so hide their bug.
(cherry picked from commit cf8941c60356acdd00055e5583a2d64761c34af4)

Co-authored-by: Tim Peters <tim.peters@gmail.com>
Lib/test/test_math.py
Misc/NEWS.d/next/Library/2025-04-29-11-48-46.gh-issue-132876.lyTQGZ.rst [new file with mode: 0644]
Modules/mathmodule.c