Fixed #4485 (False positive: Same expression of '-' when checking if float is inf)