integer interval functions