Fast method to round double to 32bit int explained · HackerTrans