Dan Connelly wrote:
#macro my_atan(Y,X)
  (((X = 0) & (Y = 0)) ? 0 : atan2(Y,X))
#end

Ron Parker wrote:

> #macro my_atan2( YY, XX )
>   #if (YY = 0 & XX = 0 )
>     0
>   #else
>     atan2( YY,XX )
>   #end
> #end
>
> and use that instead.
 

Thanks, I will try it and look if it will help.
 
-- 
------------------------------------------------------------------------------
Axel Baune                                            Phone:  +49 731 502 4242 
Department of Neural Information Processing             Fax:  +49 731 502 4156
University of Ulm                                      
89069 Ulm                            email: abaune@neuro.informatik.uni-ulm.de
Germany                            URL (privat): http://www.uni-ulm.de/~abaune
------------------------------------------------------------------------------