[Issue 8775] 2.059 worked 2.060 does not: Range Violation
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sun Oct  7 06:14:32 PDT 2012
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=8775
--- Comment #4 from Alex Rønne Petersen <alex at lycus.org> 2012-10-07 15:02:30 CEST ---
FWIW, changing the foreach loop to a for loop makes the code run (presumably
correctly; I didn't actually look at what it's supposed to do).
======================== pi_d_threadsGlobalState_array_iterative.d, task count:
1
    π = 3.141592653589970752
    iteration count = 1000000000
    elapse time = 6.938375
    number of processors = 8
======================== pi_d_threadsGlobalState_array_iterative.d, task count:
2
    π = 3.141592653589901030
    iteration count = 1000000000
    elapse time = 3.563860
    number of processors = 8
======================== pi_d_threadsGlobalState_array_iterative.d, task count:
8
    π = 3.141592653589769135
    iteration count = 1000000000
    elapse time = 1.716047
    number of processors = 8
======================== pi_d_threadsGlobalState_array_iterative.d, task count:
32
    π = 3.141592653589757589
    iteration count = 1000000000
    elapse time = 1.609829
    number of processors = 8
-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
    
    
More information about the Digitalmars-d-bugs
mailing list