]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-123836: Check zero signs in math_testcases.txt (GH-123854) (#124161)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 30 Sep 2024 01:14:44 +0000 (03:14 +0200)
committerGitHub <noreply@github.com>
Mon, 30 Sep 2024 01:14:44 +0000 (18:14 -0700)
commit5e2711775e4c8fa8f5af854888e88311e04d2069
tree2e190ea02a0d84862288ef2870600e2f9074e5f0
parent99185bd6498bec3d690680c9fb7b8a938b45ae21
[3.13] gh-123836: Check zero signs in math_testcases.txt (GH-123854) (#124161)

gh-123836: Check zero signs in math_testcases.txt (GH-123854)

Just like cmath_testcases.txt. These tests require IEEE 754 anyway.

Correct zero sign for sqrt tests to match math.h convention.
(cherry picked from commit 28aea5d07d163105b42acd81c1651397ef95ea57)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Lib/test/test_math.py