[Numpy-discussion] Test failures on FreeBSD buildbot

Charles R Harris charlesr.harris@gmail....
Tue Jul 28 00:51:02 CDT 2009

On Mon, Jul 27, 2009 at 10:48 PM, David Cournapeau <
david@ar.media.kyoto-u.ac.jp> wrote:

> Charles R Harris wrote:
> >
> > I'd just look at the difference and see if it exceeded some fraction
> > of the expected value. There is the problem of zero, which could be
> > handled in the usual way as diff < abserr + relerr. I think abserr
> > would need to be a new keyword with a default value. Since the relerr
> > is specified by digits you probably need 1/10**digits, but there
> > should be no problem with that. Really, only a multiplication should
> > be needed to determine the precision to x digits.
> Ok, I will have a shot at this.
> > Nan and +/- inf need to be special cased but I haven't thought about
> that.
> They are a constant source of frustration. It is like it defies my
> brain, and I end up doing very stupid things after working for too long
> with nan and inf, especially when complex numbers are involved :)

Yeah, they leave me boggled too. O_o That's why I haven't thought about

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20090727/4dc34b20/attachment-0002.html 

More information about the NumPy-Discussion mailing list