(self)
| 272 | self.assertTrue(math.isnan(math.asinh(NAN))) |
| 273 | |
| 274 | def testAtan(self): |
| 275 | self.assertRaises(TypeError, math.atan) |
| 276 | self.ftest('atan(-1)', math.atan(-1), -math.pi/4) |
| 277 | self.ftest('atan(0)', math.atan(0), 0) |
| 278 | self.ftest('atan(1)', math.atan(1), math.pi/4) |
| 279 | self.ftest('atan(inf)', math.atan(INF), math.pi/2) |
| 280 | self.ftest('atan(-inf)', math.atan(NINF), -math.pi/2) |
| 281 | self.assertTrue(math.isnan(math.atan(NAN))) |
| 282 | |
| 283 | def testAtanh(self): |
| 284 | self.assertRaises(TypeError, math.atan) |
nothing calls this directly
no test coverage detected