Ad
  • Custom User Avatar

    You have to calculate (Math.Sqrt(Math.Pow(x, 2) + Math.Pow(y, 2) in the beginning many times. Will it be much better if you'll use a double variable for the result for the further checking?