Unit test error with numpy rc3

Mark Hymers mark at hymers.org.uk
Tue Oct 24 12:39:34 CDT 2006

On Tue, 24, Oct, 2006 at 10:31:30AM -0600, Travis Oliphant spoke thus..
> The basic problem is that the longfloat type is not very 
> cross-platform.   The functionality depends on your C-compiler / 
> platform when a long double is specified as the type.   I suspect it 
> doesn't work well with all compilers.  In particular gcc 3.3 on apple I 
> know has trouble with the long double type.

Ah.  I've just realised that we're using a MacPython build compiled with
gcc-3.3 but our default compiler is 4.0.1.  This could be causing an
issue.  Let me try building the extension with gcc-3.3 and, if I can
find one, upgrading python to a version compiled with 4.0 (I really
don't want to have to do a framework python build from source though).

> Please show us what N.array([1000],dtype=N.longfloat).itemsize is?

Python 2.4.1 (#2, Mar 31 2005, 00:05:10)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1666)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> numpy.__version__
>>> numpy.array([1000],dtype=numpy.longfloat).itemsize



Mark Hymers <mark at hymers dot org dot uk>

"I once absent-mindedly ordered Three Mile Island dressing in a restaurant
 and, with great presence of mind, they brought Thousand Island Dressing and
 a bottle of chili sauce."
     Terry Pratchett, alt.fan.pratchett
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://projects.scipy.org/pipermail/numpy-discussion/attachments/20061024/fec4704b/attachment-0001.bin 
-------------- next part --------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
-------------- next part --------------
Numpy-discussion mailing list
Numpy-discussion at lists.sourceforge.net

More information about the Numpy-discussion mailing list