I = interval(n)
I = interval(l,r)
I = interval([l,r])
I = interval(n,Precition => prec)
I = interval(l,r,Precition => prec)
I = interval([l,r],Precition => prec)
Returns an interval as small as possible containing n or from l to r. Note that if l is to the right of r, the constructed interval is empty.
The object interval is a method function with options.