diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2010-05-25 17:38:56 +0000 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2010-05-25 17:38:56 +0000 |
commit | b056b23a27fe4f56f923168bb9931429765084d1 (patch) | |
tree | b22bfd779002678621070bd4ee2ba596b7fb3edf /numpy | |
parent | 8a39c1f7d54d25504162464184d6cb8a2478d99b (diff) | |
download | numpy-b056b23a27fe4f56f923168bb9931429765084d1.tar.gz |
BUG: Make test using np.float96 portable by using np.longdouble instead.
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/tests/test_umath.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/tests/test_umath.py b/numpy/core/tests/test_umath.py index 023fddb7c..6fcb2dcf0 100644 --- a/numpy/core/tests/test_umath.py +++ b/numpy/core/tests/test_umath.py @@ -360,8 +360,8 @@ class TestLdexp(TestCase): 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.) + assert_almost_equal(ncu.ldexp(np.array(2., np.longdouble), np.array(3, np.int16)), 16.) + assert_almost_equal(ncu.ldexp(np.array(2., np.longdouble), np.array(3, np.int32)), 16.) class TestMaximum(TestCase): |