Lines Matching refs:infj
461 self.assertEqual(repr(complex(1., INF)), "(1+infj)")
462 self.assertEqual(repr(complex(1., -INF)), "(1-infj)")
464 self.assertEqual(repr(complex(-INF, INF)), "(-inf+infj)")
469 self.assertEqual(repr(complex(0, INF)), "infj")
470 self.assertEqual(repr(complex(0, -INF)), "-infj")
532 infj, nanj = complex(0.0, inf), complex(0.0, nan)
631 self.assertEqual('{0:f}'.format(complex(INF, INF)), 'inf+infj')
632 self.assertEqual('{0:F}'.format(complex(INF, INF)), 'INF+INFj')
633 self.assertEqual('{0:f}'.format(complex(INF, -INF)), 'inf-infj')
634 self.assertEqual('{0:F}'.format(complex(INF, -INF)), 'INF-INFj')
635 self.assertEqual('{0:f}'.format(complex(-INF, INF)), '-inf+infj')
636 self.assertEqual('{0:F}'.format(complex(-INF, INF)), '-INF+INFj')
637 self.assertEqual('{0:f}'.format(complex(-INF, -INF)), '-inf-infj')
638 self.assertEqual('{0:F}'.format(complex(-INF, -INF)), '-INF-INFj')