format compact, format long e

k=0; u=1;
while(u+1>1)
    u=0.5*u;
    k=k+1; 
end
k,u