Toggling flags for real integers