Small correction. Actually, scanfactorpower( sqrt(30)/sqrt(35) ) => sqrt(2)*sqrt(3)*sqrt(7)/7 (I left the example in though I'd changed the code...) sqrt(30)/sqrt(35) doesn't simplify at all in the current General Simplifier and ratsimp(xxx),algebraic gives sqrt(30)*sqrt(35)/35 -s