for i = 1:1000 if prod(1:i) > 1e100 fprintf('%g! = %e > 1e100\n', i, prod(1:i)); break; % 跳出for 迴圈 end end 70! = 1.197857e+100 > 1e100 ...
確定! 回上一頁