We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e8277f commit ba2e77cCopy full SHA for ba2e77c
1 file changed
Lib/test/test_math.py
@@ -632,10 +632,6 @@ def test_fmax(self):
632
self.assertEqual(math.fmax(1., 2.), 2.)
633
self.assertEqual(math.fmax(2., 1.), 2.)
634
635
- # fmax() does not need to be sensitive to the sign of 0 (§F.10.9.2).
636
- self.assertEqual(math.fmax(+0., -0.), 0.)
637
- self.assertEqual(math.fmax(-0., +0.), 0.)
638
-
639
self.assertEqual(math.fmax(+1., +0.), 1.)
640
self.assertEqual(math.fmax(+0., +1.), 1.)
641
self.assertEqual(math.fmax(+1., -0.), 1.)
@@ -679,10 +675,6 @@ def test_fmin(self):
679
675
self.assertEqual(math.fmin(1., 2.), 1.)
680
676
self.assertEqual(math.fmin(2., 1.), 1.)
681
677
682
- # fmin() does not need to be sensitive to the sign of 0 (§F.10.9.3).
683
- self.assertEqual(math.fmin(+0., -0.), 0.)
684
- self.assertEqual(math.fmin(-0., +0.), 0.)
685
686
678
self.assertEqual(math.fmin(+1., +0.), 0.)
687
self.assertEqual(math.fmin(+0., +1.), 0.)
688
self.assertEqual(math.fmin(+1., -0.), 0.)
0 commit comments