sympy/sympy — pull request #1852 by skirpichev (2013-03-01 15:50:13+00:00)
Title: Fix calculation sign() of Mul, see issue 3677

This patch also includes missing tests for issue 847.