[Numpy-svn] r8441 - trunk/numpy/core/tests
numpy-svn at scipy.org
numpy-svn at scipy.org
Tue May 25 13:38:56 EDT 2010
Author: charris
Date: 2010-05-25 12:38:56 -0500 (Tue, 25 May 2010)
New Revision: 8441
Modified:
trunk/numpy/core/tests/test_umath.py
Log:
BUG: Make test using np.float96 portable by using np.longdouble instead.
Modified: trunk/numpy/core/tests/test_umath.py
===================================================================
--- trunk/numpy/core/tests/test_umath.py 2010-05-25 17:22:50 UTC (rev 8440)
+++ trunk/numpy/core/tests/test_umath.py 2010-05-25 17:38:56 UTC (rev 8441)
@@ -360,8 +360,8 @@
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):
More information about the Numpy-svn
mailing list