[Numpy-discussion] Tests 32/64 bits

Fernando Perez fperez.net@gmail....
Mon Apr 7 20:29:43 CDT 2008


On Mon, Apr 7, 2008 at 4:04 PM, Robert Kern <robert.kern@gmail.com> wrote:

>  >  On 32 bits, 869 are found and on Fedora x86_64, it's 863.  Above is
>  >  the difference (requested by rkern).
>
>  I think this is fine. The different arises because of extra scalar
>  types on the 32 bit system that don't show up on the AMD system,
>  presumably float96 and complex192. Check numpy.sctypes for the
>  difference.


- complex192 isn't on the 64bit box, but complex256 is, so that keeps
the number of tests for that type equal.

- float96 -> float128, again no change in test count

- for some reason, the 32-bit box gives
 'int': [<type 'numpy.int8'>,
         <type 'numpy.int16'>,
         <type 'numpy.int32'>,
         <type 'numpy.int32'>,
         <type 'numpy.int64'>],

so there's a repeated int32 type listed there.  I don't know what that
means, but obviously it produces extra tests (possibly redundant?)

- Same for uint:

 'uint': [<type 'numpy.uint8'>,
          <type 'numpy.uint16'>,
          <type 'numpy.uint32'>,
          <type 'numpy.uint32'>,
          <type 'numpy.uint64'>]}


In any case, other than this minor difference, current numpy SVN
passes all tests on Fedora8/64bit and Ubuntu Gutsy/32bit.

Cheers,

f


More information about the Numpy-discussion mailing list