def testConversions(self):
    self.assertTypedEquals((- 1), math.trunc(F((- 11), 10)))
    self.assertTypedEquals(1, math.trunc(F(11, 10)))
    self.assertTypedEquals((- 2), math.floor(F((- 11), 10)))
    self.assertTypedEquals((- 1), math.ceil(F((- 11), 10)))
    self.assertTypedEquals((- 1), math.ceil(F((- 10), 10)))
    self.assertTypedEquals((- 1), int(F((- 11), 10)))
    self.assertTypedEquals(0, round(F((- 1), 10)))
    self.assertTypedEquals(0, round(F((- 5), 10)))
    self.assertTypedEquals((- 2), round(F((- 15), 10)))
    self.assertTypedEquals((- 1), round(F((- 7), 10)))
    self.assertEqual(False, bool(F(0, 1)))
    self.assertEqual(True, bool(F(3, 2)))
    self.assertTypedEquals(0.1, float(F(1, 10)))
    self.assertRaises(OverflowError, float, int((('2' * 400) + '7')))
    self.assertAlmostEqual((2.0 / 3), float(F(int((('2' * 400) + '7')), int((('3' * 400) + '1')))))
    self.assertTypedEquals((0.1 + 0j), complex(F(1, 10)))
def testConversions(self):
    self.assertTypedEquals((- 1), math.trunc(F((- 11), 10)))
    self.assertTypedEquals(1, math.trunc(F(11, 10)))
    self.assertTypedEquals((- 2), math.floor(F((- 11), 10)))
    self.assertTypedEquals((- 1), math.ceil(F((- 11), 10)))
    self.assertTypedEquals((- 1), math.ceil(F((- 10), 10)))
    self.assertTypedEquals((- 1), int(F((- 11), 10)))
    self.assertTypedEquals(0, round(F((- 1), 10)))
    self.assertTypedEquals(0, round(F((- 5), 10)))
    self.assertTypedEquals((- 2), round(F((- 15), 10)))
    self.assertTypedEquals((- 1), round(F((- 7), 10)))
    self.assertEqual(False, bool(F(0, 1)))
    self.assertEqual(True, bool(F(3, 2)))
    self.assertTypedEquals(0.1, float(F(1, 10)))
    self.assertRaises(OverflowError, float, int((('2' * 400) + '7')))
    self.assertAlmostEqual((2.0 / 3), float(F(int((('2' * 400) + '7')), int((('3' * 400) + '1')))))
    self.assertTypedEquals((0.1 + 0j), complex(F(1, 10)))