(self)
| 1535 | old_assert_almost_equal(norm(x, ord=3), 12.65, decimal=2) |
| 1536 | |
| 1537 | def test_intmin(self): |
| 1538 | # Non-regression test: p-norm of signed integer would previously do |
| 1539 | # float cast and abs in the wrong order. |
| 1540 | x = np.array([-2 ** 31], dtype=np.int32) |
| 1541 | old_assert_almost_equal(norm(x, ord=3), 2 ** 31, decimal=5) |
| 1542 | |
| 1543 | def test_complex_high_ord(self): |
| 1544 | # gh-4156 |