Re: [Maxima-bugs] [ maxima-Bugs-1407378 ] polarform returns a rectangular expression for float argumen



On 1/16/06, Stavros Macrakis <macrakis at gmail.com> wrote:

> Along these lines, what do we think polarform(1) should return?  The
> reasonable answers are:
>
>       -- 1             (current result)
>       -- %e^0       (simplify the 1* part)
>       -- 1*1          (no good argument for this case, I don't think...)
>       -- 1*%e^0    (no simplification at all to preserve the form)

i'm inclined to say polarform(x) => x for positive real numbers
(and abs(x) exp(%i %pi) for negative reals) ...

the extra %e^0 seems like cruft in this case.

best

robert dodier