Home
last modified time | relevance | path

Searched refs:split_zeros (Results 1 – 1 of 1) sorted by relevance

/third_party/python/Lib/test/
Dtest_complex.py378 def split_zeros(x): function
382 self.assertEqual(split_zeros(complex(1., 0.).imag), split_zeros(0.))
383 self.assertEqual(split_zeros(complex(1., -0.).imag), split_zeros(-0.))
384 self.assertEqual(split_zeros(complex(0., 1.).real), split_zeros(0.))
385 self.assertEqual(split_zeros(complex(-0., 1.).real), split_zeros(-0.))