summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--numpy/core/tests/test_umath.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/core/tests/test_umath.py b/numpy/core/tests/test_umath.py
index 21ee1a780..023fddb7c 100644
--- a/numpy/core/tests/test_umath.py
+++ b/numpy/core/tests/test_umath.py
@@ -358,7 +358,11 @@ class TestLdexp(TestCase):
assert_almost_equal(ncu.ldexp(2., 3), 16.)
assert_almost_equal(ncu.ldexp(np.array(2., np.float32), np.array(3, np.int16)), 16.)
assert_almost_equal(ncu.ldexp(np.array(2., np.float32), np.array(3, np.int32)), 16.)
+ assert_almost_equal(ncu.ldexp(np.array(2., np.float64), np.array(3, np.int16)), 16.)
assert_almost_equal(ncu.ldexp(np.array(2., np.float64), np.array(3, np.int32)), 16.)
+ assert_almost_equal(ncu.ldexp(np.array(2., np.float96), np.array(3, np.int16)), 16.)
+ assert_almost_equal(ncu.ldexp(np.array(2., np.float96), np.array(3, np.int32)), 16.)
+
class TestMaximum(TestCase):
def test_reduce_complex(self):