[Numpy-discussion] Re: numpy.sin

Alan G Isaac aisaac at american.edu
Thu May 25 12:16:13 EDT 2006


On Thu, 25 May 2006, Robert Kern apparently wrote: 
> But numpy doesn't deal with abstract senses. It deals with 
> concrete floating point arithmetic.

Of course.

> That your demonstration results in the desired exact 0.0 
> for multiples of 2*pi is an accident. The results for 
> values other than integer multiples of pi will be as wrong 
> or more wrong.

It seems that a continuity argument should undermine that as 
a general claim.  Right?

But like I said: I was just wondering if there was anything 
exploitable here.

Thanks,
Alan





More information about the NumPy-Discussion mailing list