Saturday, March 3, 2007

Matlab Computes the Infinite Loop in 30min

On Matlab Version 7.0.1.24704 (R14) Service Pack 1 on a Linux machine the following infinite loop finishes in about 30min.
s = 0;
for i = 1:inf
s = s + i;
end

boy are the machines fast these days...


PS. In case you wondered: According to Matlab, .

No comments: