Thread Links Date Links
Thread Prev Thread Next Thread Index Date Prev Date Next Date Index

Re: Question on performance



       Dear Marco,

> The problem in your example is not the inlining of the function 
> nan2zero(). The problem is the function call isnan().
> If you replace this function by a "x != x" then you will get a better 
> performance which is close to the runtime without a call of nan2zero().

right, but Arnold's explicitly mentioned a call to isnan(x).

Paul