sympy/sympy — pull request #7922 by smichr (2014-08-26 17:46:56+00:00)
Title: process imaginaries to determine whether expr is positive or negative

pairs of imaginary factors change the sign of an expression; detecting these was added to Mul._evalf_is_negative.