Add negate() method to numeric types