Update negate for floats and ints.