May 25, 2006
5:16 a.m.
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