[Numpy-tickets] [NumPy] #433: longdouble on G5 OS X operates incorrectly
NumPy
numpy-tickets at scipy.net
Tue Jan 23 19:48:57 CST 2007
#433: longdouble on G5 OS X operates incorrectly
------------------------+---------------------------------------------------
Reporter: rkern | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: 1.0.2 Release
Component: numpy.core | Version: devel
Severity: normal | Keywords:
------------------------+---------------------------------------------------
As reported by Vincent Nijs:
{{{
Mac OS X 10.4.8
G5 PPC
Numpy svn: 2602
Target: powerpc-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5367.obj~1/src/configure
--disable-checking -enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
--with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib
--build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8
--target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5367)
======================================================================
FAIL: check_large_types (numpy.core.tests.test_scalarmath.test_power)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-
packag
es/numpy/core/tests/test_scalarmath.py", line 46, in check_large_types
assert b == 6765201, "error with %r: got %r" % (t,b)
AssertionError: error with <type 'numpy.float128'>: got 0.0
======================================================================
FAIL: check_types (numpy.core.tests.test_scalarmath.test_types)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-
packag
es/numpy/core/tests/test_scalarmath.py", line 19, in check_types
assert a == 1, "error with %r: got %r" % (atype,a)
AssertionError: error with <type 'numpy.float128'>: got 1.0
----------------------------------------------------------------------
Ran 526 tests in 1.133s
FAILED (failures=2)
}}}
--
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/433>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list