Implicit conversion from float -16.640625 to int loses precision