Remove a bug that results in erroneous calculation when negating zero.