fix round_even_to bug : static_cast to floor