[Numpy-discussion] Test failures on FreeBSD buildbot
Charles R Harris
Tue Jul 28 00:51:02 CDT 2009
On Mon, Jul 27, 2009 at 10:48 PM, David Cournapeau <
> 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
> 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...
More information about the NumPy-Discussion