sympy/sympy — pull request #1242 by smichr (2012-04-16 09:34:53+00:00)
Title: Removed is_zero and change is_negative test to is_nonpositive

For nonpositive args, returning the negated arg will be correct
even if the arg is zero; for nonnegative args, returning the
arg will also be correct if the arg is zero.