The test CHECKs for `-nan`, but printing the sign is optional. This change removes the sign because it has no meaning.