Saturday, September 28, 2013

Why sum is not 6 with this parallel algorithm

i do not understanding how floating point be used in for loop


here i follow n = 3 = 2^k where 2 > k > 1 result in Math.Log(n)



n = 3;

for(int h =1; h<=Math.Log(n); ++h)





---v-----!


No comments:

Post a Comment