Closed tueda closed 6 years ago
A workaround:
FORM 4.1 (Jun 14 2017, v4.1-20131025-356-g541f847) 64-bits Run: Thu Jun 22 12:41:42 2017
S x,xxx;
#$p = 1+1/x;
#$tmp = $p*xxx;
#$c = content_($tmp)/xxx;
#$q = $p/$c;
#message (`$p')/(`$c') = `$q'
~~~(1+x^-1)/(x^-1) = 1+x
.end
Fixed by 68d5cb1fc297b1983b1c228a95b1331073535341.
As far as I understand,
content_
gives an overall factor of an expression such that if the original expression is divided by it then all terms in the quotient have integer coefficients and are without negative powers of symbols. For example,gives
But it doesn't work when the input has a constant term, like
In this case the content should be
1/x
.