On Sat, 21 Jul 2007, Robert Dodier wrote:
> if x > 0 then %pi/4 elseif x < 0 then 5*%pi/4 else 'atan2(x, x)
Why not conform to maple and use the principle value of the argument
between %-pi and %pi as in
if x > 0 then %pi/4 elseif x < 0 then -3*%pi/4 else 'atan2(x, x)
-sen
--
---------------------------------------------------------------------------
| Sheldon E. Newhouse | e-mail: sen1 at math.msu.edu |
| Mathematics Department | |
| Michigan State University | telephone: 517-355-9684 |
| E. Lansing, MI 48824-1027 USA | FAX: 517-432-1562 |
---------------------------------------------------------------------------