log(-1)



On Mon, Mar 3, 2008 at 9:28 AM, Robert Marik <marik at mendelu.cz> wrote:
>  (%i7) float(log(-1)^2);
>  (%o7)                         - 9.869604401089358
>
>  This seems to be incorrect, isn't it?

No, it is correct.  log(-1) = %i*%pi.  (%i*%pi)^2 = - %pi^2 float=> -9.86.

           -s