integer comparison is exact enough