(self)
| 36 | |
| 37 | class TestCexp: |
| 38 | def test_simple(self): |
| 39 | check = check_complex_value |
| 40 | f = np.exp |
| 41 | |
| 42 | check(f, 1, 0, np.exp(1), 0, False) |
| 43 | check(f, 0, 1, np.cos(1), np.sin(1), False) |
| 44 | |
| 45 | ref = np.exp(1) * complex(np.cos(1), np.sin(1)) |
| 46 | check(f, 1, 1, ref.real, ref.imag, False) |
| 47 | |
| 48 | @platform_skip |
| 49 | def test_special_values(self): |