]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-123836: Check zero signs in math_testcases.txt (GH-123854) (#124162)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 17 Sep 2024 08:39:44 +0000 (10:39 +0200)
committerGitHub <noreply@github.com>
Tue, 17 Sep 2024 08:39:44 +0000 (08:39 +0000)
commitc54ee87278889cad186e8615bb4e246ed03dcd3c
treeac65c6f9a9adb16de6567057604a52318b27ff1b
parent92bc7140332fc257603d1e913eb71d697e19bcea
[3.12] gh-123836: Check zero signs in math_testcases.txt (GH-123854) (#124162)

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