Hello,
I would like to post some news so you can see I am still working on some
problems.
I have reported that I have implemented a Complex Mode for $sign. It is possible
to call a function $csign which now gives for Complex symbols and Complex
expressions with MPLUS, MTIMES and MEXPT the answer $complex or $imaginary. The
function works quite well. For real expressions we get the same results as $sign
and the tests in rtest_sign.mac works with $csign too and without errors.
Second, I have stepwise implemented code to give more support and correct
results for the functions abs, cabs, carg, atan2, rectform, ... This works well
too. I have a test file with some hundreds of Complex expressions which give the
correct and expected results. The testfile includes the Complex characteristics
of all six Complex components.
To succeed in doing this I had to modify simpabs, atan2, risplit, absarg,
simpsignum, ...
The last problem is that two test of the testsuite no longer works. That is not
much, but I am searching for the reasons.
One test now ask for the sign of expressions, but gives the expected result. The
other example generate an imaginary expression in $sign and fails. Perhaps these
tests depend on wrong answers for the sign which are now more correct. Perhaps
there has something more fundamental changed. I am searching for the reason.
Dieter Kaiser