]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-132876: workaround broken ldexp() on Windows 10 (#133135)
authorSergey B Kirpichev <skirpichev@gmail.com>
Mon, 26 May 2025 02:44:33 +0000 (05:44 +0300)
committerGitHub <noreply@github.com>
Mon, 26 May 2025 02:44:33 +0000 (21:44 -0500)
commitcf8941c60356acdd00055e5583a2d64761c34af4
treec90691e1738dbfaa73d75a97b4beb3cedcb5749e
parent0e3bc962c6462f836751e35ef35fa837fd952550
gh-132876: workaround broken ldexp() on Windows 10 (#133135)

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

ldexp() fails to round subnormal results before Windows 11,
so hide their bug.

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