Sergey B Kirpichev
99185bd649
[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)
2024-09-29 18:14:02 -07:00
..
2024-05-03 11:30:55 -04:00
2024-07-19 09:13:08 +00:00
2024-09-06 15:18:01 +02:00
2024-03-26 00:35:26 +00:00
2024-07-25 16:06:31 +00:00
2024-05-09 16:31:38 +00:00
2024-06-24 20:24:19 +02:00
2024-06-21 20:20:41 +00:00
2024-04-08 10:58:38 -04:00
2024-09-02 13:11:06 +02:00
2024-06-20 16:00:25 +00:00
2024-08-27 12:07:17 +03:00
2024-09-23 17:23:54 -07:00
2024-05-03 11:30:55 -04:00
2024-09-26 13:36:12 -07:00
2024-09-05 13:37:40 +02:00
2024-05-03 11:30:55 -04:00
2024-09-03 12:36:42 +02:00
2024-05-03 11:30:55 -04:00
2024-05-03 11:30:55 -04:00
2024-05-03 11:30:55 -04:00
2024-07-01 19:40:28 +00:00
2024-05-03 11:30:55 -04:00
2024-07-25 07:29:36 +00:00
2024-07-01 08:35:38 +00:00
2024-07-01 08:35:38 +00:00
2024-07-29 21:55:28 +03:00
2024-05-03 11:30:55 -04:00
2024-09-02 13:10:09 +02:00
2024-06-27 12:13:01 +00:00
2024-05-03 11:30:55 -04:00
2024-05-03 11:30:55 -04:00
2024-05-03 11:30:55 -04:00
2024-07-15 20:15:47 +00:00
2024-07-15 20:15:47 +00:00
2024-07-15 20:15:47 +00:00
2024-05-03 11:30:55 -04:00
2024-05-06 11:04:39 +03:00
2024-07-19 09:13:08 +00:00
2024-07-19 04:10:11 +00:00
2024-05-03 11:30:55 -04:00
2024-06-26 15:35:19 +02:00
2024-06-24 20:24:19 +02:00
2024-09-02 13:17:16 +02:00
2024-05-03 11:30:55 -04:00
2024-05-03 11:30:55 -04:00
2024-05-03 11:30:55 -04:00
2024-05-03 11:30:55 -04:00
2024-05-03 11:30:55 -04:00
2024-05-03 11:30:55 -04:00
2024-05-03 11:30:55 -04:00
2024-09-29 18:06:32 -07:00
2024-05-03 11:30:55 -04:00
2024-05-03 11:30:55 -04:00
2024-05-06 18:59:36 +02:00
2024-01-29 16:45:31 +01:00
2024-08-06 23:37:10 +02:00
2024-05-06 18:59:36 +02:00
2024-09-02 13:03:04 +02:00
2024-05-07 14:50:41 +00:00
2024-05-03 11:30:55 -04:00
2024-06-26 15:32:00 -06:00
2024-08-27 12:07:17 +03:00
2024-05-06 18:59:36 +02:00
2024-09-23 12:56:00 -07:00
2024-07-19 17:49:34 +00:00
2024-06-24 09:45:45 +00:00
2024-05-06 18:59:36 +02:00
2024-08-28 18:57:28 -07:00
2024-05-03 11:30:55 -04:00
2024-07-23 17:30:58 +00:00
2024-09-02 12:58:53 +02:00
2024-06-10 10:18:18 +00:00
2024-07-19 09:13:08 +00:00
2024-05-03 11:30:55 -04:00
2024-05-07 11:18:45 +02:00
2024-05-03 11:30:55 -04:00
2024-05-03 11:30:55 -04:00
2024-07-19 09:13:08 +00:00
2024-08-16 16:07:27 +08:00
2024-05-03 11:30:55 -04:00
2024-07-11 21:00:28 +00:00
2024-07-11 21:00:28 +00:00
2024-05-03 11:30:55 -04:00
2024-06-03 22:47:34 +00:00
2024-07-22 13:36:57 +02:00
2024-08-09 14:45:04 -07:00
2024-09-29 18:14:02 -07:00
2024-05-03 11:30:55 -04:00
2024-05-10 12:00:00 +01:00
2024-05-03 11:30:55 -04:00
2024-09-29 18:06:53 -07:00
2024-03-12 00:46:53 +00:00
2024-05-03 11:30:55 -04:00
2024-06-20 15:09:32 +01:00
2024-05-06 18:59:36 +02:00
2024-05-03 11:30:55 -04:00
2024-07-03 07:59:26 +00:00
2024-07-19 09:13:08 +00:00
2024-04-24 16:18:24 +00:00
2024-01-08 15:10:45 +00:00
2024-08-27 12:07:17 +03:00
2024-05-03 11:30:55 -04:00
2024-05-03 11:30:55 -04:00
2024-05-03 11:30:55 -04:00
2024-09-26 13:36:12 -07:00
2024-05-03 11:30:55 -04:00
2024-02-20 16:50:43 +00:00
2024-06-17 08:01:49 -07:00
2024-05-03 11:30:55 -04:00
2024-05-03 11:30:55 -04:00
2024-09-27 11:00:49 -07:00
2024-05-03 11:30:55 -04:00
2024-05-03 11:30:55 -04:00
2024-05-03 11:30:55 -04:00
2024-05-03 11:30:55 -04:00
2024-05-03 11:30:55 -04:00
2024-05-03 11:30:55 -04:00