Saturday, September 28, 2013

Why sum is not 6 with this parallel algorithm

Hrm, this is a different piece of code and it's obviously wrong. Math.Log(3) is ~1.09. Your loop will execute exactly once and that's different from your original h loop which executed 3 times.


No comments:

Post a Comment