mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
closes bpo-34640: Remove the TANH_PRESERVES_ZERO_SIGN configure check. (GH-9206)
This commit is contained in:
parent
7f0d59f3a8
commit
865c17fb28
5 changed files with 0 additions and 81 deletions
|
@ -1355,8 +1355,6 @@ class MathTests(unittest.TestCase):
|
|||
self.assertTrue(math.isnan(math.tanh(NAN)))
|
||||
|
||||
@requires_IEEE_754
|
||||
@unittest.skipIf(sysconfig.get_config_var('TANH_PRESERVES_ZERO_SIGN') == 0,
|
||||
"system tanh() function doesn't copy the sign")
|
||||
def testTanhSign(self):
|
||||
# check that tanh(-0.) == -0. on IEEE 754 systems
|
||||
self.assertEqual(math.tanh(-0.), -0.)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue