asksign-p-or-n (was RE: Regression in integration)



The function asksign-p-or-n isn't an orphan, but running the testsuite, it is never called.  
The function simpexpt calls radmabs, and radmabs calls  asksign-p-or-n.  Apparently 
the call to radmabs is involved in the dubious simplification (x^a)^b -> abs(x)^(a*b). 
(See source code comment) Huh--what conditions are checked? 

  (%i9)   (x^a)^b /( abs(x)^(a*b));
  (%o9) (x^a)^b/abs(x)^(a*b)

  (%i10) psubst([a=7,b=3,x=-1],%);
  (%o10) -1

The function simpexpt is 343 lines with 23 calls to go :(

--Barton