[Numpy-discussion] strange sin/cos performance

Andrew Friedley afriedle at indiana.edu
Tue Aug 4 13:57:05 EDT 2009


Charles R Harris wrote:
> Depends on the CPU, FPU and the compiler flags. The computations could very
> well be done using double precision internally with conversions on
> load/store.

Sure, but if this is the case, why is the performance blowing up on 
larger input values for float32 but not float64?  Both should blow up, 
not just one or the other.  In other words I think they are using 
different implementations :)  Am I missing something?

Andrew



More information about the NumPy-Discussion mailing list