(self)
| 1630 | old_assert_almost_equal(norm(x, ord=3), 12.65, decimal=2) |
| 1631 | |
| 1632 | def test_intmin(self): |
| 1633 | # Non-regression test: p-norm of signed integer would previously do |
| 1634 | # float cast and abs in the wrong order. |
| 1635 | x = np.array([-2 ** 31], dtype=np.int32) |
| 1636 | old_assert_almost_equal(norm(x, ord=3), 2 ** 31, decimal=5) |
| 1637 | |
| 1638 | def test_complex_high_ord(self): |
| 1639 | # gh-4156 |