Dan Connelly wrote:
#macro my_atan(Y,X)Thanks, I will try it and look if it will help.
(((X = 0) & (Y = 0)) ? 0 : atan2(Y,X))
#endRon Parker wrote:
> #macro my_atan2( YY, XX )
> #if (YY = 0 & XX = 0 )
> 0
> #else
> atan2( YY,XX )
> #end
> #end
>
> and use that instead.
-- ------------------------------------------------------------------------------ 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 ------------------------------------------------------------------------------