removing comparisons with floats