Round a float to an int:
i = round f;
Round a float to an int, II:
i = float::to_int ieee_float::TO_NEAREST f;