sympy/csympy — pull request #182 by sushant-hiray (2014-06-04 06:32:39+00:00)
Title: Fix `pow` to handle negative exponents

@certik I've updated `pow` more or less the way it was in SymPy version, atleast for the case of `Number`
However, in some cases `Mul` gets a negative pow. Currently in case of Mul we just call `power_all_terms`
So I added a check in `power_all_terms`. Can you review if this is the right way to go about it?