(self)
| 314 | self.assertTrue(math.isnan(math.atan(NAN))) |
| 315 | |
| 316 | def testAtanh(self): |
| 317 | self.assertRaises(TypeError, math.atan) |
| 318 | self.ftest('atanh(0)', math.atanh(0), 0) |
| 319 | self.ftest('atanh(0.5)', math.atanh(0.5), 0.54930614433405489) |
| 320 | self.ftest('atanh(-0.5)', math.atanh(-0.5), -0.54930614433405489) |
| 321 | self.assertRaises(ValueError, math.atanh, 1) |
| 322 | self.assertRaises(ValueError, math.atanh, -1) |
| 323 | self.assertRaises(ValueError, math.atanh, INF) |
| 324 | self.assertRaises(ValueError, math.atanh, NINF) |
| 325 | self.assertTrue(math.isnan(math.atanh(NAN))) |
| 326 | |
| 327 | def testAtan2(self): |
| 328 | self.assertRaises(TypeError, math.atan2) |
nothing calls this directly
no test coverage detected