]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-132876: workaround broken ldexp() on Windows 10 (GH-133135) (#134684)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 26 May 2025 03:23:45 +0000 (05:23 +0200)
committerGitHub <noreply@github.com>
Mon, 26 May 2025 03:23:45 +0000 (22:23 -0500)
commit16187b58bff9ccf6f800ba908ad5dae441fcb6a1
tree5c1820fa8b50f80ea2cd1b30c2e790aa0391cb2f
parent7216f7b59c30313fa27a30765fc7340df2f5ccef
[3.14] gh-132876: workaround broken ldexp() on Windows 10 (GH-133135) (#134684)

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

* 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: Sergey B Kirpichev <skirpichev@gmail.com>
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