On Tue, Jul 20, 2010 at 4:21 PM, Sandro Tosi <mo...@debian.org> wrote: > Hi David, > > On Tue, Jul 20, 2010 at 10:34, David Cournapeau <courn...@gmail.com> wrote: >>> yes, I see it at r8510 >> >> I quickly adapted the code from the Sun math library for the linux ppc >> long double format. Let me know if it works (if possible, you should >> run the test suite). > > thanks for working on it :) > > I checked out numpy at r8511 and built it on powerpc, attached the > buildlog (it crashed at doc generation, but the setup.py build were > done before, and went fine). > > I've python2.x setup.py install --prefix install/ and execute the > tests from there with: > > ~/numpy/install$ PYTHONPATH=lib/python2.6/site-packages/ python2.6 -c > "import numpy; print numpy.test()" &> ../testlog_2.6 > ~/numpy/install$ PYTHONPATH=lib/python2.5/site-packages/ python2.5 -c > "import numpy; print numpy.test()" &> ../testlog_2.5 > > attached the testlogs too: there are a couple of failures.
The failures seem to be related to the long double not conforming to IEEE754 standard on linux ppc. I am not sure how to deal with them - maybe raising a warning if the user uses long double, as its usage will always be flaky on that platform anyway (numpy assumes IEEE 754-like support) David _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion