Fast conversion of floats to inta