Maybe you need a mod() to floor() conversion routine. Then the standard
form would be to use the floor() function.
Rich
On Tue, Jul 28, 2009 at 12:07 AM, Barton Willis <willisb at unk.edu> wrote:
> For real x, atan2(sin(x),cos(x)) = %pi - mod(%pi - x, 2 * %pi) is an
> identity.
> But %pi - mod(%pi - x, 2 * %pi) can be a mess too.
>
> Barton
>
> -----maxima-bounces at math.utexas.edu wrote: -----
>
> >Usually when you see terms like atan2(sin(x),cos(x)), the substantively
> >correct result is x, that is, the analytic continuation of the -%pi < x <
> >%pi case.
>
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>