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: aba### [at] neuroinformatikuni-ulmde
Germany URL (privat): http://www.uni-ulm.de/~abaune
------------------------------------------------------------------------------
Post a reply to this message
Attachments:
Download 'us-ascii' (2 KB)
|