% mantissaTest: Determine length of mantissa.
%
% Written by Paul Chew for CS100M, Feb 2006

n = 1;
while 10^n + 1 ~= 10^n
    fprintf('Mantissa is at least %d decimal digits\n', n);
    n = n + 1;
end
