Exemplo n.º 1
0
 public static double PiCrunchParallel(int dummy)
 {
     Parallel.For(0, Environment.ProcessorCount, i => TestImplementations.PiDigits(100));
     return(0.0);
 }
Exemplo n.º 2
0
 public static double PiCrunch(int dummy)
 {
     return(0.0 + TestImplementations.PiDigits(100));
 }