summaryrefslogtreecommitdiffstats
path: root/Python/instruction_sequence.c
diff options
context:
space:
mode:
authorSergey B Kirpichev <skirpichev@gmail.com>2024-09-30 01:14:02 (GMT)
committerGitHub <noreply@github.com>2024-09-30 01:14:02 (GMT)
commit99185bd6498bec3d690680c9fb7b8a938b45ae21 (patch)
tree3979913a41ce210cbf7c53f036480c577b1b1040 /Python/instruction_sequence.c
parent99dc0893c7e680a3d6b7c2a917a569681b95b8de (diff)
downloadcpython-99185bd6498bec3d690680c9fb7b8a938b45ae21.zip
cpython-99185bd6498bec3d690680c9fb7b8a938b45ae21.tar.gz
cpython-99185bd6498bec3d690680c9fb7b8a938b45ae21.tar.bz2
[3.13] gh-123836: workaround fmod(x, y) bug on Windows (GH-124171) (#124187)
Buildbot failure on Windows 10 with MSC v.1916 64 bit (AMD64): FAIL: testFmod (test.test_math.MathTests.testFmod) ---------------------------------------------------------------------- Traceback (most recent call last): File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_math.py", line 605, in testFmod self.ftest('fmod(-10, 1)', math.fmod(-10, 1), -0.0) ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_math.py", line 258, in ftest self.fail("{}: {}".format(name, failure)) ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: fmod(-10, 1): expected -0.0, got 0.0 (zero has wrong sign) Here Windows loose sign of the result; if y is nonzero, the result should have the same sign as x. This amends commit 28aea5d07d. (cherry picked from commit f4dd4402108cc005d45acd4ca83c8530c36a93ca)
Diffstat (limited to 'Python/instruction_sequence.c')
0 files changed, 0 insertions, 0 deletions