Reply To: benchmark test: HaWe brickbench – for C# / Mono?

HomeForumsMonoBrick EV3 Firmwarebenchmark test: HaWe brickbench – for C# / Mono?Reply To: benchmark test: HaWe brickbench – for C# / Mono?

#5263
Author Image
Helmut Wunder
Participant

hi,
would please be someone so kind and test the new benchmark, after replacing the old float-Test
in this test program class

https://github.com/vladru/MonoBrickBench

by the new one?

     static void TestFloatMath() {
         double s = 3.141592;
         int y;

         for (y = 0; y < 1000; ++y) {
            s *= Math.Sqrt(s);     
            s = Math.Sin(s);
            s = Math.Exp(s);
            s *= s;              
         }
         //return s;
      }
Posted in

Make a donation