[Numpy-discussion] Time for beta1 of NumPy 1.0

Sasha ndarray at mac.com
Fri Jun 30 18:16:27 CDT 2006


On 6/30/06, Travis Oliphant <oliphant at ee.byu.edu> wrote:
> ...
> Yes, this is true, but the auto-generation means that success for one
> instantiation increases the likelihood for success in the others.   So,
> the 26.7% is probably too pessimistic.

Agree, but "increases the likelihood" != "guarantees".  For example,
relying on nan propagation is a fine strategy for the floating point
case, but will not work for integer
types. Similarly code relying on wrap on overflow will fail when type=float.

The best solution would be to autogenerate test cases so that all
types are tested where appropriate.




More information about the Numpy-discussion mailing list