remove unnecessary test for nan in negate