simplification of abs



Am Dienstag, den 28.09.2010, 13:30 -0400 schrieb Stavros Macrakis:
> I'm surprised that log(-1) doesn't simplify to %pi, even with
> domain:complex.

It is possible to get this simplification with the help of of the
evaluation flag lognegint or the function rectform:

(%i1) log(-1),lognegint;
(%o1) %i %pi

(%i2) rectform(log(-1));
(%o2) %i %pi

(%i5)  log(exp(%i*%pi)),lognegint;
(%o5)  %i %pi

But i have thought about an implementation of this special value too.

Remark: The value of the option variable domain does not influence much
of Maxima. Only the exponentiation is handled differently.

Dieter Kaiser