return inf_or_unbd status directly