'a+b/c=d' 'c' ISOL c=-b/(a-d) will be returned on the stack Is that the type of thing you're looking for?