fix infinity sign for divide by -0.0