class TestClass
{
   private double val;

   public TestClass()
   {   val = 0;
   }

   public void doSomething()
   {
      val = Math.abs(Math.random()*10);
      for (int i = 1; i < 1000000; i++)
      {   val += Math.sqrt(Math.sqrt(Math.abs(Math.log(val*i))));// + i/val;
      }
   }
   public double getVal()
   {  return val;
   }
}

-- MattWalsh - 15 Nov 2004

Topic revision: r1 - 16 Nov 2004 - MattWalsh
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback