~gabriel1984sibiu/maxima/trunk

Viewing all changes in revision 9877.

  • Committer: Kris Katterjohn
  • Date: 2015-06-27 18:34:14 UTC
  • Revision ID: git-v1:bdf4de82da761f2f9f8a5df81d33afab436a7130
Fix bug #2230: abs(x)^(2*int) doesn't simplify

Now the following (and similar) work:

(%i1) declare(n,integer,e,even)$

(%i2) abs(x)^(2*n);
(%o2) x^(2*n)

(%i3) abs(x)^e;
(%o3) x^e

(%i4) abs(x)^(2*floor(z));
(%o4) x^(2*floor(z))

The test suite runs fine, with new tests.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: