Give a big- $O$ estimate for the number of operations, where an operation is an addition or a multiplication, used in this segment of an algorithm (ignoring comparisons used to test the conditions in the while loop).
$$
\begin{array}{c}{i :=1} \\ {t :=0} \\ {\text { while } i \leq n} \\ {\quad t :=t+i} \\ {i :=2 i}\end{array}
$$