Microsoft Forum
Saturday, September 28, 2013
Why sum is not 6 with this parallel algorithm
I ran your code and stepped through it and it seems that this equation "n / Math.Pow(2, h)" will always be less than one
Edit: Except the first iteration the result is 1.5
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment