(self)
| 31 | |
| 32 | class TestCexp: |
| 33 | def test_simple(self): |
| 34 | check = check_complex_value |
| 35 | f = np.exp |
| 36 | |
| 37 | check(f, 1, 0, np.exp(1), 0, False) |
| 38 | check(f, 0, 1, np.cos(1), np.sin(1), False) |
| 39 | |
| 40 | ref = np.exp(1) * complex(np.cos(1), np.sin(1)) |
| 41 | check(f, 1, 1, ref.real, ref.imag, False) |
| 42 | |
| 43 | @platform_skip |
| 44 | def test_special_values(self): |