When n < 1, the number of comparisons is zero. When n >= 1, the best-case number of comparisons is one and the worst-case number is n.
n < 1
n >= 1
n