Re: [Maxima-bugs] [ maxima-Bugs-1407378 ] polarform returns a rectangular expression for float argumen
Subject: Re: [Maxima-bugs] [ maxima-Bugs-1407378 ] polarform returns a rectangular expression for float argumen
From: Stavros Macrakis
Date: Mon, 16 Jan 2006 14:43:58 -0500
>
> >> polarform (1.0 + %i); =3D> 1.414213562373095 (.7071067811865475=
%i
> + .7071067811865476)
it's nice that exp(1.0*%i) gets evalutated numerically, but we don't
> want this to happen in polarform.
>
Polarform tries to prevent this sort of simplification by explicitly adding
a simp flag. You can test whether the simp flag is being ignored by
constructing the expression yourself:
?list(?list(?mexpt,?simp),%e,0.78*%i)